The latter, look at the link Wayne provided (maven-release-plugin). Cheers.
2008/12/4 Martin Höller <[EMAIL PROTECTED]> > On Thursday 04 December 2008 Wayne Fay wrote: > > > The problem with this method is that the maven install plugin only uses > > > the version in the pom file, not the version passed in on the command > > > line. This is noted in [this maven issue][1]. > > > > If you use "mvn release" rather than simply "mvn install", this is > > handled for you via the release plugin. Since you are literally > > "cutting a release", I think this is appropriate anyway. > > What is "mvn release"? According to [0] it's not a valid phase or > lifecylce. And running it gives me > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Invalid task 'release': you must specify a valid lifecycle phase, or > a > goal in the format plugin:goal or > pluginGroupId:pluginArtifactId:pluginVersion:goal > > Do you mean "mvn deploy"? Or do you mean using the release plugin > like "mvn release:prepare release:perform"? > > regards, > - martin > > [0] > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
