[ http://jira.codehaus.org/browse/MASSEMBLY-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-287. -------------------------------- Assignee: John Casey Resolution: Fixed Fix Version/s: 2.2-beta-3 Petar, Actually, we can fix this using the plugin-parameter annotation: {noformat} /** * @parameter expression="${skipAssembly}" default-value="false" */ private boolean skipAssembly; {noformat} I did apply your integration-test patch, though. Thanks. > 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 > Assignee: John Casey > Fix For: 2.2-beta-3 > > Attachments: massembly-287-source.txt, massemby287.zip > > > 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