|
I can not resist ;-) this.getClass().getPackage().getImplementationVersion(); And you need to instruct maven jar plugin to include version info the MANIFEST.MF E.g. <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> http://maven.apache.org/shared/maven-archiver/index.html Cheers Lucas On 02/02/2011 09:45 AM, Martin Schayna wrote: On 02/01/2011 10:23 PM, Wayne Fay wrote: --
Lucas Persson | Principal Member of Technical Staff Phone: +4684773644 | | | Mobile: +46730946656 Oracle Communications Platform ORACLE Sweden | Folkungagatan 122 | 116 30 Stockholm Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746 |
- Rtrieving version info Gunnar Eketrapp
- Re: Rtrieving version info Wayne Fay
- Re: Rtrieving version info Gunnar Eketrapp
- Re: Rtrieving version info Anders Hammar
- Re: Rtrieving version info Martin Schayna
- Re: Rtrieving version info Lucas Persson
- Re: Rtrieving version info Anders Hammar
