You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/14 23:10:00 UTC

[jira] [Updated] (DIRSERVER-1878) Bad warning from 'maven-shade-plugin' when creating the 'apacheds-service' jar

     [ https://issues.apache.org/jira/browse/DIRSERVER-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1878:
-----------------------------------------
    Component/s: build

> Bad warning from 'maven-shade-plugin' when creating the 'apacheds-service' jar
> ------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1878
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1878
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.0-M14
>            Reporter: Pierre-Arnaud Marcelot
>            Priority: Major
>             Fix For: 2.0.0.AM26
>
>
> The 'maven-shade-plugin' reports a bad warning when creating the 'apacheds-service' jar:
> [WARNING] apacheds-protocol-kerberos-2.0.0-M15-SNAPSHOT.jar, apacheds-kerberos-codec-2.0.0-M15-SNAPSHOT.jar define 2 overlappping classes: 
> [WARNING]   - org.apache.directory.server.kerberos.protocol.codec.KerberosDecoder
> [WARNING]   - org.apache.directory.server.kerberos.protocol.codec.KerberosEncoder
> [WARNING] maven-shade-plugin has detected that some .class files
> [WARNING] are present in two or more JARs. When this happens, only
> [WARNING] one single version of the class is copied in the uberjar.
> [WARNING] Usually this is not harmful and you can skeep these
> [WARNING] warnings, otherwise try to manually exclude artifacts
> [WARNING] based on mvn dependency:tree -Ddetail=true and the above
> [WARNING] output
> [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org