maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] (MRRESOURCES-64) Mojo: process uses deprecated expression project.build.resources
Date Tue, 02 Oct 2012 14:42:36 GMT

     [ https://jira.codehaus.org/browse/MRRESOURCES-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg updated MRRESOURCES-64:
---------------------------------------

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

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

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:

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


  was:
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


    
> 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:
> {noformat}
> [WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process'
has been deprecated. Use 'project.resources' instead.
> {noformat}
> 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:
> {noformat}
> @@ -313,7 +313,7 @@
>      /**
>       * The list of resources defined for the project.
>       *
> -     * @parameter expression="${project.resources}"
> +     * @parameter default-value="${project.build.resources}"
>       * @readonly
>       * @required
> {noformat}

--
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

        

Mime
View raw message