On Sun, 05 Sep 2004, at 16:38:44 [GMT -0700] Chad Woolley wrote:
> 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"
> />
Is anthill.version what AnthillPro passes in? If so, use that in the
pom.setCurrentVersion instead of 'version'. Sometimes there are
problems with how Jelly interprets properties with dots, so it might
not like anthill.version, and you'd have to rename it. But since your
<j:set> works, you might as well just go with that.
> Also, I don't understand what you meant in step 2 by "constructed new artifact
> names". Why is this necessary?
I was overriding the values for maven.final.name and
maven.war.final.name since those are the names the jar, war, and ear
plugins use when creating their artifacts.
Jeff
--
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]