Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
Description
Deploy a -SNAPSHOT build using the deploy:deploy-file goal. (Don't do it with the <deploy> Ant task; that doesn't work, per bug MNG-2060.) The file will be deployed into a -SNAPSHOT directory, but the file itself will contain a build number, not the word SNAPSHOT.
Now delete the SNAPSHOT from your local repository and attempt to use <dependencies> to acquire it. The task will claim to succeed, but the pathId will contain an incorrect file path.
For example, I deployed selenium-server-0.7.2-SNAPSHOT.jar; on the remote repo it was called selenium-server-0.7.2-20060505.015135-1.jar. When the Ant task pulled it into my local repo it was in selenium-server\0.7.2-SNAPSHOT\selenium-server-0.7.2-20060505.015135-1.jar. But finally when I ran the Ant task, the classpath it gave me pointed to selenium-server\0.7.2-20060505.015135-1\selenium-server-0.7.2-20060505.015135-1.jar, which is clearly wrong.
Attachments
Issue Links
- duplicates
-
MANTTASKS-18 filesetId does not contain all dependencies when artifact was not yet locally installed
- Closed