maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1601512 - in /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site: AbstractSiteMojo.java deploy/AbstractDeployMojo.java deploy/AbstractStagingMojo.java deploy/SiteStageDeployMojo.java deploy/SiteStageMojo.java
Date Mon, 09 Jun 2014 21:50:22 GMT
Author: hboutemy
Date: Mon Jun  9 21:50:22 2014
New Revision: 1601512

URL: http://svn.apache.org/r1601512
Log:
added missing @since

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractStagingMojo.java
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java?rev=1601512&r1=1601511&r2=1601512&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
Mon Jun  9 21:50:22 2014
@@ -49,6 +49,8 @@ public abstract class AbstractSiteMojo
     /**
      * A comma separated list of locales supported by Maven. The first valid token will be
the default Locale
      * for this instance of the Java Virtual Machine.
+     *
+     * @since 2.3
      */
     @Parameter( property = "locales" )
     protected String locales;
@@ -67,6 +69,8 @@ public abstract class AbstractSiteMojo
 
     /**
      * Directory containing the site.xml file and the source for apt, fml and xdoc docs.
+     *
+     * @since 2.3
      */
     @Parameter( defaultValue = "${basedir}/src/site" )
     protected File siteDirectory;
@@ -74,7 +78,7 @@ public abstract class AbstractSiteMojo
     /**
      * The maven project.
      */
-    @Parameter( defaultValue = "${project}" )
+    @Parameter( defaultValue = "${project}", readonly = true )
     protected MavenProject project;
 
     /**
@@ -91,12 +95,16 @@ public abstract class AbstractSiteMojo
 
     /**
      * Specifies the input encoding.
+     *
+     * @since 2.3
      */
     @Parameter( property = "encoding", defaultValue = "${project.build.sourceEncoding}" )
     private String inputEncoding;
 
     /**
      * Specifies the output encoding.
+     *
+     * @since 2.3
      */
     @Parameter( property = "outputEncoding", defaultValue = "${project.reporting.outputEncoding}"
)
     private String outputEncoding;

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java?rev=1601512&r1=1601511&r2=1601512&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java
Mon Jun  9 21:50:22 2014
@@ -87,6 +87,8 @@ public abstract class AbstractDeployMojo
 {
     /**
      * Directory containing the generated project sites and report distributions.
+     *
+     * @since 2.3
      */
     @Parameter( alias = "outputDirectory", defaultValue = "${project.reporting.outputDirectory}",
required = true )
     private File inputDirectory;
@@ -134,13 +136,13 @@ public abstract class AbstractDeployMojo
     /**
      * The current user system settings for use in Maven.
      */
-    @Parameter( defaultValue = "${settings}" )
+    @Parameter( defaultValue = "${settings}", readonly = true )
     private Settings settings;
 
     /**
      * @since 3.0-beta-2
      */
-    @Parameter( defaultValue = "${session}" )
+    @Parameter( defaultValue = "${session}", readonly = true )
     protected MavenSession mavenSession;
 
     private String topDistributionManagementSiteUrl;

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractStagingMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractStagingMojo.java?rev=1601512&r1=1601511&r2=1601512&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractStagingMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractStagingMojo.java
Mon Jun  9 21:50:22 2014
@@ -35,6 +35,8 @@ public abstract class AbstractStagingMoj
     /**
      * Top distribution management site url, for manual configuration when auto-calculated
value
      * doesn't match expectations. Relative module directory will be calculated from this
url.
+     *
+     * @since 3.3
      */
     @Parameter( property = "topSiteURL" )
     protected String topSiteURL;

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java?rev=1601512&r1=1601511&r2=1601512&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java
Mon Jun  9 21:50:22 2014
@@ -58,6 +58,8 @@ public class SiteStageDeployMojo
      * </p>
      *
      * @see <a href="http://maven.apache.org/maven-model/maven.html#class_site">MavenModel#class_site</a>
+     *
+     * @since 2.3
      */
     @Parameter( property = "stagingSiteURL" )
     private String stagingSiteURL;

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageMojo.java?rev=1601512&r1=1601511&r2=1601512&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/SiteStageMojo.java
Mon Jun  9 21:50:22 2014
@@ -50,6 +50,8 @@ public class SiteStageMojo
      * <code>C:\stagingArea\myProject\</code> on Windows or
      * <code>/stagingArea/myProject/</code> on Unix.
      * If this is not specified, the site will be staged in ${project.build.directory}/staging.
+     *
+     * @since 2.3
      */
     @Parameter( property = "stagingDirectory" )
     private File stagingDirectory;



Mime
View raw message