Thanks =)

-----Original Message-----
From: Justin Edelson [mailto:justinedel...@gmail.com] 
Sent: den 21 april 2010 15:18
To: Maven Developers List
Subject: Re: Reference to available data for mojos?

You can look at the JavaDoc of the MavenProject class:
http://maven.apache.org/ref/2.2.1/maven-project/apidocs/org/apache/maven/pro
ject/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: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to