File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes SNAPSHOT version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "SNAPSHOT version" Watch "SNAPSHOT version" New topic
Author

SNAPSHOT version

Prash Negu
Ranch Hand

Joined: Apr 20, 2009
Posts: 45
Hi,

Artifacts with SNAPSHOT versions, the "SNAPSHOT" is replaced with timestamp only during deploy phase (to remote repository) and not for "install" phase (local repository)?

Thanks,
Prashant
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

The deploy behavior is governed by the uniqueVersion parameter (true and you get the timestamp, false and it remains as -SNAPSHOT). But I don't see that parameter for the install plugin.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SNAPSHOT version