Hi,

I'm working on validation for plugin configuration in Maven ...
I've found some interesting cases about declaration of maven plugin
parameters.

We should add validation in Maven plugins tools

## read-only - possible declaration

@Parameter( readonly = true )  - without default value .. so what  - how to
set it ...

@Parameter( readonly = true, property = "user.property" )  - read only but
can be overridden by user property ...
@Parameter( readonly = true, defaultValue = "${user.property}" ) - read
only but can be overridden by user property ...

## special property

Some of property is a special property internally evaluated by Maven to
this object, like "project.version",
but we can declare:

@Parameter( property = "project.version" ) - we have property for
parameters ... but user can not override such property ...


If you see any other case let me know ...

-- 
Sławomir Jaranowski

Reply via email to