Re: how to remove de default task in the life phase?

2008-10-07 Thread 陈思淼
our company have a own build tool derived from maven 1.0, and have lots of our own features, after few year we decide to transfer our works to maven 2.0 and contribute some tools to the community. now the maven 2.0 and our own build tool are exist togother, we must transfer project by project to

Re: how to remove de default task in the life phase?

2008-10-07 Thread Arnaud HERITIER
In maven 1 projects you can use maven 2 ant tasks http://maven.apache.org/ant-tasks.html cheers Arnaud 2008/10/7 陈思淼 [EMAIL PROTECTED] our company have a own build tool derived from maven 1.0, and have lots of our own features, after few year we decide to transfer our works to maven 2.0 and

Re: how to remove de default task in the life phase?

2008-10-07 Thread Nick Stolwijk
And if you really want to skip the normal execution of maven-deploy-plugin, you can use the skip parameter. [1] [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl

Re: how to remove de default task in the life phase?

2008-10-07 Thread 陈思淼
I know what's your guys meaning, I decide to bind my own plugin to instal phase, that's more sensible. 2008/10/7 Nick Stolwijk [EMAIL PROTECTED] And if you really want to skip the normal execution of maven-deploy-plugin, you can use the skip parameter. [1] [1]

how to remove de default task in the life phase?

2008-10-06 Thread 陈思淼
for example. when I runmvn deploy I want to deploy the artifactory to my own reposition use my own deploy-plugin ,but the phase must run the default maven-delploy-plugin, is there any method I can replace the default plugin and use my own plugin ?

Re: how to remove de default task in the life phase?

2008-10-06 Thread Brett Porter
it is not presently possible to remove lifecycle phases, other than creating your own lifecycle, or disabling a plugin through configuration (like as is done with the surefire plugin). Perhaps it would be better to discuss what your need is for a different deployment plugin? - Brett 2008/10/7