directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1878) Bad warning from 'maven-shade-plugin' when creating the 'apacheds-service' jar
Date Mon, 29 Jul 2013 15:09:49 GMT

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

Pierre-Arnaud Marcelot commented on DIRSERVER-1878:
---------------------------------------------------

Here's the complete output of the build for the 'apacheds-service' project:
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS All 2.0.0-M15-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ apacheds-all ---
[INFO] Deleting /Users/pajbam/Development/Apache/trunks/apacheds/all/target
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ apacheds-all ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apacheds-all ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/pajbam/Development/Apache/trunks/apacheds/all/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apacheds-all ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apacheds-all
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/pajbam/Development/Apache/trunks/apacheds/all/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apacheds-all ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ apacheds-all ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apacheds-all ---
[INFO] Building jar: /Users/pajbam/Development/Apache/trunks/apacheds/all/target/apacheds-all-2.0.0-M15-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ apacheds-all ---
[INFO] 
[INFO] --- maven-shade-plugin:2.1:shade (default) @ apacheds-all ---
[INFO] Including org.apache.directory.server:apacheds-core:jar:2.0.0-M15-SNAPSHOT in the shaded
jar.
[INFO] Including org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15-SNAPSHOT in the shaded
jar.
[INFO] Including org.apache.directory.server:apacheds-core-shared:jar:2.0.0-M15-SNAPSHOT in
the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-admin:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-authn:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-authz:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-changelog:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-collective:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-event:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-exception:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-journal:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-normalization:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-operational:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-referral:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-schema:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-subtree:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptors-trigger:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-trigger:jar:1.0.0-M20-SNAPSHOT in
the shaded jar.
[INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-model:jar:1.0.0-M20-SNAPSHOT in the shaded
jar.
[INFO] Including antlr:antlr:jar:2.7.7 in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.api:api-util:jar:1.0.0-M20-SNAPSHOT in the shaded jar.
[INFO] Including bouncycastle:bcprov-jdk15:jar:140 in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-core-annotations:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including commons-io:commons-io:jar:2.4 in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-core-api:jar:2.0.0-M15-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.api:api-i18n:jar:1.0.0-M20-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.directory.api:api-asn1-api:jar:1.0.0-M20-SNAPSHOT in the shaded
jar.
[INFO] Including org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including commons-pool:commons-pool:jar:1.6 in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.mina:mina-core:jar:2.0.7 in the shaded jar.
[INFO] Including net.sf.ehcache:ehcache-core:jar:2.4.4 in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-core-avl:jar:2.0.0-M15-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.server:apacheds-core-constants:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-core-jndi:jar:2.0.0-M15-SNAPSHOT in
the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-interceptor-kerberos:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.jdbm:apacheds-jdbm1:bundle:2.0.0-M2 in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-jdbm-partition:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-asn1-ber:jar:1.0.0-M20-SNAPSHOT in the shaded
jar.
[INFO] Including org.apache.directory.server:apacheds-ldif-partition:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-dhcp:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-dns:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-kerberos:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-ldap:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-codec-api:jar:1.0.0-M20-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-codec:jar:1.0.0-M20-SNAPSHOT in
the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-extras-sp:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-ntp:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-protocol-shared:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-server-annotations:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-server-config:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-server-jndi:jar:2.0.0-M15-SNAPSHOT in
the shaded jar.
[INFO] Including org.apache.directory.server:apacheds-test-framework:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-codec-standalone:jar:1.0.0-M20-SNAPSHOT
in the shaded jar.
[INFO] Including org.apache.directory.api:api-ldap-net-mina:jar:1.0.0-M20-SNAPSHOT in the
shaded jar.
[INFO] Including org.apache.directory.server:apacheds-xdbm-partition:jar:2.0.0-M15-SNAPSHOT
in the shaded jar.
[INFO] Including commons-collections:commons-collections:jar:3.2.1 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.7.5 in the shaded 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
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /Users/pajbam/Development/Apache/trunks/apacheds/all/target/apacheds-all-2.0.0-M15-SNAPSHOT.jar
with /Users/pajbam/Development/Apache/trunks/apacheds/all/target/apacheds-all-2.0.0-M15-SNAPSHOT-shaded.jar
[INFO] Dependency-reduced POM written at: /Users/pajbam/Development/Apache/trunks/apacheds/all/dependency-reduced-pom.xml
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ apacheds-all ---
[INFO] Checking legal files in: apacheds-all-2.0.0-M15-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ apacheds-all ---
[INFO] Installing /Users/pajbam/Development/Apache/trunks/apacheds/all/target/apacheds-all-2.0.0-M15-SNAPSHOT.jar
to /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M15-SNAPSHOT/apacheds-all-2.0.0-M15-SNAPSHOT.jar
[INFO] Installing /Users/pajbam/Development/Apache/trunks/apacheds/all/dependency-reduced-pom.xml
to /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M15-SNAPSHOT/apacheds-all-2.0.0-M15-SNAPSHOT.pom
[INFO]                                 
                
> 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
>    Affects Versions: 2.0.0-M14
>            Reporter: Pierre-Arnaud Marcelot
>             Fix For: 2.0.0-RC1
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message