[
https://issues.apache.org/jira/browse/CAMEL-11779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169829#comment-16169829
]
Claus Ibsen commented on CAMEL-11779:
-------------------------------------
They are not transitive, look at the pom on maven central
https://repo1.maven.org/maven2/org/apache/camel/camel-core/2.19.3/camel-core-2.19.3.pom
And the maven tree of an example is
{code}
davsclaus:/Users/davsclaus/workspace/camel/examples/camel-example-console
(master)/$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Example :: Console 2.20.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @
camel-example-console ---
[INFO] org.apache.camel.example:camel-example-console:jar:2.20.0-SNAPSHOT
[INFO] +- org.apache.camel:camel-core:jar:2.20.0-SNAPSHOT:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.22:compile
[INFO] +- org.apache.camel:camel-spring:jar:2.20.0-SNAPSHOT:compile
[INFO] | +- org.springframework:spring-core:jar:4.3.11.RELEASE:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.11.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:4.3.11.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.3.11.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:4.3.11.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:4.3.11.RELEASE:compile
[INFO] +- org.apache.camel:camel-stream:jar:2.20.0-SNAPSHOT:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.8.2:runtime
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.8.2:runtime
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.8.2:runtime
[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] \- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{code}
> spi-annotations-2.19.3.jar, camel-core-2.19.3.jar define 7 overlapping classes
> ------------------------------------------------------------------------------
>
> Key: CAMEL-11779
> URL: https://issues.apache.org/jira/browse/CAMEL-11779
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.19.3
> Reporter: Hendy Irawan
> Assignee: Claus Ibsen
> Priority: Trivial
> Fix For: 2.20.0
>
>
> {noformat}
> [WARNING] spi-annotations-2.19.3.jar, camel-core-2.19.3.jar define 7
> overlapping classes:
> [WARNING] - org.apache.camel.spi.UriParam
> [WARNING] - org.apache.camel.spi.UriEndpoint
> [WARNING] - org.apache.camel.spi.UriParams
> [WARNING] - org.apache.camel.spi.UriPath
> [WARNING] - org.apache.camel.spi.AsPredicate
> [WARNING] - org.apache.camel.spi.AsEndpointUri
> [WARNING] - org.apache.camel.spi.Metadata
> [WARNING] maven-shade-plugin has detected that some class files are
> [WARNING] present in two or more JARs. When this happens, only one
> [WARNING] single version of the class is copied to the uber jar.
> {noformat}
> While harmless, it'd be appreciated if there's no duplication, so there's no
> warning and saves space (in unshaded builds).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)