RE: artifact:deploy-snapshot expects JAR with ${maven.final.name}

2004-01-07 Thread Michal Maczka
[...]
> 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="${maven.build.dir}/${maven.final.name}.jar"
>  type="jar"
>  project="${pom}"/>

as

 

>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]



artifact:deploy-snapshot expects JAR with ${maven.final.name}

2004-01-07 Thread Yoway . Buorn
Here is my maven.xml:


  


  


When I run asset:deploy, I get the following:

BUILD FAILED
File.. file:/C:/eclipse/workspace/asset/
Element... artifact:deploy-snapshot
Line.. 12
Column 24
Artifact file: 'C:\eclipse\workspace\asset/target/asset-1.0.jar' must exist
Total time: 6 seconds
Finished at: Wed Jan 07 13:30:41 PST 2004

According to the artifact plugin documentation, 

During deloyment following files are put to remote repository: 
*   Timestamped Artifact file 
*   MD5 checksum file of timestamped artifact file 
*   Artifact file with version marked as SNAPSHOT 
*   MD5 checksum file of this file 
*   ${artifactId}-snapshot-version 

If the plugin wants to deploy the artifact marked with SNAPSHOT, why is it
looking for asset-1.0.jar?  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?

Yoway Buorn
Software Engineer
Imagery Systems Engineering

GENERAL DYNAMICS
Advanced Information Systems

"Make me a fire and I'm warm for a night.  Set me on fire and I'm warm for
the rest of my life." -- Ancient Didactical Saying



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