Re: [m2] Using the pom version in JavaCode

2006-02-01 Thread Orjan Austvold
Maven adds the pom.xml of war/jar artifacts to the archived file. You can retreive it on a running system by using somthing like getClass().getResourceAsStream("/META-INF/maven///pom.xml"); Ørjan Fredy wrote: Hi all, is there a library to access the pom Content from Java? For example when I

Re: [m2] Using the pom version in JavaCode

2006-02-01 Thread jerome lacoste
On 2/1/06, Fredy <[EMAIL PROTECTED]> wrote: > Hi all, > is there a library to access the pom Content from Java? > For example when I should show the actuall Version in the titleboard ore > something else. within a plugin you should get the org.apache.maven.model.Model instance that represent your

[m2] Using the pom version in JavaCode

2006-02-01 Thread Fredy
Hi all, is there a library to access the pom Content from Java? For example when I should show the actuall Version in the titleboard ore something else. Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,