Hello,
I want to do some complex operations as part of the production build of a
system, and I am trying to embed these operations in maven. What I did boils
down to the following:
- create 3 mojos: mount, umount and launch
- mount and umount does some magic before and after build with SCM
- launch does the real build using maven-verifier (1.0, I cannot find
1.1) to start a build on a mounted project
- the 3 mojos are declared @requiresProject false
- create a custom lifecycle that binds the three mojos to validate,
generate-sources and deploy phases
- create a fourth mojo (also not requiring project) that forks this custom
lifecycle.
What happens is that the first 2 mojos get executed, the verifier launches
correctly the build (which is succesful) and the last goal gets dropped. It
seems that the inferior maven stop the jvm.
Thanks in advance,
Arnaud Bailly
--
View this message in context:
http://www.nabble.com/Custom-lifecycle-and-pomless-plugin-issue-tp14318097s177p14318097.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]