Since I was interested in the same thing, I did a little source code archaeology, and it appears that one way to accomplish this is to have a file META-INF/maven/lifecycle.xml in the jar. I found an example in maven-2.0.x/integration-tests/maven-core-it-plugin/src/main/resources/...
Disclaimer: I'm not guaranteeing it will work - someone else that actually knows the maven internals might confirm this. On 1/8/07, franz see <[EMAIL PROTECTED]> wrote:
Good day to you, takai, What phases do you think are lacking? If you want, you can file for a request for phase or lifecycle in [1] under the "Plugins and Lifecycle" component. Also, aside from the reference Rahul gave, you can also try and take a look at [2] for more info regarding lifecycles, phases, and goals. Cheers, Franz [1] http://jira.codehaus.org/browse/MNG [2] http://docs.codehaus.org/display/MAVENUSER/introduction-to-the-lifecycle Rahul Thakur wrote: > > Hi, > > I don't think there is documentation that explains in details about > setting up custom lifecycle (others can correct me if I am wrong!) > > If you have the 'Better builds with Maven' book > (http://www.mergere.com/resources_downloads.jsp) , have a look at > Appendix A, it might give you some ideas. > > Cheers, > Rahul > > > takai wrote: >> Hi, >> >> i'd like to define my own lifecycle and would like to know if this is at >> all >> possible and if there's any documentation on it? >> >> I'm having a hard time with the given lifecycles and find it difficult to >> organize the plugins for integration builds - where a lot of plugins come >> into play. This issue has to do with my problem: >> >> http://jira.codehaus.org/browse/MNG-2258 >> >> I seem to run out of phases to stuff my plugins in - plus having to >> install >> your app server in the validation phase does not feel right ;-) >> >> Thanks! >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Custom-Lifecycle-tf2936169s177.html#a8217144 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]