Looking through the code I found where the timestamp is generated:

http://svn.apache.org/viewvc/maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/SnapshotTransformation.java?view=markup

It has two different methods for install and deploy:

transformForDeployment( Artifact, ArtifactRepository, ArtifactRepository )

and

transformForInstall( Artifact, ArtifactRepository )


The first one generates the timestamp. It's hardoced for deployment only, no
way to specifiy it for install.
-- 
View this message in context: 
http://www.nabble.com/How-to-know-programatically-the-SNAPSHOT-version-tp19652998p19784753.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to