Common solution is to add a manifest. Have a look to the  maven-jar-plugin
documentation


Christian Goetze-2 wrote:
> 
> With this, I mean how do people ensure that the version number used in 
> the build is available at runtime? Do people generate a property file 
> with the version number and include it in the jar? Anyone have a nice 
> little example for this?
> 
> Thanks in advance...
> --
> cg <- an obvious maven2 newbie...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-people-include-version-info-into-the-build--tf2591070s177.html#a7227963
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