This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cc771b74cd7349bf71feba1aa320de7c31e9a7e6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Jun 18 10:09:21 2019 +0200

    CAMEL-13373: camel-stax - FileInputStream not closed. Thanks to 
https://github.com/asirbu2002 for the PR.
---
 components/camel-stax/pom.xml                            | 3 ++-
 parent/pom.xml                                           | 2 ++
 platforms/karaf/features/src/main/resources/features.xml | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/components/camel-stax/pom.xml b/components/camel-stax/pom.xml
index 6fd1b60..7fdb17b 100644
--- a/components/camel-stax/pom.xml
+++ b/components/camel-stax/pom.xml
@@ -44,8 +44,9 @@
         <dependency>
             <groupId>com.fasterxml.woodstox</groupId>
             <artifactId>woodstox-core</artifactId>
-            <version>5.1.0</version>
+            <version>${woodstox-core-version}</version>
         </dependency>
+        
         <!-- test dependencies -->
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/parent/pom.xml b/parent/pom.xml
index 73c61f9..fdd758a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -663,6 +663,7 @@
         <swagger-ui-version>2.2.10</swagger-ui-version>
         <stax-api-version>1.0.1</stax-api-version>
         <stax2-api-bundle-version>3.1.4</stax2-api-bundle-version>
+        <stax2v4-api-bundle-version>4.2</stax2v4-api-bundle-version>
         <stringtemplate-bundle-version>4.0.8_1</stringtemplate-bundle-version>
         <stringtemplate-version>4.0.8</stringtemplate-version>
         <tagsoup-bundle-version>1.2.1_1</tagsoup-bundle-version>
@@ -693,6 +694,7 @@
         <werken-xpath-bundle-version>0.9.4_5</werken-xpath-bundle-version>
         <wiremock-version>2.23.2</wiremock-version>
         <woodstox-version>4.4.1</woodstox-version>
+        <woodstox-core-version>5.2.1</woodstox-core-version>
         
<ws-commons-util-bundle-version>1.0.2_2</ws-commons-util-bundle-version>
         <wsdl4j-bundle-version>1.6.3_1</wsdl4j-bundle-version>
         <wsdl4j-version>1.6.3</wsdl4j-version>
diff --git a/platforms/karaf/features/src/main/resources/features.xml 
b/platforms/karaf/features/src/main/resources/features.xml
index ea98587..a7b1ea2 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -2422,6 +2422,8 @@
   </feature>
   <feature name='camel-stax' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
+    <bundle 
dependency='true'>mvn:com.fasterxml.woodstox/woodstox-core/${woodstox-core-version}</bundle>
+    
<bundle>mvn:org.codehaus.woodstox/stax2-api/${stax2v4-api-bundle-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-stax/${project.version}</bundle>
   </feature>
   <feature name='camel-stream' version='${project.version}' start-level='50'>

Reply via email to