You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by rf...@apache.org on 2019/06/07 14:14:58 UTC
svn commit: r1860755 [14/16] - in
/maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST:
./ apidocs/ apidocs/org/apache/maven/plugin/
apidocs/org/apache/maven/plugins/
apidocs/org/apache/maven/plugins/toolchain/ apidocs/org/apache/m...
Modified: maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/custom.html
==============================================================================
--- maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/custom.html (original)
+++ maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/custom.html Fri Jun 7 14:14:57 2019
@@ -1,259 +1,193 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
- | Generated by Apache Maven Doxia at 2014-11-11
- | Rendered using Apache Maven Stylus Skin 1.5
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Apache Maven Toolchains Plugin – Custom Toolchains</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="Hervé Boutemy" />
- <meta name="Date-Creation-yyyymmdd" content="20141108" />
- <meta name="Date-Revision-yyyymmdd" content="20141111" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
-<script src="http://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="" />
- </a>
- <span id="bannerRight">
- <img src="../../../images/maven-logo-2.gif" alt="" />
- </span>
- <div class="clear">
- <hr/>
- </div>
- </div>
- <div id="breadcrumbs">
-
- <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 Toolchains Plugin</a>
- >
- Custom Toolchains
- </div>
- <div class="xright">
- Last Published: 2014-11-11
- | Version: 1.1
- </div>
- <div class="clear">
- <hr/>
- </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="http://www.apache.org/licenses/" class="externalLink">License</a>
- </li>
- <li class="none">
- <a href="../download.html">Download</a>
- </li>
- </ul>
- <h5>Toolchains</h5>
- <ul>
- <li class="none">
- <a href="../toolchains/index.html">Standard Toolchains</a>
- </li>
- <li class="none">
- <a href="../toolchains/jdk.html">JDK Standard Toolchain</a>
- </li>
- <li class="none">
- <strong>Custom Toolchains</strong>
- </li>
- </ul>
- <h5>Project Documentation</h5>
- <ul>
- <li class="collapsed">
- <a href="../project-info.html">Project Information</a>
- </li>
- <li class="collapsed">
- <a href="../project-reports.html">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. --><div class="section">
-<h2><a name="Custom_Toolchains"></a>Custom Toolchains</h2>
-<p>You can create your own custom toolchains with plugins using them.</p>
-<p>A full working sample is included in <tt>maven-toolchains-plugin</tt> ITs, which are part of <a href="../source-repository.html">the plugin source tree</a>:</p>
-<ul>
-<li>see <tt>src/it/custom-toolchain-plugin</tt> for the custom toolchain and plugin,</li>
-<li>see <tt>src/it/use-custom-toolchain</tt> for a sample project using the toolchain through its plugin.</li></ul>
-<p>Following instructions are explanations of key points of the sample.</p>
-<div class="section">
-<h3><a name="Creating_Custom_Toolchain"></a>Creating Custom Toolchain</h3>
-<p>A toolchain consists in:</p>
-<ul>
-<li>an interface extending <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/Toolchain.html"><tt>org.apache.maven.toolchain.Toolchain</tt></a>,</li>
-<li>an implementation of this interface. Extending <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/DefaultToolchain.html"><tt>org.apache.maven.toolchain.DefaultToolchain</tt></a> is strongly encouraged, since its provides <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainPrivate.html"><tt>org.apache.maven.toolchain.ToolchainPrivate</tt></a>, which is an internal requirement,</li>
-<li>a <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainFactory.html"><tt>org.apache.maven.toolchain.ToolchainFactory</tt></a>, provided as Plexus component: Plexus <a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-annotations/"><tt>@Component</tt></a> annotation in the class is extracted by <a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-metadata/"><tt>plexus-component-metadata</tt></a> plugin.</li></ul></div>
-<div class="section">
-<h3><a name="Creating_a_Plugin_Using_a_Toolchain"></a>Creating a Plugin Using a Toolchain</h3>
-<p>To get a configured toolchain, a plugin uses <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainManager.html"><tt>ToolchainManager</tt></a> API to get expected toolchain, then some tool in the toolchain:</p>
-<div class="source">
-<pre> @Component
- private ToolchainManager toolchainManager;
-
- @Parameter( defaultValue = "${session}", required = true, readonly = true )
- private MavenSession session;
-
- public void execute()
- throws MojoExecutionException
- {
- // get the custom toolchain
- CustomToolchain toolchain = (CustomToolchain) toolchainManager.getToolchainFromBuildContext( "custom", session );
-
- if ( toolchain == null )
- {
- throw new MojoExecutionException( "Could not find 'custom' toolchain: please check maven-toolchains-plugin configuration." );
- }
-
- getLog().info( "Found 'custom' toolchain in build context." );
-
- // get a tool from the toolchain
- String path = toolchain.findTool( "tool" );
-
- getLog().info( "Found expected tool named 'tool' at following location: " + path );
- }</pre></div>
-<p>This code uses <a href="/plugin-tools/maven-plugin-plugin/examples/using-annotations.html">Maven Plugin Tool Java 5 Annotations</a>.</p></div>
-<div class="section">
-<h3><a name="Using_the_Custom_Toolchain_and_its_Plugin"></a>Using the Custom Toolchain and its Plugin</h3>
-<p>The custom toolchain implementation needs to be shared between the toolchain-aware plugin and <tt>maven-toolchains-plugin</tt>: this is done using Maven extension:</p>
-<ul>
-<li>if the toolchain is packaged with the plugin, this is done by declaring the plugin as extension:
-<div class="source">
-<pre> <plugin>
- <groupId>...</groupId>
- <artifactId>...</artifactId>
- <version>...</version>
- <extensions>true</extensions><!-- to share the custom toolchain with maven-toolchains-plugin -->
- </plugin></pre></div></li>
-<li>if the toolchain is packaged separately, to be shared by multiple plugins, it has to be declared as a build extension:
-<div class="source">
-<pre><project>
- <build>
- <extensions>
- <extension>
- <groupId>...</groupId>
- <artifactId>...</artifactId>
- <version>...</version>
- </extension>
- </extensions>
- </build>
-</project></pre></div></li></ul>
-<p>Notice that packaging a toolchain in its own artifact separate from plugin is only useful when there are multiple plugins using the toolchain. As it is expected in general that a custom toolchain will be used by only one plugin (eventually providing multiple goals), it is simpler to package the toolchain with the plugin in only one artifact.</p></div></div>
- </div>
- </div>
- <div class="clear">
- <hr/>
- </div>
- <div id="footer">
- <div class="xright">
- © 2002-2014
- 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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/toolchains\custom.apt at 2019-06-07
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<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="Hervé Boutemy" />
+ <meta name="Date-Creation-yyyymmdd" content="20141108" />
+ <meta name="Date-Revision-yyyymmdd" content="20190607" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Toolchains Plugin – Custom Toolchains</title>
+ <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.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.7.min.js"></script>
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-140879-1']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Toolchains Plugin"/></a></div>
+ <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://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="../index.html" title="Apache Maven Toolchains Plugin">Apache Maven Toolchains Plugin</a><span class="divider">/</span></li>
+ <li class="active ">Custom Toolchains <a href="https://github.com/apache/maven-toolchains-plugin/tree/maven-toolchains-plugin-3.0.0/src\site\apt/toolchains\custom.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-06-07</li>
+ <li id="projectVersion" class="pull-right">Version: 3.0.0</li>
+ </ul>
+ </div>
+ <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="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">Toolchains</li>
+ <li><a href="../toolchains/index.html" title="Standard Toolchains"><span class="none"></span>Standard Toolchains</a></li>
+ <li><a href="../toolchains/jdk.html" title="JDK Standard Toolchain"><span class="none"></span>JDK Standard Toolchain</a></li>
+ <li class="active"><a href="#"><span class="none"></span>Custom Toolchains</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><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</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="https://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="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://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">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div id="twitter">
+ <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+ <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </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" >
+<div class="section">
+<h2><a name="Custom_Toolchains"></a>Custom Toolchains</h2>
+<p>You can create your own custom toolchains with plugins using them.</p>
+<p>A full working sample is included in <tt>maven-toolchains-plugin</tt> ITs, which are part of <a href="../source-repository.html">the plugin source tree</a>:</p>
+<ul>
+<li>see <tt>src/it/setup-custom-toolchain</tt> for the custom toolchain and plugin,</li>
+<li>see <tt>src/it/use-custom-toolchain</tt> for a sample project using the toolchain through its plugin.</li></ul>
+<p>Following instructions are explanations of key points of the sample.</p>
+<div class="section">
+<h3><a name="Creating_Custom_Toolchain"></a>Creating Custom Toolchain</h3>
+<p>A toolchain consists in:</p>
+<ul>
+<li>an interface extending <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/Toolchain.html"><tt>org.apache.maven.toolchain.Toolchain</tt></a>,</li>
+<li>an implementation of this interface. Extending <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/DefaultToolchain.html"><tt>org.apache.maven.toolchain.DefaultToolchain</tt></a> is strongly encouraged, since its provides <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainPrivate.html"><tt>org.apache.maven.toolchain.ToolchainPrivate</tt></a>, which is an internal requirement,</li>
+<li>a <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainFactory.html"><tt>org.apache.maven.toolchain.ToolchainFactory</tt></a>, provided as Plexus component: Plexus <a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-annotations/"><tt>@Component</tt></a> annotation in the class is extracted by <a class="externalLink" href="http://plexus.codehaus.org/plexus-containers/plexus-component-metadata/"><tt>plexus-component-metadata</tt></a> plugin.</li></ul></div>
+<div class="section">
+<h3><a name="Creating_a_Plugin_Using_a_Toolchain"></a>Creating a Plugin Using a Toolchain</h3>
+<p>To get a configured toolchain, a plugin uses <a href="/ref/current/maven-core/apidocs/org/apache/maven/toolchain/ToolchainManager.html"><tt>ToolchainManager</tt></a> API to get expected toolchain, then some tool in the toolchain:</p>
+<div class="source"><pre class="prettyprint linenums"> @Component
+ private ToolchainManager toolchainManager;
+
+ @Parameter( defaultValue = "${session}", required = true, readonly = true )
+ private MavenSession session;
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ // get the custom toolchain
+ CustomToolchain toolchain = (CustomToolchain) toolchainManager.getToolchainFromBuildContext( "custom", session );
+
+ if ( toolchain == null )
+ {
+ throw new MojoExecutionException( "Could not find 'custom' toolchain: please check maven-toolchains-plugin configuration." );
+ }
+
+ getLog().info( "Found 'custom' toolchain in build context." );
+
+ // get a tool from the toolchain
+ String path = toolchain.findTool( "tool" );
+
+ getLog().info( "Found expected tool named 'tool' at following location: " + path );
+ }
+</pre></div>
+<p>This code uses <a href="/plugin-tools/maven-plugin-plugin/examples/using-annotations.html">Maven Plugin Tool Java 5 Annotations</a>.</p></div>
+<div class="section">
+<h3><a name="Using_the_Custom_Toolchain_and_its_Plugin"></a>Using the Custom Toolchain and its Plugin</h3>
+<p>The custom toolchain implementation needs to be shared between the toolchain-aware plugin and <tt>maven-toolchains-plugin</tt>: this is done using Maven extension:</p>
+<ul>
+<li>if the toolchain is packaged with the plugin, this is done by declaring the plugin as extension:
+<div class="source"><pre class="prettyprint linenums"> <plugin>
+ <groupId>...</groupId>
+ <artifactId>...</artifactId>
+ <version>...</version>
+ <extensions>true</extensions><!-- to share the custom toolchain with maven-toolchains-plugin -->
+ </plugin>
+</pre></div></li>
+<li>if the toolchain is packaged separately, to be shared by multiple plugins, it has to be declared as a build extension:
+<div class="source"><pre class="prettyprint linenums"><project>
+ <build>
+ <extensions>
+ <extension>
+ <groupId>...</groupId>
+ <artifactId>...</artifactId>
+ <version>...</version>
+ </extension>
+ </extensions>
+ </build>
+</project>
+</pre></div></li></ul>
+<p>Notice that packaging a toolchain in its own artifact separate from plugin is only useful when there are multiple plugins using the toolchain. As it is expected in general that a custom toolchain will be used by only one plugin (eventually providing multiple goals), it is simpler to package the toolchain with the plugin in only one artifact.</p></div></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2002–2019
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file
Modified: maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/index.html
==============================================================================
--- maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/index.html (original)
+++ maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/index.html Fri Jun 7 14:14:57 2019
@@ -1,195 +1,129 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
- | Generated by Apache Maven Doxia at 2014-11-11
- | Rendered using Apache Maven Stylus Skin 1.5
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Apache Maven Toolchains Plugin – Standard Toolchains</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="Milos Kleint" />
- <meta name="Date-Creation-yyyymmdd" content="20071010" />
- <meta name="Date-Revision-yyyymmdd" content="20141111" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
-<script src="http://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="" />
- </a>
- <span id="bannerRight">
- <img src="../../../images/maven-logo-2.gif" alt="" />
- </span>
- <div class="clear">
- <hr/>
- </div>
- </div>
- <div id="breadcrumbs">
-
- <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 Toolchains Plugin</a>
- >
- Standard Toolchains
- </div>
- <div class="xright">
- Last Published: 2014-11-11
- | Version: 1.1
- </div>
- <div class="clear">
- <hr/>
- </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="http://www.apache.org/licenses/" class="externalLink">License</a>
- </li>
- <li class="none">
- <a href="../download.html">Download</a>
- </li>
- </ul>
- <h5>Toolchains</h5>
- <ul>
- <li class="none">
- <strong>Standard Toolchains</strong>
- </li>
- <li class="none">
- <a href="../toolchains/jdk.html">JDK Standard Toolchain</a>
- </li>
- <li class="none">
- <a href="../toolchains/custom.html">Custom Toolchains</a>
- </li>
- </ul>
- <h5>Project Documentation</h5>
- <ul>
- <li class="collapsed">
- <a href="../project-info.html">Project Information</a>
- </li>
- <li class="collapsed">
- <a href="../project-reports.html">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. --><div class="section">
-<h2><a name="Standard_Toolchains"></a>Standard Toolchains</h2>
-<p>The following standard toolchains are included by default with Maven:</p>
-<ul>
-<li><a href="./jdk.html">JDK</a> - Defines the location and identification of a Java Development Kit</li></ul>
-<p>You can also create and use your own custom toolchains by following the <a href="./custom.html">Custom Toolchains</a> instructions.</p></div>
- </div>
- </div>
- <div class="clear">
- <hr/>
- </div>
- <div id="footer">
- <div class="xright">
- © 2002-2014
- 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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/toolchains\index.apt at 2019-06-07
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<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="Milos Kleint" />
+ <meta name="Date-Creation-yyyymmdd" content="20071010" />
+ <meta name="Date-Revision-yyyymmdd" content="20190607" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Toolchains Plugin – Standard Toolchains</title>
+ <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.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.7.min.js"></script>
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-140879-1']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Toolchains Plugin"/></a></div>
+ <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://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="../index.html" title="Apache Maven Toolchains Plugin">Apache Maven Toolchains Plugin</a><span class="divider">/</span></li>
+ <li class="active ">Standard Toolchains <a href="https://github.com/apache/maven-toolchains-plugin/tree/maven-toolchains-plugin-3.0.0/src\site\apt/toolchains\index.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-06-07</li>
+ <li id="projectVersion" class="pull-right">Version: 3.0.0</li>
+ </ul>
+ </div>
+ <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="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">Toolchains</li>
+ <li class="active"><a href="#"><span class="none"></span>Standard Toolchains</a></li>
+ <li><a href="../toolchains/jdk.html" title="JDK Standard Toolchain"><span class="none"></span>JDK Standard Toolchain</a></li>
+ <li><a href="../toolchains/custom.html" title="Custom Toolchains"><span class="none"></span>Custom Toolchains</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><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</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="https://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="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://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">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div id="twitter">
+ <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+ <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </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" >
+<div class="section">
+<h2><a name="Standard_Toolchains"></a>Standard Toolchains</h2>
+<p>The following standard toolchains are included by default with Maven:</p>
+<ul>
+<li><a href="./jdk.html">JDK</a> - Defines the location and identification of a Java Development Kit</li></ul>
+<p>You can also create and use your own custom toolchains by following the <a href="./custom.html">Custom Toolchains</a> instructions.</p></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2002–2019
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file
Modified: maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/jdk.html
==============================================================================
--- maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/jdk.html (original)
+++ maven/website/components/plugins-archives/maven-toolchains-plugin-LATEST/toolchains/jdk.html Fri Jun 7 14:14:57 2019
@@ -1,255 +1,189 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
- | Generated by Apache Maven Doxia at 2014-11-11
- | Rendered using Apache Maven Stylus Skin 1.5
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Apache Maven Toolchains Plugin – JDK Toolchain</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="Milos Kleint" />
- <meta name="Date-Creation-yyyymmdd" content="20141102" />
- <meta name="Date-Revision-yyyymmdd" content="20141111" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-
-<script src="http://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="" />
- </a>
- <span id="bannerRight">
- <img src="../../../images/maven-logo-2.gif" alt="" />
- </span>
- <div class="clear">
- <hr/>
- </div>
- </div>
- <div id="breadcrumbs">
-
- <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 Toolchains Plugin</a>
- >
- JDK Toolchain
- </div>
- <div class="xright">
- Last Published: 2014-11-11
- | Version: 1.1
- </div>
- <div class="clear">
- <hr/>
- </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="http://www.apache.org/licenses/" class="externalLink">License</a>
- </li>
- <li class="none">
- <a href="../download.html">Download</a>
- </li>
- </ul>
- <h5>Toolchains</h5>
- <ul>
- <li class="none">
- <a href="../toolchains/index.html">Standard Toolchains</a>
- </li>
- <li class="none">
- <strong>JDK Standard Toolchain</strong>
- </li>
- <li class="none">
- <a href="../toolchains/custom.html">Custom Toolchains</a>
- </li>
- </ul>
- <h5>Project Documentation</h5>
- <ul>
- <li class="collapsed">
- <a href="../project-info.html">Project Information</a>
- </li>
- <li class="collapsed">
- <a href="../project-reports.html">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. --><div class="section">
-<h2><a name="JDK_Toolchain"></a>JDK Toolchain</h2>
-<div class="section">
-<h3><a name="Toolchain_Identification"></a>Toolchain Identification</h3>
-<p>The toolchain type id for JDK is "<tt>jdk</tt>".</p>
-<p>Predefined identification tokens, for requirement matching, are:</p>
-<ul>
-<li>"<tt>version</tt>" marks the version of the jdk. Maven Toolchains Plugin can match against a single version or any version ranges,</li>
-<li>any other tokens will be accepted, but only exact matches are supported.</li></ul></div>
-<div class="section">
-<h3><a name="Toolchain_Configuration"></a>Toolchain Configuration</h3>
-<p>There is only one configuration element named "<tt>jdkHome</tt>". It designates the root directory of JDK installation.</p></div>
-<div class="section">
-<h3><a name="Sample_toolchains.xml_setup"></a>Sample <tt>toolchains.xml</tt> setup</h3>
-<div class="source">
-<pre><toolchains>
- <toolchain>
- <type>jdk</type>
- <provides>
- <version>1.5</version>
- <vendor>sun</vendor>
- <id>for_mevenide</id>
- </provides>
- <configuration>
- <jdkHome>/home/mkleint/javatools/jdk</jdkHome>
- </configuration>
- </toolchain>
- [...]
-</toolchains></pre></div></div>
-<div class="section">
-<h3><a name="Toolchains_Plugin_Configuration"></a>Toolchains Plugin Configuration</h3>
-<p>For selection of toolchain for use by the project, the following conditions are matched against the definitions in the <tt>toolchains.xml</tt> file:</p>
-<ul>
-<li>"<tt>version</tt>" which accepts any <a href="/plugins/maven-enforcer-plugin/rules/versionRanges.html">version range definitions</a>. Version declared by the toolchain needs to fit into the range,</li>
-<li>any other tokens needs exact match. Toolchain not providing such token will not be selected.</li></ul>
-<p>All conditions need to be satisfied in a sucessfully matched toolchain.</p></div>
-<div class="section">
-<h3><a name="Sample_Plugin_Configuration"></a>Sample Plugin Configuration</h3>
-<div class="source">
-<pre><project>
- [...]
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-toolchains-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <goals>
- <goal>toolchain</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <toolchains>
- <jdk>
- <version>[1.5,)</version>
- </jdk>
- </toolchains>
- </configuration>
- </plugin>
- </plugins>
- </build>
- [...]
-</project></pre></div></div></div>
- </div>
- </div>
- <div class="clear">
- <hr/>
- </div>
- <div id="footer">
- <div class="xright">
- © 2002-2014
- 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>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/toolchains\jdk.apt.vm at 2019-06-07
+ | Rendered using Apache Maven Fluido Skin 1.7
+-->
+<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="Milos Kleint" />
+ <meta name="Date-Creation-yyyymmdd" content="20141102" />
+ <meta name="Date-Revision-yyyymmdd" content="20190607" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Apache Maven Toolchains Plugin – JDK Toolchain</title>
+ <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.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.7.min.js"></script>
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-140879-1']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ </head>
+ <body class="topBarDisabled">
+ <div class="container-fluid">
+ <div id="banner">
+ <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Toolchains Plugin"/></a></div>
+ <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></a></div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+ <li class=""><a href="https://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="../index.html" title="Apache Maven Toolchains Plugin">Apache Maven Toolchains Plugin</a><span class="divider">/</span></li>
+ <li class="active ">JDK Toolchain <a href="https://github.com/apache/maven-toolchains-plugin/tree/maven-toolchains-plugin-3.0.0/src\site\apt/toolchains\jdk.apt.vm"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li>
+ <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-06-07</li>
+ <li id="projectVersion" class="pull-right">Version: 3.0.0</li>
+ </ul>
+ </div>
+ <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="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">Toolchains</li>
+ <li><a href="../toolchains/index.html" title="Standard Toolchains"><span class="none"></span>Standard Toolchains</a></li>
+ <li class="active"><a href="#"><span class="none"></span>JDK Standard Toolchain</a></li>
+ <li><a href="../toolchains/custom.html" title="Custom Toolchains"><span class="none"></span>Custom Toolchains</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><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li>
+ <li class="nav-header">Maven Projects</li>
+ <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li>
+ <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</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="https://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="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li>
+ <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li>
+ <li><a href="https://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">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
+ <hr />
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div id="twitter">
+ <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a>
+ <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </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" >
+<div class="section">
+<h2><a name="JDK_Toolchain"></a>JDK Toolchain</h2>
+<div class="section">
+<h3><a name="Toolchain_Identification"></a>Toolchain Identification</h3>
+<p>The toolchain type id for JDK is "<tt>jdk</tt>".</p>
+<p>Predefined identification tokens, for requirement matching, are:</p>
+<ul>
+<li>"<tt>version</tt>" marks the version of the jdk. Maven Toolchains Plugin can match against a single version or any version ranges,</li>
+<li>any other tokens will be accepted, but only exact matches are supported.</li></ul></div>
+<div class="section">
+<h3><a name="Toolchain_Configuration"></a>Toolchain Configuration</h3>
+<p>There is only one configuration element named "<tt>jdkHome</tt>". It designates the root directory of JDK installation.</p></div>
+<div class="section">
+<h3><a name="Sample_toolchains.xml_setup"></a>Sample <tt>toolchains.xml</tt> setup</h3>
+<div class="source"><pre class="prettyprint linenums"><toolchains>
+ <toolchain>
+ <type>jdk</type>
+ <provides>
+ <version>1.5</version>
+ <vendor>sun</vendor>
+ <id>for_mevenide</id>
+ </provides>
+ <configuration>
+ <jdkHome>/home/mkleint/javatools/jdk</jdkHome>
+ </configuration>
+ </toolchain>
+ [...]
+</toolchains>
+</pre></div></div>
+<div class="section">
+<h3><a name="Toolchains_Plugin_Configuration"></a>Toolchains Plugin Configuration</h3>
+<p>For selection of toolchain for use by the project, the following conditions are matched against the definitions in the <tt>toolchains.xml</tt> file:</p>
+<ul>
+<li>"<tt>version</tt>" which accepts any <a href="/plugins/maven-enforcer-plugin/rules/versionRanges.html">version range definitions</a>. Version declared by the toolchain needs to fit into the range,</li>
+<li>any other tokens needs exact match. Toolchain not providing such token will not be selected.</li></ul>
+<p>All conditions need to be satisfied in a sucessfully matched toolchain.</p></div>
+<div class="section">
+<h3><a name="Sample_Plugin_Configuration"></a>Sample Plugin Configuration</h3>
+<div class="source"><pre class="prettyprint linenums"><project>
+ [...]
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <toolchains>
+ <jdk>
+ <version>[1.5,)</version>
+ </jdk>
+ </toolchains>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ [...]
+</project>
+</pre></div></div></div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <footer>
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <p>Copyright ©2002–2019
+<a href="https://www.apache.org/">The Apache Software Foundation</a>.
+All rights reserved.</p>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file