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

Unable to pass -DskipAssembly=true through the command line to skip the assembly plugin.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-2
    • 2.2-beta-3
    • None
    • None

    Description

      Configured my assembly plugin as follows:

      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
      <descriptors>
      <descriptor> target/classes/maven/assembly/assembly.xml</descriptor>
      </descriptors>
      </configuration>
      <executions>
      <execution>
      <id>make-assembly</id>
      <phase>package</phase>
      <goals>
      <goal>attached</goal>
      </goals>
      </execution>
      </executions>
      </plugin>

      I want to skip running this assembly plugin, so I attempted to use the -DskipAssembly=true command line parameter to no avail, the plugin still runs.

      I am however able to change other parameters through the command line, such as -DappendAssemblyId=false, and the change is picked up.

      Attachments

        1. massemby287.zip
          2 kB
          Petar Tahchiev
        2. massembly-287-source.txt
          2 kB
          Petar Tahchiev

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              dsadowsk Denis Sadowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: