[...]
> If the plugin wants to deploy the artifact marked with SNAPSHOT, why is it
> looking for asset-1.0.jar?

because you have asked it to

attribute "artifact" of artifact:deploy tag simply should point to the file
which will be deployed.
It can be any file located wherever you want.

in your case you have chosen ${maven.build.dir}/${maven.final.name}.jar



Simply try to read
>     <artifact:deploy-snapshot
>      artifact="${maven.build.dir}/${maven.final.name}.jar"
>      type="jar"
>      project="${pom}"/>

as

     <artifact:deploy-snapshot

pathToFileYouWantToDeployAsSnapshot="${maven.build.dir}/${maven.final.name}.
jar"
      type="jar"
      project="${pom}"/>

>Also, when I run the goal
> jar:snapshot, I get a
> JAR with the timestamp, but no SNAPSHOT JAR.  Shouldn't an artifact be
> created and tagged with SNAPSHOT?
>
>
No.





Michal





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

Reply via email to