[ http://jira.codehaus.org/browse/MNG-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4764. ---------------------------------- Resolution: Fixed Fix Version/s: 3.0-beta-2 Assignee: Benjamin Bentmann Fixed in [r983050|http://svn.apache.org/viewvc?view=revision&revision=983050]. > @required plugin parameters using default-value with expressions are not > validated > ---------------------------------------------------------------------------------- > > Key: MNG-4764 > URL: http://jira.codehaus.org/browse/MNG-4764 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 2.2.1 > Reporter: Benjamin Bentmann > Assignee: Benjamin Bentmann > Priority: Minor > Fix For: 3.0-beta-2 > > > For a mojo parameter like > {code:java} > /** > * @parameter default-value="${project.url}" > * @required > */ > String url > {code} > Maven will not validate whether the default value actually evaluates to a > non-null value. > This is a subtle difference from > {code:java} > /** > * @parameter expression="${project.url}" > * @required > */ > String url > {code} > where the non-null validation will be performed. -- 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