[ 
http://jira.codehaus.org/browse/MNG-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189955#action_189955
 ] 

Brett Porter commented on MNG-4330:
-----------------------------------

this is best achieved with a profile for now

> to be able to run a plugin in a given phase when the build will include a 
> given phase
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-4330
>                 URL: http://jira.codehaus.org/browse/MNG-4330
>             Project: Maven 2
>          Issue Type: New Feature
>    Affects Versions: 2.0.10
>            Reporter: Claus Brøndby Reimer
>
> Hi Maven Team
> Recently I developed a plugin checking whether the local project files were 
> upto date with the files in the repository.
>  
> My plan was to add this plugin to the build cycle and do this check 
> automatically whenever deploy were executed - but this seems to be impossible 
> at moment.
> What i would like, is something like this.
> <plugin>
>     <groupId>dk.fujitsu.mavenplugins</groupId>
>     <artifactId>svn</artifactId>
>     <version>1.0-SNAPSHOT</version>
>     <executions>
>         <execution>
>             <phase>validate</phase>
>           <buildPhase>deploy</buildPhase>
>             <goals>
>               <goal>uptodate-check</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>  
> if the build will execute deploy (buildPhase) then it should execute 
> uptodate-check in the validate phase 
> Best regards
> Claus Reimer

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


Reply via email to