File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

SNAPSHOT version

Prash Negu
Ranch Hand

Joined: Apr 20, 2009
Posts: 46

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

Peter Johnson

Joined: May 14, 2008
Posts: 5852

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
I agree. Here's the link:
subject: SNAPSHOT version
It's not a secret anymore!