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/15 00:10:57 UTC

[jira] Created: (MNG-3322) Skip phase

Skip phase
----------

                 Key: MNG-3322
                 URL: http://jira.codehaus.org/browse/MNG-3322
             Project: Maven 2
          Issue Type: New Feature
          Components: Command Line
    Affects Versions: 2.0.8
            Reporter: Paul Gier


It would be helpful to be able to skip certain phases of execution.  Similar to the way that the tests can be skipped with "maven.test.skip".
I would like this to be generalized to skip any phase, so you could have something like:

mvn -Dskip.phase=test-compile,process-test-classes,test

All plugins in each of the phases in the comma separated list would be skipped during the build process.

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

        

[jira] Commented: (MNG-3322) Skip phase

Posted by "Henning Vogt (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MNG-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285113#comment-285113 ] 

Henning Vogt commented on MNG-3322:
-----------------------------------

This seems to be partly possible now, at least a workaround is possible:
  <plugin>
    <artifactId>some-plugin</artifactId>
    <executions>
      <execution>
        <phase>skip</phase>
      </execution>
     </executions>
  </plugin>

=> Thus you can skip complete phases for example in module projects.

> Skip phase
> ----------
>
>                 Key: MNG-3322
>                 URL: https://jira.codehaus.org/browse/MNG-3322
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 2.0.8
>            Reporter: Paul Gier
>             Fix For: Issues to be reviewed for 3.x
>
>
> It would be helpful to be able to skip certain phases of execution.  Similar to the way that the tests can be skipped with "maven.test.skip".
> I would like this to be generalized to skip any phase, so you could have something like:
> mvn -Dskip.phase=test-compile,process-test-classes,test
> All plugins in each of the phases in the comma separated list would be skipped during the build process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3322) Skip phase

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3322:
------------------------------

    Fix Version/s: 2.x

> Skip phase
> ----------
>
>                 Key: MNG-3322
>                 URL: http://jira.codehaus.org/browse/MNG-3322
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 2.0.8
>            Reporter: Paul Gier
>             Fix For: 2.x
>
>
> It would be helpful to be able to skip certain phases of execution.  Similar to the way that the tests can be skipped with "maven.test.skip".
> I would like this to be generalized to skip any phase, so you could have something like:
> mvn -Dskip.phase=test-compile,process-test-classes,test
> All plugins in each of the phases in the comma separated list would be skipped during the build process.

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