I have a deploy goal in my maven.xml that uses the artifact plugin.  When I
use it to deploy the results of a jar:jar everything works fine.  When I use
it to deploy a snapshot jar it tries to deploy the normal jar.

My goal is here:
   <goal name="deploy">
      <artifact:deploy
           artifact="${maven.build.dir}/${maven.final.name}.jar"
           type="jar"
           project="${pom}"
      />
   </goal>

As you can see, I'm using maven.final.name for the name of the jar.  The
jar:snapshot goal sets this varaiable to ${snapshotSignature}.  But by the
time my postGoal executes it's back to the name of the normal jar.

My questions are:
1.  Is there a variable that will be available during the post goal that
contains the name of the jar?
2.  What is setting maven.final.name back to the default value?

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

Reply via email to