maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1377846 - /maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
Date Mon, 27 Aug 2012 20:44:14 GMT
Author: hboutemy
Date: Mon Aug 27 20:44:13 2012
New Revision: 1377846

URL: http://svn.apache.org/viewvc?rev=1377846&view=rev
Log:
use @Component when possible

Modified:
    maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java

Modified: maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java?rev=1377846&r1=1377845&r2=1377846&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
(original)
+++ maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java
Mon Aug 27 20:44:13 2012
@@ -84,7 +84,7 @@ public class ResourcesMojo
     /**
      *
      */
-    @Parameter( defaultValue = "${project}", required = true, readonly = true )
+    @Component
     protected MavenProject project;
 
     /**
@@ -133,7 +133,7 @@ public class ResourcesMojo
     /**
      *
      */
-    @Parameter( defaultValue = "${session}", required = true, readonly = true )
+    @Component
     protected MavenSession session;
 
     /**



Mime
View raw message