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

maven fails when packing parent pom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2-beta-3
    • 2.2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: