[ 
https://issues.apache.org/jira/browse/CAMEL-14621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047047#comment-17047047
 ] 

David J. M. Karlsen commented on CAMEL-14621:
---------------------------------------------

+1.
That's a bit of exclude-pain going on in my pom's.
Also - I think it's good to move to jakarta.* based dependencies rather than 
javax.* etc - since the community seems to go in that direction.

> Camel-spring-boot-starters have unnecessary JAX-B and JAX-WS dependencies on 
> Java 11
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-14621
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14621
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot-starters
>    Affects Versions: 3.1.0
>            Reporter: Pascal Schumacher
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> In Version 3.1.0 every camel-spring-boot-starter has (a lot) of unnecessary 
> JAX-B and JAX-WS dependencies when used with Java 11. E.g.:
> {noformat}
> [INFO] +- 
> org.apache.camel.springboot:camel-micrometer-starter:jar:3.1.0:compile
> [INFO] |  +- org.apache.camel:camel-micrometer:jar:3.1.0:compile
> [INFO] |  +- 
> org.apache.camel.springboot:camel-spring-boot-starter:jar:3.1.0:compile
> [INFO] |  +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
> [INFO] |  +- javax.xml.ws:jaxws-api:jar:2.3.1:compile
> [INFO] |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
> [INFO] |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
> [INFO] |  +- 
> org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.3:compile
> [INFO] |  +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.5.1:compile
> [INFO] |  |  +- jakarta.xml.soap:jakarta.xml.soap-api:jar:1.4.1:compile
> [INFO] |  |  \- org.jvnet.mimepull:mimepull:jar:1.9.12:compile
> [INFO] |  +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
> [INFO] |  +- 
> org.jboss.spec.javax.rmi:jboss-rmi-api_1.0_spec:jar:1.0.6.Final:compile
> [INFO] |  +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
> [INFO] |  |  +- org.glassfish.jaxb:txw2:jar:2.3.2:compile
> [INFO] |  |  +- com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
> [INFO] |  |  +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile
> [INFO] |  |  \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
> [INFO] |  \- javax.xml.soap:javax.xml.soap-api:jar:1.4.0:compile
> {noformat}
> It is the same for other starters.
> I think the cause is that the Java9+ profile of the camel-spring-boot/pom.xml 
> (see: 
> https://github.com/apache/camel-spring-boot/blob/5c8d1e30fe8df62382a264def38c9d827bd8cfb9/pom.xml#L765)
>  which is an ancestor of every camel-spring-boot-stater adds the JAX-WS and 
> JAX-B dependencies.
> This wasn't the case in Camel 3.0.1/3.0.0/2.24.0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to