On Aug 26, 2006, at 2:23 PM, Jason Dillon wrote:

If you use 'attached', you should be able to hook yo the assembly plugin to the default build cycle.

I added "<phase>package</phase>" to the "<execution>" and that seems to work.

Now I'm off on a tangent trying to figure out an elegant way to squirt out occasional builds with the svn revision in the version number, 3.0-${SVN_REVISION}. I can get the svn revision easily enough, but changing version numbers is a mess as you know (stupid hardcoded parent pom version number).

Any ideas? Is there some way to do this with the release plugin, but without the tags? Or maybe a snapshot deploy, but with svn number instead of the date?

-David

--jason


On Aug 26, 2006, at 1:30 PM, David Blevins wrote:


On Mar 8, 2006, at 11:14 AM, David Blevins wrote:


On Mar 8, 2006, at 3:04 AM, Gianny Damour wrote:

 - Having any assembly run with the build as in 'mvn install' it
causes everything to build twice

I think that this is this very annoying bug http:// jira.codehaus.org/browse/MASSEMBLY-37. Also, it seems that fileSets defined in assembly descriptors are resolved based on the directory from which Maven is executed.

Oh man, that bug has been open for two months!


Looks like this bug was closed in May. Going to see if I can't update the build to make the assemblies by default.

-David



Reply via email to