Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/compile-with-memory-enhancements.html ============================================================================== --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/compile-with-memory-enhancements.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/compile-with-memory-enhancements.html Sat Jan 16 21:47:39 2016 @@ -1,187 +1,359 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2015-03-23 - | Rendered using Apache Maven Stylus Skin 1.5 + | Generated by Apache Maven Doxia at 2016-01-16 + | Rendered using Apache Maven Fluido Skin 1.4 --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="author" content="Edwin Punzalan" /> + <meta name="Date-Creation-yyyymmdd" content="20060705" /> + <meta name="Date-Revision-yyyymmdd" content="20160116" /> + <meta http-equiv="Content-Language" content="en" /> <title>Apache Maven Compiler Plugin – Compile Using Memory Allocation Enhancements</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Edwin Punzalan" /> - <meta name="Date-Creation-yyyymmdd" content="20060705" /> - <meta name="Date-Revision-yyyymmdd" content="20150323" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - + <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + + + <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script> + + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + <script type="text/javascript">_uacct = "UA-140879-1"; urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> + + </head> + <body class="topBarDisabled"> + + + + + <div class="container-fluid"> + <div id="banner"> + <div class="pull-left"> + <a href="http://www.apache.org/" id="bannerLeft"> + <img src="../../../images/apache-maven-project.png" alt="Apache Maven"/> </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> + </div> + <div class="pull-right"> <a href="../../../" id="bannerRight"> + <img src="../../../images/maven-logo-black-on-white.png" /> + </a> + </div> + <div class="clear"><hr/></div> </div> - </div> - <div id="breadcrumbs"> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li class=""> + <a href="http://www.apache.org/" class="externalLink" title="Apache"> + Apache</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../../index.html" title="Maven"> + Maven</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../index.html" title="Plugins"> + Plugins</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../" title="Apache Maven Compiler Plugin"> + Apache Maven Compiler Plugin</a> + <span class="divider">/</span> + </li> + <li class="active ">Compile Using Memory Allocation Enhancements</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-01-16</li> + <li id="projectVersion" class="pull-right"> + Version: 3.5-SNAPSHOT + </li> - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Compiler Plugin</a> - > - Compile Using Memory Allocation Enhancements - </div> - <div class="xright"> - Last Published: 2015-03-23 - | Version: 3.3 - </div> - <div class="clear"> - <hr/> + </ul> </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - <li class="none"> - <a href="http://www.apache.org/licenses/" class="externalLink">License</a> - </li> - <li class="none"> - <a href="../download.html">Download</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <a href="../examples/compile-using-different-jdk.html">Compile Using A Different JDK</a> - </li> - <li class="none"> - <a href="../examples/set-compiler-source-and-target.html">Compile Using -source and -target javac Options</a> - </li> - <li class="none"> - <strong>Compile Using Memory Allocation Enhancements</strong> + + + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div class="well sidebar-nav"> + + + <ul class="nav nav-list"> + <li class="nav-header">Overview</li> + + <li> + + <a href="../index.html" title="Introduction"> + <span class="none"></span> + Introduction</a> + </li> + + <li> + + <a href="../plugin-info.html" title="Goals"> + <span class="none"></span> + Goals</a> + </li> + + <li> + + <a href="../usage.html" title="Usage"> + <span class="none"></span> + Usage</a> + </li> + + <li> + + <a href="../faq.html" title="FAQ"> + <span class="none"></span> + FAQ</a> + </li> + + <li> + + <a href="http://www.apache.org/licenses/" class="externalLink" title="License"> + <span class="none"></span> + License</a> + </li> + + <li> + + <a href="../download.html" title="Download"> + <span class="none"></span> + Download</a> + </li> + <li class="nav-header">Examples</li> + + <li> + + <a href="../examples/compile-using-different-jdk.html" title="Compile Using A Different JDK"> + <span class="none"></span> + Compile Using A Different JDK</a> + </li> + + <li> + + <a href="../examples/set-compiler-source-and-target.html" title="Compile Using -source and -target javac Options"> + <span class="none"></span> + Compile Using -source and -target javac Options</a> + </li> + + <li class="active"> + + <a href="#"><span class="none"></span>Compile Using Memory Allocation Enhancements</a> </li> - <li class="none"> - <a href="../examples/pass-compiler-arguments.html">Pass Compiler Arguments</a> - </li> - <li class="none"> - <a href="../non-javac-compilers.html">Non-javac compilerIds</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> + + <li> + + <a href="../examples/pass-compiler-arguments.html" title="Pass Compiler Arguments"> + <span class="none"></span> + Pass Compiler Arguments</a> + </li> + + <li> + + <a href="../non-javac-compilers.html" title="Non-javac compilerIds"> + <span class="none"></span> + Non-javac compilerIds</a> + </li> + <li class="nav-header">Project Documentation</li> + + <li> + + <a href="../project-info.html" title="Project Information"> + <span class="icon-chevron-right"></span> + Project Information</a> </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> + + <li> + + <a href="../project-reports.html" title="Project Reports"> + <span class="icon-chevron-right"></span> + Project Reports</a> </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../ref/current">Maven</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-testing/index.html">Plugin Testing</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../apache-resource-bundles/index.html">Resource Bundles</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> + <li class="nav-header">Maven Projects</li> + + <li> + + <a href="../../../ant-tasks/index.html" title="Ant Tasks"> + <span class="none"></span> + Ant Tasks</a> + </li> + + <li> + + <a href="../../../archetype/index.html" title="Archetype"> + <span class="none"></span> + Archetype</a> + </li> + + <li> + + <a href="../../../doxia/index.html" title="Doxia"> + <span class="none"></span> + Doxia</a> + </li> + + <li> + + <a href="../../../jxr/index.html" title="JXR"> + <span class="none"></span> + JXR</a> + </li> + + <li> + + <a href="../../../ref/current" title="Maven"> + <span class="none"></span> + Maven</a> + </li> + + <li> + + <a href="../../../pom/index.html" title="Parent POMs"> + <span class="none"></span> + Parent POMs</a> + </li> + + <li> + + <a href="../../index.html" title="Plugins"> + <span class="none"></span> + Plugins</a> + </li> + + <li> + + <a href="../../../plugin-testing/index.html" title="Plugin Testing"> + <span class="none"></span> + Plugin Testing</a> + </li> + + <li> + + <a href="../../../plugin-tools/index.html" title="Plugin Tools"> + <span class="none"></span> + Plugin Tools</a> + </li> + + <li> + + <a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"> + <span class="none"></span> + Resource Bundles</a> + </li> + + <li> + + <a href="../../../scm/index.html" title="SCM"> + <span class="none"></span> + SCM</a> + </li> + + <li> + + <a href="../../../shared/index.html" title="Shared Components"> + <span class="none"></span> + Shared Components</a> + </li> + + <li> + + <a href="../../../skins/index.html" title="Skins"> + <span class="none"></span> + Skins</a> + </li> + + <li> + + <a href="../../../surefire/index.html" title="Surefire"> + <span class="none"></span> + Surefire</a> + </li> + + <li> + + <a href="../../../wagon/index.html" title="Wagon"> + <span class="none"></span> + Wagon</a> + </li> + <li class="nav-header">ASF</li> + + <li> + + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"> + <span class="none"></span> + How Apache Works</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation"> + <span class="none"></span> + Foundation</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"> + <span class="none"></span> + Sponsoring Apache</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + <span class="none"></span> + Thanks</a> + </li> + </ul> + + + <form id="search-form" action="https://www.google.com/search" method="get" > + + <input value="$sitesearchValue" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script> + + <hr /> + + <div id="poweredBy"> + + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + + + <div class="g-plusone" data-href="http://maven.apache.org/plugins/maven-compiler-plugin/" data-size="tall" ></div> + + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + </div> + + + <div id="bodyColumn" class="span10" > + + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/ apt-format.html --><div class="section"> <h2><a name="Compile_Using_Memory_Allocation_Enhancements"></a>Compile Using Memory Allocation Enhancements</h2> <p>The Compiler Plugin accepts configurations for <tt>meminitial</tt> and <tt>maxmem</tt>. You can follow the example below to set the initial memory size to 128MB and the maximum memory usage to 512MB:</p> -<div class="source"> -<pre><project> +<div class="source"><pre class="prettyprint linenums"><project> [...] <build> [...] @@ -189,7 +361,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.3</version> + <version>3.5-SNAPSHOT</version> <configuration> <fork>true</fork> <meminitial>128m</meminitial> @@ -200,23 +372,26 @@ [...] </build> [...] -</project></pre></div></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2001-2015 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +</project> +</pre></div></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2001–2016 + <a href="http://www.apache.org/">The Apache Software Foundation</a>. + All rights reserved. + + </p> + </div> + + + </div> + </footer> + </body> </html> \ No newline at end of file
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/pass-compiler-arguments.html ============================================================================== --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/pass-compiler-arguments.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/pass-compiler-arguments.html Sat Jan 16 21:47:39 2016 @@ -1,187 +1,359 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2015-03-23 - | Rendered using Apache Maven Stylus Skin 1.5 + | Generated by Apache Maven Doxia at 2016-01-16 + | Rendered using Apache Maven Fluido Skin 1.4 --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="author" content="Edwin Punzalan" /> + <meta name="Date-Creation-yyyymmdd" content="20060705" /> + <meta name="Date-Revision-yyyymmdd" content="20160116" /> + <meta http-equiv="Content-Language" content="en" /> <title>Apache Maven Compiler Plugin – Pass Compiler Arguments</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Edwin Punzalan" /> - <meta name="Date-Creation-yyyymmdd" content="20060705" /> - <meta name="Date-Revision-yyyymmdd" content="20150323" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - + <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + + + <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script> + + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + <script type="text/javascript">_uacct = "UA-140879-1"; urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> + + </head> + <body class="topBarDisabled"> + + + + + <div class="container-fluid"> + <div id="banner"> + <div class="pull-left"> + <a href="http://www.apache.org/" id="bannerLeft"> + <img src="../../../images/apache-maven-project.png" alt="Apache Maven"/> </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> + </div> + <div class="pull-right"> <a href="../../../" id="bannerRight"> + <img src="../../../images/maven-logo-black-on-white.png" /> + </a> + </div> + <div class="clear"><hr/></div> </div> - </div> - <div id="breadcrumbs"> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li class=""> + <a href="http://www.apache.org/" class="externalLink" title="Apache"> + Apache</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../../index.html" title="Maven"> + Maven</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../index.html" title="Plugins"> + Plugins</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../" title="Apache Maven Compiler Plugin"> + Apache Maven Compiler Plugin</a> + <span class="divider">/</span> + </li> + <li class="active ">Pass Compiler Arguments</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-01-16</li> + <li id="projectVersion" class="pull-right"> + Version: 3.5-SNAPSHOT + </li> - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Compiler Plugin</a> - > - Pass Compiler Arguments - </div> - <div class="xright"> - Last Published: 2015-03-23 - | Version: 3.3 - </div> - <div class="clear"> - <hr/> + </ul> </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - <li class="none"> - <a href="http://www.apache.org/licenses/" class="externalLink">License</a> - </li> - <li class="none"> - <a href="../download.html">Download</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <a href="../examples/compile-using-different-jdk.html">Compile Using A Different JDK</a> - </li> - <li class="none"> - <a href="../examples/set-compiler-source-and-target.html">Compile Using -source and -target javac Options</a> - </li> - <li class="none"> - <a href="../examples/compile-with-memory-enhancements.html">Compile Using Memory Allocation Enhancements</a> - </li> - <li class="none"> - <strong>Pass Compiler Arguments</strong> + + + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div class="well sidebar-nav"> + + + <ul class="nav nav-list"> + <li class="nav-header">Overview</li> + + <li> + + <a href="../index.html" title="Introduction"> + <span class="none"></span> + Introduction</a> + </li> + + <li> + + <a href="../plugin-info.html" title="Goals"> + <span class="none"></span> + Goals</a> + </li> + + <li> + + <a href="../usage.html" title="Usage"> + <span class="none"></span> + Usage</a> + </li> + + <li> + + <a href="../faq.html" title="FAQ"> + <span class="none"></span> + FAQ</a> + </li> + + <li> + + <a href="http://www.apache.org/licenses/" class="externalLink" title="License"> + <span class="none"></span> + License</a> + </li> + + <li> + + <a href="../download.html" title="Download"> + <span class="none"></span> + Download</a> + </li> + <li class="nav-header">Examples</li> + + <li> + + <a href="../examples/compile-using-different-jdk.html" title="Compile Using A Different JDK"> + <span class="none"></span> + Compile Using A Different JDK</a> + </li> + + <li> + + <a href="../examples/set-compiler-source-and-target.html" title="Compile Using -source and -target javac Options"> + <span class="none"></span> + Compile Using -source and -target javac Options</a> + </li> + + <li> + + <a href="../examples/compile-with-memory-enhancements.html" title="Compile Using Memory Allocation Enhancements"> + <span class="none"></span> + Compile Using Memory Allocation Enhancements</a> + </li> + + <li class="active"> + + <a href="#"><span class="none"></span>Pass Compiler Arguments</a> </li> - <li class="none"> - <a href="../non-javac-compilers.html">Non-javac compilerIds</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> + + <li> + + <a href="../non-javac-compilers.html" title="Non-javac compilerIds"> + <span class="none"></span> + Non-javac compilerIds</a> + </li> + <li class="nav-header">Project Documentation</li> + + <li> + + <a href="../project-info.html" title="Project Information"> + <span class="icon-chevron-right"></span> + Project Information</a> </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> + + <li> + + <a href="../project-reports.html" title="Project Reports"> + <span class="icon-chevron-right"></span> + Project Reports</a> </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../ref/current">Maven</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-testing/index.html">Plugin Testing</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../apache-resource-bundles/index.html">Resource Bundles</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> + <li class="nav-header">Maven Projects</li> + + <li> + + <a href="../../../ant-tasks/index.html" title="Ant Tasks"> + <span class="none"></span> + Ant Tasks</a> + </li> + + <li> + + <a href="../../../archetype/index.html" title="Archetype"> + <span class="none"></span> + Archetype</a> + </li> + + <li> + + <a href="../../../doxia/index.html" title="Doxia"> + <span class="none"></span> + Doxia</a> + </li> + + <li> + + <a href="../../../jxr/index.html" title="JXR"> + <span class="none"></span> + JXR</a> + </li> + + <li> + + <a href="../../../ref/current" title="Maven"> + <span class="none"></span> + Maven</a> + </li> + + <li> + + <a href="../../../pom/index.html" title="Parent POMs"> + <span class="none"></span> + Parent POMs</a> + </li> + + <li> + + <a href="../../index.html" title="Plugins"> + <span class="none"></span> + Plugins</a> + </li> + + <li> + + <a href="../../../plugin-testing/index.html" title="Plugin Testing"> + <span class="none"></span> + Plugin Testing</a> + </li> + + <li> + + <a href="../../../plugin-tools/index.html" title="Plugin Tools"> + <span class="none"></span> + Plugin Tools</a> + </li> + + <li> + + <a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"> + <span class="none"></span> + Resource Bundles</a> + </li> + + <li> + + <a href="../../../scm/index.html" title="SCM"> + <span class="none"></span> + SCM</a> + </li> + + <li> + + <a href="../../../shared/index.html" title="Shared Components"> + <span class="none"></span> + Shared Components</a> + </li> + + <li> + + <a href="../../../skins/index.html" title="Skins"> + <span class="none"></span> + Skins</a> + </li> + + <li> + + <a href="../../../surefire/index.html" title="Surefire"> + <span class="none"></span> + Surefire</a> + </li> + + <li> + + <a href="../../../wagon/index.html" title="Wagon"> + <span class="none"></span> + Wagon</a> + </li> + <li class="nav-header">ASF</li> + + <li> + + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"> + <span class="none"></span> + How Apache Works</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation"> + <span class="none"></span> + Foundation</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"> + <span class="none"></span> + Sponsoring Apache</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + <span class="none"></span> + Thanks</a> + </li> + </ul> + + + <form id="search-form" action="https://www.google.com/search" method="get" > + + <input value="$sitesearchValue" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script> + + <hr /> + + <div id="poweredBy"> + + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + + + <div class="g-plusone" data-href="http://maven.apache.org/plugins/maven-compiler-plugin/" data-size="tall" ></div> + + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + </div> + + + <div id="bodyColumn" class="span10" > + + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/ apt-format.html --><div class="section"> <h2><a name="Pass_Compiler_Arguments"></a>Pass Compiler Arguments</h2> <p>Sometimes, you need to pass other compiler arguments that are not handled by the Compiler Plugin itself but is supported by the <tt>compilerId</tt> selected. For such arguments, use the Compiler Plugin's <tt>compilerArgs</tt> parameter The following example passes compiler arguments to the <tt>javac</tt> compiler:</p> -<div class="source"> -<pre><project> +<div class="source"><pre class="prettyprint linenums"><project> [...] <build> [...] @@ -189,33 +361,38 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.3</version> - <compilerArgs> + <version>3.5-SNAPSHOT</version> + <configuration> + <compilerArgs> <arg>-verbose</arg> <arg>-Xlint:all,-options,-path</arg> </compilerArgs> + </configuration> </plugin> </plugins> [...] </build> [...] -</project></pre></div></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2001-2015 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> +</project> +</pre></div></div> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2001–2016 + <a href="http://www.apache.org/">The Apache Software Foundation</a>. + All rights reserved. + + </p> + </div> + + + </div> + </footer> + </body> </html> \ No newline at end of file Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/set-compiler-source-and-target.html ============================================================================== --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/set-compiler-source-and-target.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/set-compiler-source-and-target.html Sat Jan 16 21:47:39 2016 @@ -1,188 +1,360 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2015-03-23 - | Rendered using Apache Maven Stylus Skin 1.5 + | Generated by Apache Maven Doxia at 2016-01-16 + | Rendered using Apache Maven Fluido Skin 1.4 --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="author" content="Edwin Punzalan" /> + <meta name="Date-Creation-yyyymmdd" content="20060705" /> + <meta name="Date-Revision-yyyymmdd" content="20160116" /> + <meta http-equiv="Content-Language" content="en" /> <title>Apache Maven Compiler Plugin – Setting the -source and -target of the Java Compiler</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Edwin Punzalan" /> - <meta name="Date-Creation-yyyymmdd" content="20060705" /> - <meta name="Date-Revision-yyyymmdd" content="20150323" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - + <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + + + <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script> + + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + <script type="text/javascript">_uacct = "UA-140879-1"; urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../../" id="bannerLeft"> - <img src="../../../images/apache-maven-project-2.png" alt="" /> + + </head> + <body class="topBarDisabled"> + + + + + <div class="container-fluid"> + <div id="banner"> + <div class="pull-left"> + <a href="http://www.apache.org/" id="bannerLeft"> + <img src="../../../images/apache-maven-project.png" alt="Apache Maven"/> </a> - <span id="bannerRight"> - <img src="../../../images/maven-logo-2.gif" alt="" /> - </span> - <div class="clear"> - <hr/> + </div> + <div class="pull-right"> <a href="../../../" id="bannerRight"> + <img src="../../../images/maven-logo-black-on-white.png" /> + </a> + </div> + <div class="clear"><hr/></div> </div> - </div> - <div id="breadcrumbs"> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li class=""> + <a href="http://www.apache.org/" class="externalLink" title="Apache"> + Apache</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../../index.html" title="Maven"> + Maven</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../index.html" title="Plugins"> + Plugins</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../" title="Apache Maven Compiler Plugin"> + Apache Maven Compiler Plugin</a> + <span class="divider">/</span> + </li> + <li class="active ">Setting the -source and -target of the Java Compiler</li> + + + + <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-01-16</li> + <li id="projectVersion" class="pull-right"> + Version: 3.5-SNAPSHOT + </li> - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../../index.html">Maven</a> - > - <a href="../../index.html">Plugins</a> - > - <a href="../">Apache Maven Compiler Plugin</a> - > - Setting the -source and -target of the Java Compiler - </div> - <div class="xright"> - Last Published: 2015-03-23 - | Version: 3.3 - </div> - <div class="clear"> - <hr/> + </ul> </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>Overview</h5> - <ul> - <li class="none"> - <a href="../index.html">Introduction</a> - </li> - <li class="none"> - <a href="../plugin-info.html">Goals</a> - </li> - <li class="none"> - <a href="../usage.html">Usage</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - <li class="none"> - <a href="http://www.apache.org/licenses/" class="externalLink">License</a> - </li> - <li class="none"> - <a href="../download.html">Download</a> - </li> - </ul> - <h5>Examples</h5> - <ul> - <li class="none"> - <a href="../examples/compile-using-different-jdk.html">Compile Using A Different JDK</a> - </li> - <li class="none"> - <strong>Compile Using -source and -target javac Options</strong> + + + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div class="well sidebar-nav"> + + + <ul class="nav nav-list"> + <li class="nav-header">Overview</li> + + <li> + + <a href="../index.html" title="Introduction"> + <span class="none"></span> + Introduction</a> + </li> + + <li> + + <a href="../plugin-info.html" title="Goals"> + <span class="none"></span> + Goals</a> + </li> + + <li> + + <a href="../usage.html" title="Usage"> + <span class="none"></span> + Usage</a> + </li> + + <li> + + <a href="../faq.html" title="FAQ"> + <span class="none"></span> + FAQ</a> + </li> + + <li> + + <a href="http://www.apache.org/licenses/" class="externalLink" title="License"> + <span class="none"></span> + License</a> + </li> + + <li> + + <a href="../download.html" title="Download"> + <span class="none"></span> + Download</a> + </li> + <li class="nav-header">Examples</li> + + <li> + + <a href="../examples/compile-using-different-jdk.html" title="Compile Using A Different JDK"> + <span class="none"></span> + Compile Using A Different JDK</a> + </li> + + <li class="active"> + + <a href="#"><span class="none"></span>Compile Using -source and -target javac Options</a> </li> - <li class="none"> - <a href="../examples/compile-with-memory-enhancements.html">Compile Using Memory Allocation Enhancements</a> - </li> - <li class="none"> - <a href="../examples/pass-compiler-arguments.html">Pass Compiler Arguments</a> - </li> - <li class="none"> - <a href="../non-javac-compilers.html">Non-javac compilerIds</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> + + <li> + + <a href="../examples/compile-with-memory-enhancements.html" title="Compile Using Memory Allocation Enhancements"> + <span class="none"></span> + Compile Using Memory Allocation Enhancements</a> + </li> + + <li> + + <a href="../examples/pass-compiler-arguments.html" title="Pass Compiler Arguments"> + <span class="none"></span> + Pass Compiler Arguments</a> + </li> + + <li> + + <a href="../non-javac-compilers.html" title="Non-javac compilerIds"> + <span class="none"></span> + Non-javac compilerIds</a> + </li> + <li class="nav-header">Project Documentation</li> + + <li> + + <a href="../project-info.html" title="Project Information"> + <span class="icon-chevron-right"></span> + Project Information</a> </li> - <li class="collapsed"> - <a href="../project-reports.html">Project Reports</a> + + <li> + + <a href="../project-reports.html" title="Project Reports"> + <span class="icon-chevron-right"></span> + Project Reports</a> </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../../../doxia/index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../../ref/current">Maven</a> - </li> - <li class="none"> - <a href="../../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../../plugin-testing/index.html">Plugin Testing</a> - </li> - <li class="none"> - <a href="../../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../../apache-resource-bundles/index.html">Resource Bundles</a> - </li> - <li class="none"> - <a href="../../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> + <li class="nav-header">Maven Projects</li> + + <li> + + <a href="../../../ant-tasks/index.html" title="Ant Tasks"> + <span class="none"></span> + Ant Tasks</a> + </li> + + <li> + + <a href="../../../archetype/index.html" title="Archetype"> + <span class="none"></span> + Archetype</a> + </li> + + <li> + + <a href="../../../doxia/index.html" title="Doxia"> + <span class="none"></span> + Doxia</a> + </li> + + <li> + + <a href="../../../jxr/index.html" title="JXR"> + <span class="none"></span> + JXR</a> + </li> + + <li> + + <a href="../../../ref/current" title="Maven"> + <span class="none"></span> + Maven</a> + </li> + + <li> + + <a href="../../../pom/index.html" title="Parent POMs"> + <span class="none"></span> + Parent POMs</a> + </li> + + <li> + + <a href="../../index.html" title="Plugins"> + <span class="none"></span> + Plugins</a> + </li> + + <li> + + <a href="../../../plugin-testing/index.html" title="Plugin Testing"> + <span class="none"></span> + Plugin Testing</a> + </li> + + <li> + + <a href="../../../plugin-tools/index.html" title="Plugin Tools"> + <span class="none"></span> + Plugin Tools</a> + </li> + + <li> + + <a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"> + <span class="none"></span> + Resource Bundles</a> + </li> + + <li> + + <a href="../../../scm/index.html" title="SCM"> + <span class="none"></span> + SCM</a> + </li> + + <li> + + <a href="../../../shared/index.html" title="Shared Components"> + <span class="none"></span> + Shared Components</a> + </li> + + <li> + + <a href="../../../skins/index.html" title="Skins"> + <span class="none"></span> + Skins</a> + </li> + + <li> + + <a href="../../../surefire/index.html" title="Surefire"> + <span class="none"></span> + Surefire</a> + </li> + + <li> + + <a href="../../../wagon/index.html" title="Wagon"> + <span class="none"></span> + Wagon</a> + </li> + <li class="nav-header">ASF</li> + + <li> + + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"> + <span class="none"></span> + How Apache Works</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation"> + <span class="none"></span> + Foundation</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"> + <span class="none"></span> + Sponsoring Apache</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + <span class="none"></span> + Thanks</a> + </li> + </ul> + + + <form id="search-form" action="https://www.google.com/search" method="get" > + + <input value="$sitesearchValue" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script> + + <hr /> + + <div id="poweredBy"> + + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + + + <div class="g-plusone" data-href="http://maven.apache.org/plugins/maven-compiler-plugin/" data-size="tall" ></div> + + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + </div> + + + <div id="bodyColumn" class="span10" > + + <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/ apt-format.html --><div class="section"> <h2><a name="Setting_the_-source_and_-target_of_the_Java_Compiler"></a>Setting the <tt>-source</tt> and <tt>-target</tt> of the Java Compiler</h2> <p>Sometimes when you may need to compile a certain project to a different version than what you are currently using. The <tt>javac</tt> can accept such command using <tt>-source</tt> and <tt>-target</tt>. The Compiler Plugin can also be configured to provide these options during compilation.</p> <p>For example, if you want to enable assertions (<tt>-source 1.4</tt>) and also want the compiled classes to be compatible with JVM 1.4 (<tt>-target 1.4</tt>), you can then put:</p> -<div class="source"> -<pre><project> +<div class="source"><pre class="prettyprint linenums"><project> [...] <build> [...] @@ -190,7 +362,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.3</version> + <version>3.5-SNAPSHOT</version> <configuration> <source>1.4</source> <target>1.4</target> @@ -200,24 +372,27 @@ [...] </build> [...] -</project></pre></div> +</project> +</pre></div> <p><b>Note:</b> Merely setting the <tt>target</tt> option does not guarantee that your code actually runs on a JRE with the specified version. The pitfall is unintended usage of APIs that only exist in later JREs which would make your code fail at runtime with a linkage error. To avoid this issue, you can either configure the compiler's boot classpath to match the target JRE or use the <a class="externalLink" href="http://mojo.codehaus.org/animal-sniffer-maven-plugin/">Animal Sniffer Maven Plugin</a> to verify your code doesn't use unintended APIs.</p></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2001-2015 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2001–2016 + <a href="http://www.apache.org/">The Apache Software Foundation</a>. + All rights reserved. + + </p> + </div> + + + </div> + </footer> + </body> </html> \ No newline at end of file