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

multiproject with assembly fails in mysterious ways

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 2.1
    • None
    • None
    • None

    Description

      The attached project has a (very simple) multiproject build.

      If you edit the root pom.xml and comment out project2, then "mvn install" will execute correctly and build and assemble the jar files, and deploy them to the local repo.

      If you have both project1 and project2, then something odd happens - it fails building the package for item1, but the error report is that there is a missing dependency for item2's package - which it hasn't built yet.

      This means that 'root level' builds for us can't be executed from a clean system as they always fall over.

      Attachments

        1. bug.zip
          5 kB
          nigel magnay
        2. bug-assembly-2.0.1.zip
          4 kB
        3. bug-assembly-2.1-SNAPSHOT.zip
          4 kB

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              magnayn nigel magnay
              Votes:
              13 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: