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 pom. This instance is hold within a MavenProject instance, and you can retrieve it in your mojo by adding the following property: /** * @parameter expression="${project.model}" */ private Model pom; This property will be filled up dynamically at run time. Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]