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

dependencySets not allowed within binaries tag

    XMLWordPrintableJSON

Details

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

    Description

      On http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html we've got
      <assembly>
      ...
      <moduleSets>
      <moduleSet>
      ....
      <binaries>
      <dependencySets>
      <dependencySet>
      ....

      But i've got an error if i do that :

      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error reading descriptor

      Embedded error: Unrecognised tag: 'dependencySets' (position: START_TAG seen ...
      </unpack>\r\n <dependencySets>... @18:33)

      I've got no way to specify scope of the dependencies i want to include because

      ...
      <includeDependencies>false</includeDependencies>
      <dependencySets>
      <dependencySet>
      <scope>system</scope>
      </dependencySet>
      </dependencySets>
      ...

      Does not work

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            maurice Maurice Montgénie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: