> What you can do, is to perform resource filtering on a text file you
package 
> into the jar, and then read this when querrying for the version. This is
> what 
> we do for a number of our software, and it works like a charm

That's what I want to do. But, how do you get the artifcat timestamp? or
just just use 1.0-SNAPSHOT?

> i.e. you need to know if this is "1.0-20081002.110956"

Yes.

Actually I'm using an Ant Task to run a shell script that modify a
properties file with the current timestamp, but the problem is that is not
the same as the repository.

So, is the deploy plugin which generates this number?
-- 
View this message in context: 
http://www.nabble.com/How-to-know-programatically-the-SNAPSHOT-version-tp19652998p19779917.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