camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11779) spi-annotations-2.19.3.jar, camel-core-2.19.3.jar define 7 overlapping classes
Date Mon, 18 Sep 2017 09:59:00 GMT

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

Hendy Irawan commented on CAMEL-11779:
--------------------------------------

But if that's also true, why end applications need to depend on spi-annotations ?

You should mark it, say, optional=true. So that camel-core can still depend on it but does
not make it transitive to the users (apps) of camel.

> 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)

Mime
View raw message