I'm converting from Maven 1.0 (with a custom plugin for deploying tarballs)
to Maven 2.0.

I previously discovered that this set of comands does what my M1 plugin did:

mvn clean package appassembler:assemble assembly:assembly wagon:deploy

That is, it collects all the dependencies, creates a run script and tars
everything up.  That's great.  That's one plug-in I don't have to rewrite.

Just today I got releasing to work correctly.  So, here is what I did:

mvn release:prepare
mvn release:perform
mvn clean package appassembler:assemble assembly:assembly wagon:deploy

Everything work fine except I need a tarball named something like
project-1.2.3.tar.gz.  What I got (of course, now that I think of it) was
project-1.2.4-SNAPSHOT.tar.gz.

So, what I need is a way to either tie "appassembler:assemble
assembly:assembly wagon:deploy" to release:perform or I need a way to pull
version 1.2.3 out of CVS and package it up.

What I'll like is something that would pull the pom out of the local
repository and then pull the source for the lable in the pom from cvs.  Is
such a thing possible?  If I can't do this, how can I tie my tarball
creation commands to release:perform?

Thanks.

--
Esse Quam Videre
To Be, rather than to Seem

Reply via email to