Hi Jochen,

On 9/26/15 10:28 PM, Jochen Wiedmann wrote:
Hi,

I'd like to access $[project.build.sourceEncoding} in a Maven Plugin.
How would I do that? Using what version of maven-model?

Hm...you would like use that for a maven plugin ? Then it's used like this:

@Parameter( property = "encoding", defaultValue = "${project.build.sourceEncoding}" )
private String encoding;

That's usually a default value for plugin...

Kind regards
Karl Heinz Marbaise

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

Reply via email to