Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-126

Running shade twice without clean leads to warnings and errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.7.1
    • None
    • None

    Description

      Frequently, when I run a build without 'clean', I get a torrent of unwanted 'duplicate symbol' errors from shade. More recently, when I did the same for a build that includes some shading that combines files from META-INF, this turned into a fatal error.

      I've managed to produce a repro with maven 3.0.4. Just run 'mvn install' twice in a row to reproduce this. The impression it gives is that, somehow, the shaded jar from the previous build is used as the input, instead of a new jar built from scratch this time around.

      Attachments

        1. shade.boom.log
          1.16 MB
          Benson Margulies
        2. epom.xml
          65 kB
          Benson Margulies
        3. shade-error.tgz
          2 kB
          Benson Margulies

        Activity

          People

            Unassigned Unassigned
            bmargulies Benson Margulies
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: