Author: buildbot
Date: Sat Feb 14 13:11:19 2015
New Revision: 940144

Log:
Staging update by buildbot for maven

Modified:
    websites/staging/maven/trunk/content/   (props changed)
    websites/staging/maven/trunk/content/developers/java6.html
    websites/staging/maven/trunk/content/maven-site-1.0-site.jar

Propchange: websites/staging/maven/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Feb 14 13:11:19 2015
@@ -1 +1 @@
-1659782
+1659792

Modified: websites/staging/maven/trunk/content/developers/java6.html
==============================================================================
--- websites/staging/maven/trunk/content/developers/java6.html (original)
+++ websites/staging/maven/trunk/content/developers/java6.html Sat Feb 14 
13:11:19 2015
@@ -254,7 +254,24 @@
 <p>Create an issue &quot;Require Java 6&quot; and schedule it for the first 
Java 6 version, see <a class="externalLink" 
href="http://jira.codehaus.org/browse/MCHECKSTYLE-277";>example</a>. Reference 
this issue when you check in the code changes (see below) into version 
control</p></div>
 <div class="section">
 <h3><a name="On_the_plugincomponent_site"></a>On the plugin/component site</h3>
-<p>Specify the Java requirements in <tt>index.apt.vm</tt>: &quot;This 
plugin/component requires Java ${javaVersion}.&quot;, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm?r1=1650811&amp;r2=1652771&amp;pathrev=1658048";>example</a>.
 We need to use the variable ${javaVersion} here, because 
${maven.compiler.source} does not work in a site.</p></div></div>
+<p>Specify the Java requirements in <tt>index.apt.vm</tt>: &quot;This 
plugin/component requires Java ${javaVersion}.&quot;, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/site/apt/index.apt.vm?r1=1650811&amp;r2=1652771&amp;pathrev=1658048";>example</a>.
 We need to use the variable ${javaVersion} here, because 
${maven.compiler.source} does not work in a site.</p></div>
+<div class="section">
+<h3><a name="In_the_POM"></a>In the POM</h3>
+<p>Make sure these 3 properties are defined, either in the project or in a 
parent:</p>
+<ul>
+<li>javaVersion=1.6</li>
+<li>maven.compiler.source=${javaVersion}</li>
+<li>maven.compiler.target=${javaVersion}</li></ul>
+<p>Here is a list plugins that are defined in a parent, and that already makes 
use of the above mentioned properties. So it should be enough to just make sure 
that the effective-pom looks ok.</p>
+<ul>
+<li><tt>maven-compiler-plugin</tt> is defined in <tt>maven-parent</tt>, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/pom/tags/maven-parent-26/pom.xml?view=markup#l842";>example</a></li>
+<li><tt>maven-enforcer-plugin</tt> and the <tt>enforceBytecodeVersion</tt> 
rule is defined in <tt>maven-parent</tt>, see <a class="externalLink" 
href="http://svn.apache.org/viewvc/maven/pom/tags/maven-parent-26/pom.xml?view=markup#l946";>example</a></li>
+<li><tt>maven-pmd-plugin</tt> is defined in <tt>maven-parent</tt>, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/pom/tags/maven-parent-26/pom.xml?view=markup#l1069";>example</a></li></ul>
+<p>These plugins that are not defined in a parent, so you might need to 
configure the Java version for them in the plugin/component </p><!-- TODO The 
links in the following bullets should be changed to point to a tag, once 
maven-checkstyle-plugin has been released -->
+<ul>
+<li><tt>animal-sniffer-maven-plugin</tt> is only defined in selected plugins, 
see <a class="externalLink" 
href="http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?view=markup#l307";>example
 in <tt>maven-checkstyle-plugin</tt></a>. We should move it to 
maven-parent.</li>
+<li><tt>buildhelper-maven-plugin</tt> is used to create the signature for 
animal-sniffer and is only defined in selected plugins, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?view=markup#l295";>example
 in <tt>maven-checkstyle-plugin</tt></a>. We should move it to 
maven-parent.</li>
+<li><tt>maven-plugin-plugin</tt> is only defined in selected plugins, see <a 
class="externalLink" 
href="http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?view=markup#l370";>example
 in <tt>maven-checkstyle-plugin</tt></a>. We should move it to maven-plugins 
parent.</li></ul></div></div>
       </div>
     </div>
     <div class="clear">

Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.


Reply via email to