On Sun, Sep 27, 2015 at 11:25 AM, Lennart Jörelid
<[email protected]> wrote:

> 2. Inject a MavenProject and use it to acquire any build property you like:
>
> @Parameter(defaultValue = "${project}", readonly = true)
> private MavenProject project;

This one sounds like what I wanted.

However, there is no method like getSourceEncoding() in
org.apache.maven.model.Build, at least not in maven-model 2.2.1.

Thanks,

Jochen



-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to