You can look at the JavaDoc of the MavenProject class:
http://maven.apache.org/ref/2.2.1/maven-project/apidocs/org/apache/maven/project/MavenProject.html
On 4/21/10 8:45 AM, Ludwig Magnusson wrote:
> Hi!
>
> When writing a mojo there is a possibility to access information about the
> project running the mojo. E.g. one can access the version like this:
>
>
>
> /**
>
> * @parameter default-value="${project.version}"
>
> * @required
>
> * @readonly
>
> */
>
> private String version;
>
>
>
> Is there a reference somewhere that lists the different attributes available
> and in what kind of object that will be representing them (String, Int, File
> etc)?
>
> /Ludwig
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]