Uploaded image for project: 'Maven Remote Resources Plugin'
  1. Maven Remote Resources Plugin
  2. MRRESOURCES-64

Mojo: process uses deprecated expression project.build.resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • None

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              sebb Sebb
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: