[ https://jira.codehaus.org/browse/MNG-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-4330: ------------------------------- Fix Version/s: (was: Issues to be reviewed for 3.x) > to be able to run a plugin in a given phase when the build will include a > given phase > ------------------------------------------------------------------------------------- > > Key: MNG-4330 > URL: https://jira.codehaus.org/browse/MNG-4330 > Project: Maven > 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 was sent by Atlassian JIRA (v6.1.6#6162)