Jeff,

FYI, I just submitted a patch for

http://jira.codehaus.org/browse/MPARTIFACT-18

.. which I think addresses this in a more direct way. I can now put the following as a preGoal for build:start in my extended maven.xml:

        <j:set var="maven.artifact.snapshotSignature"
               value="${anthill.version}"
               defaultValue="DEV"
               />

This will cause the value of the ${anthill.version} property to automatically
be used instead of the timestamp. Hopefully this patch can make it in the next release.


Thanks,
Chad


Chad Woolley wrote:
Jeff,

Thanks for the response, I think this will work!  Just one thing, however.

I couldn't get it to work like you said with ${pom.setCurrentVersion(version)}

I had to do the following:

        <j:set property="currentVersion"
               target="${pom}"
               value="${anthill.version}"
               defaultValue="SNAPSHOT"
               />

Maybe there is an easier way, but I couldn't figure it out...

Also, I don't understand what you meant in step 2 by "constructed new artifact names". Why is this necessary?

Thanks again!
-- Chad



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to