Author: buildbot
Date: Sun May 28 08:59:07 2017
New Revision: 1013029

Log:
Staging update by buildbot for maven

Modified:
    websites/staging/maven/trunk/content/   (props changed)
    websites/staging/maven/trunk/content/general.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 Sun May 28 08:59:07 2017
@@ -1 +1 @@
-1796478
+1796481

Modified: websites/staging/maven/trunk/content/general.html
==============================================================================
--- websites/staging/maven/trunk/content/general.html (original)
+++ websites/staging/maven/trunk/content/general.html Sun May 28 08:59:07 2017
@@ -129,7 +129,7 @@
 <li><a href="#plugin-version">How do I determine what version of a plugin I am 
using?</a></li>
 <li><a href="#using-ant-tasks">How can I use Ant tasks in a Maven 
build?</a></li>
 <li><a href="#maven-ant-tasks">How can I use Maven features in an Ant 
build?</a></li>
-<li><a href="#Compiling-J2SE-5">How do I set up Maven so it will compile with 
a target and source JVM of my choice?</a></li>
+<li><a href="#Compiling-Java-7">How do I set up Maven so it will compile with 
a target and source JVM of my choice?</a></li>
 <li><a href="#dir-struct">Is it possible to create my own directory 
structure?</a></li>
 <li><a href="#m2-source-code">Where is the source code? I couldn't seem to 
find a link anywhere on the Maven site.</a></li>
 <li><a href="#proxy-needed">Maven can't seem to download the dependencies. Is 
my installation correct?</a></li>
@@ -186,7 +186,7 @@
         
 <p>
           The &quot;Available Plugins&quot; page lists them and provides 
additional information.
-          See <a class="externalLink" 
href="https://maven.apache.org/plugins/";>https://maven.apache.org/plugins</a>
+          See <a href="/plugins/">https://maven.apache.org/plugins</a>
        </p>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
@@ -238,15 +238,29 @@
        </p>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
-<dt><a name="Compiling-J2SE-5">How do I set up Maven so it will compile with a 
target and source JVM of my choice?</a></dt>
+<dt><a name="Compiling-Java-7">How do I set up Maven so it will compile with a 
target and source JVM of my choice?</a></dt>
 <dd>
         
 <p>
           You must configure the source and target parameters in your pom. For 
example, to set the source and
-          target JVM to 1.5, you should have in your pom:
+          target JVM to 7, you should have in your pom:
        </p>
         
-<div class="source"><pre class="prettyprint linenums">
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;properties&gt;
+    &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;
+    &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;
+  &lt;/properties&gt;
+  ...
+&lt;/project&gt;</pre></div>
+        
+<p>
+          Or if a parent pom overrides for compiler plugin default values and 
you can't fix it,
+          you'll have to explicitely force the values in the compiler plugin 
configuration:
+       </p>
+        
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
   ...
   &lt;build&gt;
   ...
@@ -256,14 +270,15 @@
         &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
         &lt;version&gt;3.3&lt;/version&gt;
         &lt;configuration&gt;
-          &lt;source&gt;1.5&lt;/source&gt;
-          &lt;target&gt;1.5&lt;/target&gt;
+          &lt;source&gt;1.7&lt;/source&gt;
+          &lt;target&gt;1.7&lt;/target&gt;
         &lt;/configuration&gt;
       &lt;/plugin&gt;
     &lt;/plugins&gt;
   ...
   &lt;/build&gt;
-  ...</pre></div>
+  ...
+&lt;/project&gt;</pre></div>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
 <dt><a name="dir-struct">Is it possible to create my own directory 
structure?</a></dt>
@@ -274,8 +289,8 @@
        </p>
         
 <p>
-          By configuring &lt;sourceDirectory&gt;, &lt;resources&gt; and other 
elements of
-          the &lt;build&gt; section.
+          By configuring <tt>&lt;sourceDirectory&gt;</tt>, 
<tt>&lt;resources&gt;</tt> and other elements of
+          the <tt>&lt;build&gt;</tt> section.
        </p>
         
 <p>
@@ -288,7 +303,7 @@
 <dd>
         
 <p>
-          The source code can be found in <a href="source-repository.html">our 
subversion repository</a>.
+          The source code can be found in <a href="source-repository.html">our 
subversion and git repositories</a>.
        </p>
         
 <p>
@@ -373,8 +388,8 @@ Where: &lt;path-to-file&gt;  the path to
 <dd>
         Add the parameter <tt>-Dmaven.test.skip=true</tt> or 
<tt>-DskipTests=true</tt> in the command line,
         depending on whether you want to skip test compilation and execution 
or only execution. See the example
-        <a 
href="/plugins/maven-surefire-plugin/examples/skipping-test.html">Skipping 
Tests</a>
-        in the Surefire Plugin's documentation for more details.
+        <a 
href="/plugins/maven-surefire-plugin/examples/skipping-tests.html">Skipping 
Tests</a>
+        in <a href="/plugins/maven-surefire-plugin/">the Surefire Plugin's 
documentation</a> for more details.
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
 <dt><a name="run-one-test">How can I run a single unit test?</a></dt>
@@ -386,28 +401,38 @@ Where: &lt;path-to-file&gt;  the path to
 <dt><a name="special-characters-site">Handle special characters in 
site</a></dt>
 <dd>
         
-<p>Configure your ide to use the correct encoding. With eclipse, add
+<p>Configure your ide to use the correct encoding. With Eclipse, add
         <tt>-Dfile.encoding=ISO-8859-1</tt> in eclipse.ini file</p>
         
-<p>Configure the output encoding in your pom
+<p>Configure the reporting output encoding in your pom
       </p>
-<div class="source"><pre class="prettyprint linenums">
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
+  ...
+  &lt;properties&gt;
+    
&lt;project.reporting.outputDirectory&gt;UTF-8&lt;/project.reporting.outputDirectory&gt;
+  &lt;/properties&gt;
+  ...
+&lt;/project&gt;</pre></div>
+        or if default encoding is overridden in a parent pom that you can't 
change, configure the site plugin explicitely:
+      
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
   ...
   &lt;plugin&gt;
     &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
     &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
-    &lt;version&gt;3.2&lt;/version&gt;
+    &lt;version&gt;3.6&lt;/version&gt;
     &lt;configuration&gt;
       &lt;outputEncoding&gt;UTF-8&lt;/outputEncoding&gt;
     &lt;/configuration&gt;
   &lt;/plugin&gt;
-  ...</pre></div>
+  ...
+&lt;project&gt;</pre></div>
        
         
 <p>
           Configure the file encoding use by mvn.
           add to MAVEN_OPTS the encoding (same as the ide).
-          This can be made with adding 
<tt>MAVEN_OPTS=&quot;-Dfile.encoding=ISO-8859-1&quot;</tt> in $HOME/.profile
+          This can be made with adding 
<tt>MAVEN_OPTS=&quot;-Dfile.encoding=ISO-8859-1&quot;</tt> in 
<tt>$HOME/.profile</tt>
        </p>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
@@ -419,7 +444,7 @@ Where: &lt;path-to-file&gt;  the path to
           included in the runtime for Mac OS X and some free JDKs).
        </p>
         
-<div class="source"><pre class="prettyprint linenums">
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
 ...
   &lt;profiles&gt;
     &lt;profile&gt;
@@ -441,20 +466,22 @@ Where: &lt;path-to-file&gt;  the path to
       &lt;/dependencies&gt;
     &lt;/profile&gt;
   &lt;/profiles&gt;
-  ...</pre></div>
+  ...
+&lt;/project&gt;</pre></div>
      
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
 <dt><a name="test-property-name">Maven compiles my test classes but doesn't 
run them?</a></dt>
 <dd>
         
 <p>
-          Tests are run by the surefire plugin.  The surefire plugin can be 
configured to run certain test classes and
+          Tests are run by <a href="/surefire/maven-surefire-plugin/">the 
surefire plugin</a>.
+          The surefire plugin can be configured to run certain test classes and
           you may have unintentionally done so by specifying a value to 
${test}.
 
           Check your settings.xml and pom.xml for a property named 
&quot;test&quot; which would like this:
        </p>
         
-<div class="source"><pre class="prettyprint linenums">
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
   ...
   &lt;properties&gt;
     &lt;property&gt;
@@ -462,18 +489,20 @@ Where: &lt;path-to-file&gt;  the path to
       &lt;value&gt;some-value&lt;/value&gt;
      &lt;/property&gt;
   &lt;/properties&gt;
-  ...</pre></div>
+  ...
+&lt;/project&gt;</pre></div>
         
 <p>
           or
        </p>
         
-<div class="source"><pre class="prettyprint linenums">
+<div class="source"><pre class="prettyprint linenums">&lt;project&gt;
   ...
   &lt;properties&gt;
     &lt;test&gt;some-value&lt;/test&gt;
   &lt;/properties&gt;
-  ...</pre></div>
+  ...
+&lt;/project&gt;</pre></div>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>
 <dt><a name="snapshot-artifacts">Where are Maven SNAPSHOT artifacts?</a></dt>
@@ -481,7 +510,7 @@ Where: &lt;path-to-file&gt;  the path to
         
 <p>
           If you are trying to build a development version of Maven or plugins,
-          you may need to access the maven snapshot repositories.
+          you may need to access the Maven snapshot repositories.
        </p>
 
         
@@ -548,7 +577,7 @@ Where: &lt;path-to-file&gt;  the path to
         
 <p>
           A mojo is a <b>M</b>aven plain <b>O</b>ld <b>J</b>ava <b>O</b>bject. 
Each mojo is an executable
-          <i>goal</i> in Maven, and a plugin is a distribution of one or more 
related mojos.
+          <i>goal</i> in Maven, and a Maven plugin is a distribution of one or 
more related mojos.
        </p>
       
 <p align="right"><a href="#top">[top]</a></p><hr /></dd>

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


Reply via email to