SebbASF created MRRESOURCES-64:
----------------------------------

             Summary: Mojo: process uses deprecated expression 
project.build.resources
                 Key: MRRESOURCES-64
                 URL: https://jira.codehaus.org/browse/MRRESOURCES-64
             Project: Maven 2.x Remote Resources Plugin
          Issue Type: Bug
            Reporter: SebbASF


Updating from 1.2.1 to 1.3 causes Maven builds to report the following:

[WARNING] The parameter expression: 'project.build.resources' used in mojo: 
'process' has been deprecated. Use 'project.resources' instead.

Looks like this was a side-effect of the fix for MRRESOURCES-57, see:

http://svn.apache.org/viewvc/maven/plugins/trunk/maven-remote-resources-plugin/src/main/java/org/apache/maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java?r1=1057005&r2=1165423

The offending change seems to be:

@@ -313,7 +313,7 @@
     /**
      * The list of resources defined for the project.
      *
-     * @parameter expression="${project.resources}"
+     * @parameter default-value="${project.build.resources}"
      * @readonly
      * @required


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to