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

project artifact included in dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-1
    • None
    • None

    Description

      The dependency set for a war packaged project includes the final war file into the dependencies. There is no way to exclude it.

      The attached zip file shows a project which exibits this behavior.

      The final zip contains the following structure:

      foo/pom.xml
      foo/lib
      foo/lib/commons-logging-1.0.4.jar
      foo/lib/foo.war
      foo/src
      foo/src/assembly
      foo/src/assembly/bin.xml
      foo/src/main

      and several source files (left them out for brevity). Please note that the assembly includes the final war file in the lib directory, where it doesn't belong. Also note that the servlet api dependency is not included (see other issue).

      Attachments

        1. foo.zip
          3 kB
          Martijn Dashorst

        Activity

          People

            jdcasey John Dennis Casey
            dashorst Martijn Dashorst
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: