This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 45

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: 5812

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: SNAPSHOT version
Similar Threads
Return code is: 405
Cannot find parent error while "mvn compile"
Another 'Y' game
Creating an ear file from war and jar files
Running help:describe command in Maven