[MNG-7666] update documentation

This commit is contained in:
Hervé Boutemy 2023-03-08 18:45:23 +01:00
parent 1ffd68b802
commit ea21d6f6fc
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import static java.util.Objects.requireNonNull;
* Base lifecycle mapping provider, ie per-packaging plugin bindings for {@code default} lifecycle.
*/
public abstract class AbstractLifecycleMappingProvider implements Provider<LifecycleMapping> {
// START SNIPPET: versions
protected static final String RESOURCES_PLUGIN_VERSION = "3.3.0";
protected static final String COMPILER_PLUGIN_VERSION = "3.10.1";
@ -57,6 +58,7 @@ public abstract class AbstractLifecycleMappingProvider implements Provider<Lifec
protected static final String RAR_PLUGIN_VERSION = "3.0.0";
protected static final String WAR_PLUGIN_VERSION = "3.3.2";
// END SNIPPET: versions
private final LifecycleMapping lifecycleMapping;

View File

@ -31,6 +31,10 @@ Plugins Bindings for <<<default>>> Lifecycle Reference
%{toc|fromDepth=2}
Versions of the plugins are shared in a few constants:
%{snippet|id=versions|file=${project.basedir}/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java}
* Plugin bindings for <<<pom>>> packaging
%{snippet|id=pom|file=${project.basedir}/src/main/java/org/apache/maven/lifecycle/providers/packaging/PomLifecycleMappingProvider.java}