Try using pom.id and pom.currentVersion.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


Chris Shorrock <[EMAIL PROTECTED]> wrote on 22/03/2003 08:05:01 AM:

> I feel like an idiot asking what appears to be such a simple question, 
> but I don't quite see the problem.
> 
> Anyhow, I've defined the following in my maven.xml file:
> 
>    <goal name="sar">
>      <attainGoal name="java:jar" />
> 
>      <move 
> file="${maven.build.dir}/${project.id}-${project.currentVersion}.jar"
> 
> tofile="${maven.build.dir}/${project.id}- 
> ${project.currentVersion}.sar"/>
>    </goal>
> 
> When this attempts to execute the move task it's unable to resolve any 
> of the properties. (I've proved this by attempting to echo the 
> properties to the console)
> 
> Any help would be appreciated.
> 
> Chris Shorrock
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to