Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1878

Bad warning from 'maven-shade-plugin' when creating the 'apacheds-service' jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M14
    • Fix Version/s: 2.0.0.AM26
    • Component/s: build
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pamarcelot Pierre-Arnaud Marcelot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: