Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-522

Maven build warning about an overlapping class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • Tools
    • None

    Description

      [INFO] Minimizing jar org.apache.mnemonic:mnemonic-sys-vmem-service:jar:0.12.0-SNAPSHOT
      [WARNING] mnemonic-core-0.12.0-SNAPSHOT.jar, commons-resgc-0.8.17.jar define 1 overlapping classes:
      [WARNING]   - org.flowcomputing.commons.resgc.ReclaimContext
      [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.
      [WARNING] Usually this is not harmful and you can skip these warnings,
      [WARNING] otherwise try to manually exclude artifacts based on
      [WARNING] mvn dependency:tree -Ddetail=true and the above output.
      [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
      [INFO] Minimized 897 -> 89 (9%)
      [INFO] Attaching shaded artifact.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qichfan Gordon King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: