maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1616876 - /maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
Date Fri, 08 Aug 2014 21:10:12 GMT
Author: khmarbaise
Date: Fri Aug  8 21:10:11 2014
New Revision: 1616876

URL: http://svn.apache.org/r1616876
Log:
- Added missing required = true for MavenProject and MavenSession
  parameter annotation.

Modified:
    maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java

Modified: maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java?rev=1616876&r1=1616875&r2=1616876&view=diff
==============================================================================
--- maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
(original)
+++ maven/plugins/trunk/maven-acr-plugin/src/main/java/org/apache/maven/plugin/acr/AcrMojo.java
Fri Aug  8 21:10:11 2014
@@ -102,7 +102,7 @@ public class AcrMojo
     /**
      * The Maven project.
      */
-    @Parameter( defaultValue = "${project}", readonly = true )
+    @Parameter( defaultValue = "${project}", readonly = true, required = true )
     private MavenProject project;
 
     /**
@@ -149,7 +149,7 @@ public class AcrMojo
 
     /**
      */
-    @Parameter( defaultValue = "${session}", readonly = true )
+    @Parameter( defaultValue = "${session}", readonly = true, required = true )
     private MavenSession session;
 
     /**



Mime
View raw message