Repository: maven Updated Branches: refs/heads/MNG-6006 a07dbf537 -> b14478659 (forced update)
added core extensions documentation Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/37700447 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/37700447 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/37700447 Branch: refs/heads/MNG-6006 Commit: 37700447bdde904bb65fcd0f8c8493e747705533 Parents: 2824696 Author: Hervé Boutemy <hbout...@apache.org> Authored: Sat Jun 25 18:58:01 2016 +0200 Committer: Hervé Boutemy <hbout...@apache.org> Committed: Sat Jun 25 18:58:01 2016 +0200 ---------------------------------------------------------------------- .../main/resources/META-INF/maven/extension.xml | 7 +++-- maven-core/src/site/apt/core-extensions.apt.vm | 30 ++++++++++++++++++++ maven-core/src/site/apt/index.apt | 2 +- maven-core/src/site/site.xml | 1 + 4 files changed, 36 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/37700447/maven-core/src/main/resources/META-INF/maven/extension.xml ---------------------------------------------------------------------- diff --git a/maven-core/src/main/resources/META-INF/maven/extension.xml b/maven-core/src/main/resources/META-INF/maven/extension.xml index 07e60aa..f9cf07a 100644 --- a/maven-core/src/main/resources/META-INF/maven/extension.xml +++ b/maven-core/src/main/resources/META-INF/maven/extension.xml @@ -18,7 +18,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - +<!-- START SNIPPET: core-extension --> <extension> <exportedPackages> <!-- maven-* --> @@ -161,7 +161,7 @@ under the License. <exportedArtifact>org.fusesource.jansi:jansi</exportedArtifact> <!-- - | We must also filter out the old or NoClassDefFoundErrors will surface + | We must also filter out the old Aether or NoClassDefFoundErrors will surface --> <exportedArtifact>org.sonatype.aether:aether-api</exportedArtifact> <exportedArtifact>org.sonatype.aether:aether-spi</exportedArtifact> @@ -174,4 +174,5 @@ under the License. | wagon from their plugin realm. --> </exportedArtifacts> -</extension> \ No newline at end of file +</extension> +<!-- END SNIPPET: core-extension --> http://git-wip-us.apache.org/repos/asf/maven/blob/37700447/maven-core/src/site/apt/core-extensions.apt.vm ---------------------------------------------------------------------- diff --git a/maven-core/src/site/apt/core-extensions.apt.vm b/maven-core/src/site/apt/core-extensions.apt.vm new file mode 100644 index 0000000..3d7abca --- /dev/null +++ b/maven-core/src/site/apt/core-extensions.apt.vm @@ -0,0 +1,30 @@ +~~ 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. + + --- + Maven Core Extensions Reference + --- + Hervé Boutemy + --- + 2016-06-25 + --- + +Maven Core Extensions Reference + + Maven core provides default extensions as defined in <<</META-INF/maven/extension.xml>>>: + +%{snippet|id=core-extension|file=${project.basedir}/src/main/resources/META-INF/maven/extension.xml} http://git-wip-us.apache.org/repos/asf/maven/blob/37700447/maven-core/src/site/apt/index.apt ---------------------------------------------------------------------- diff --git a/maven-core/src/site/apt/index.apt b/maven-core/src/site/apt/index.apt index 61d1772..966b57c 100644 --- a/maven-core/src/site/apt/index.apt +++ b/maven-core/src/site/apt/index.apt @@ -53,7 +53,7 @@ Maven Core ({{{./xref/org/apache/maven/classrealm/DefaultClassRealmManager.html}source}}), using {{{https://codehaus-plexus.github.io/plexus-classworlds/}Plexus Classworlds}}, - * {{{./extension.html}extension descriptor}}, + * {{{./extension.html}extension descriptor}} and {{{./core-extensions.html}core extensions}}, * <<<ExceptionHandler>>> component ({{{./apidocs/org/apache/maven/exception/ExceptionHandler.html}javadoc}}), with its <<<DefaultExceptionHandler>>> implementation http://git-wip-us.apache.org/repos/asf/maven/blob/37700447/maven-core/src/site/site.xml ---------------------------------------------------------------------- diff --git a/maven-core/src/site/site.xml b/maven-core/src/site/site.xml index 2c38d2a..9eb3ad0 100644 --- a/maven-core/src/site/site.xml +++ b/maven-core/src/site/site.xml @@ -34,6 +34,7 @@ under the License. <item name="Lifecycles" href="lifecycles.html"/> <item name="Plugin Bindings to Default Lifecycle" href="default-bindings.html"/> <item name="Artifact Handlers" href="artifact-handlers.html"/> + <item name="Core Extensions" href="core-extensions.html"/> </menu> <menu ref="parent"/>