Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-873

Maven-Assembly-Plugin freezes when building jar-with-dependencies of project depending on org.bouncycastle:bcprov-jdk15on:1.58

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Maven 3.5.2, Java 8u151 (32-bit) as well as 9.0 (64-bit), Windows 10

      Description

      To reproduce:

      1. Create a new directory
      2. Add attached pom.xml (no other sources required to reproduce; in real world you would add some source that uses BouncyCastle lib, too).
      3. Run mvn package

      Actual result:

      Maven hangs after

      [INFO] Building jar: C:\Daten\Eigenes\svn\iota\hang\target\bug-1.0-SNAPSHOT-jar-with-dependencies.jar

      , consuming one CPU core.

      Expected result:

      Maven builds a package containing no own source and the dependency (bouncycastle)

      Workaround:

      In maven local repository, edit the .jar file of BouncyCastle and remove the `META-INF\BC*` files. Then the package can be built again. So it seems to be caused somehow by verifying signed jar files.

        Attachments

        1. pom.xml
          1 kB
          Michael Schierl

          Issue Links

            Activity

              People

              • Assignee:
                eolivelli Enrico Olivelli
                Reporter:
                schierlm Michael Schierl
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: