Hi Jeff,

On Sun, Dec 07, 2003 at 10:51:14PM -0600, Jefferson K. French wrote:
> When I set the value of maven.final.name in a jar:jar preGoal, it has
> the correct value there and in the jar:jar postGoal. But for some
> reason it contains an earlier value in the jar:jar goal.
> 
> I've put echo tags in a few pre/post goals, as well as a couple in the
> jar plugin's plugin.jelly file to show the value of maven.final.name
> at various points. I set the property in maven.xml like this:
> 
>   <preGoal name="jar:jar">
>     <j:set var="maven.final.name" value="${pom.artifactId}-${mdbRelease}"/>
>     <echo>jar:jar preGoal: maven.final.name=${maven.final.name}</echo>
>   </preGoal>
> 
> Any idea what I could be doing wrong?

You need to set maven.final.name in the project.properties file (as you know, at the 
same directory level as your current project.xml).

Peter
-- 
Peter Shillan  AstroGrid Java Developer
[EMAIL PROTECTED]  (UK)-(0)131-668-8282

Institute for Astronomy, Blackford Hill, Edinburgh, EH9 3HJ.

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

Reply via email to