You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petar Tahchiev (JIRA)" <ji...@codehaus.org> on 2008/08/29 17:18:48 UTC
[jira] Updated: (MASSEMBLY-287) Unable to pass -DskipAssembly=true
through the command line to skip the assembly plugin.
[ http://jira.codehaus.org/browse/MASSEMBLY-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petar Tahchiev updated MASSEMBLY-287:
-------------------------------------
Attachment: massembly-287-source.txt
This is a patch that first extracts the executionProperties from the session and then checks if the skipAssembly property is set there.
IMPORTANT!!!
This patch should be applied once the MASSEMBLY-331 issue has been resolved and its patches have been applied.
HTH, Petar.
> Unable to pass -DskipAssembly=true through the command line to skip the assembly plugin.
> ----------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-287
> URL: http://jira.codehaus.org/browse/MASSEMBLY-287
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-2
> Reporter: Denis Sadowski
> Attachments: massembly-287-source.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira