[ http://jira.codehaus.org/browse/MNG-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl updated MNG-3927: ------------------------------- Fix Version/s: (was: 3.0-alpha-3) 3.0-alpha-4 > [regression] Configuration of custom plugin execution using default id > pollutes configuration of default plugin executions introduced by packaging > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MNG-3927 > URL: http://jira.codehaus.org/browse/MNG-3927 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 3.0-alpha-1 > Reporter: Max Powers > Assignee: Brian Fox > Fix For: 3.0-alpha-4 > > Attachments: pom.xml > > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira