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

maven fails when packing parent pom

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-3
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows Vista

      Description

      I have a parent module and multiple sub modules. I must build all submodules manually, because the parent assembly cannot be created.

      I have defined the assembly plugin in the parent.

      [INFO] [assembly:single

      {execution: make-assembly}

      ]
      [WARNING] Cannot include project artifact: org.foo.bar:j2se:pom:1
      .0.2-SNAPSHOT; it doesn't have an associated file or directory.
      [INFO]
      ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Failed to create assembly: Error creating assembly archive
      jar-with-dependencies: You must set at least one file.

      In previous releases it was working.

        Attachments

          Activity

            People

            • Assignee:
              jdcasey John Dennis Casey
              Reporter:
              k_o_ Karsten Ohme
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: