maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1617134 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
Date Sun, 10 Aug 2014 17:31:05 GMT
Author: khmarbaise
Date: Sun Aug 10 17:31:05 2014
New Revision: 1617134

URL: http://svn.apache.org/r1617134
Log:
[MSITE-727]
 - Injection via @Parameter instead of @Components
   (Added missing readonly and required).

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java?rev=1617134&r1=1617133&r2=1617134&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
Sun Aug 10 17:31:05 2014
@@ -166,7 +166,7 @@ public abstract class AbstractSiteRender
     /**
      * The current Maven session.
      */
-    @Parameter( defaultValue = "${session}" )
+    @Parameter( defaultValue = "${session}", readonly = true, required = true )
     protected MavenSession mavenSession;
 
     /**



Mime
View raw message