You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2007/12/14 23:47:57 UTC

[jira] Commented: (MNG-3321) Skip plugin and/or execution

    [ http://jira.codehaus.org/browse/MNG-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116875 ] 

Paul Gier commented on MNG-3321:
--------------------------------

Additionally, maybe multiple plugins could be skipped by passing a comma separated list.  Like this:

mvn -Dskip.plugins=org.apache.maven.plugins:maven-surefire-plugin,org.apache.maven.plugins:maven-jar-plugin install

The same syntax could be applied to skipping individual executions.

> Skip plugin and/or execution
> ----------------------------
>
>                 Key: MNG-3321
>                 URL: http://jira.codehaus.org/browse/MNG-3321
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 2.0.8
>            Reporter: Paul Gier
>
> Add ability to skip the execution of certain plugins.  From the command line this could look something like:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin install {code}
> Also useful would be the ability to skip individual executions of a plugin.  For example, if the surefire plugin had two executions defined as "ex1" and "ex2", you could do something like this:
> {code} mvn -Dskip.plugin:org.apache.maven.plugins:maven-surefire-plugin:ex1 install {code}
> This would skip ex1 but still run ex2.

-- 
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