[
http://jira.codehaus.org/browse/MNG-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189105#action_189105
]
Claus Brøndby Reimer commented on MNG-4330:
-------------------------------------------
not quite, a pre-deploy phase would solve my problem and having pre and post
phases for each phase would indeed be a good thing - even a post build phase
would be nice, eg. cleaning up a broken build
but in this case i would like to have my plugin run in the validate phase as
there are no reason to compile, build test and so on just to find out that i
have forgotten to commit a file.
> 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