Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-1
-
None
Description
Seems that maven is allowing pom writers to define new values for parameters that a plugin has marked as readOnly. I have attached a pom that overrides the resources parameter in the maven-resources-plugin. This is allowed in 2.0.9, but fails (as it should) in 3.x (see line 89)
I would've expected to see this error (as i do in 3.x)
[ERROR]
ERROR: Cannot override read-only parameter: resources in goal: resources:resources