From 42fcc3b47a2dfed6b6c0b7dff64e0640d0838ed4 Mon Sep 17 00:00:00 2001
From: Guillaume Nodet This is a reference for the user-specific configuration for Maven. Includes things that should not be distributed with the pom.xml file, such as developer identity, along with
local settings, like proxy information. The default location for the settings file is ~/.m2/settings.xml The default location for the settings file is {@code ~/.m2/settings.xml}.
-
Profile
, Proxy
and Server
.
- ]]>${user.home}/.m2/repository
+ The local repository.
Default value is: {@code ${user.home}/.m2/repository}
]]>
activeProxy
field to null
+ * Reset the {@code activeProxy} field to {@code null}.
*/
- public void flushActiveProxy()
- {
+ public void flushActiveProxy() {
this.activeProxy = null;
}
/**
* @return the first active proxy
*/
- public synchronized Proxy getActiveProxy()
- {
- if ( activeProxy == null )
- {
+ public synchronized Proxy getActiveProxy() {
+ if (activeProxy == null) {
java.util.ListprofileMap
field to null
+ * Reset the {@code profileMap} field to {@code null}
*/
- public void flushProfileMap()
- {
+ public void flushProfileMap() {
this.profileMap = null;
}
/**
- * @return a Map of profiles field with Profile#getId()
as key
- * @see Profile#getId()
+ * @return a Map of profiles field keyed by {@link Profile#getId()}
*/
- public java.util.Map
@@ -760,20 +618,14 @@
- ]]>
+ Contents take the form of {@code <property.name>property.value</property.name>}
-
-
The default location for the toolchains file is ~/.m2/toolchains.xml
A Toolchain is a preconfigured object that Maven plugins can use for tool configuration retrieval (location and other information).
+A Toolchain is a preconfigured object that Maven plugins can use for tool configuration retrieval (location and other information).
The toolchains-plugin can read available toolchains on the user's computer
- and match them against the toolchain requirements of the project (as configured in pom.xml
):
+ and match them against the toolchain requirements of the project (as configured in {@code pom.xml}):
if match is found, the toolchain instance is made available to other Maven plugins.
With jdk
toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
- the same other JDK instance without hardcoding absolute paths into the pom.xml
+
With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use + the same other JDK instance without hardcoding absolute paths into the {@code pom.xml} and without configuring every plugin that require path to JDK tools.
See the Guide to Using Toolchains for more information.
]]>
- TrackableBase
+ 1.1.0+
+
+ Common base class that contains code to track the source for this instance (USER|GLOBAL)
+
+
+
+ 1.1.0/1.1.0
+
+
-
-
-
-
jdk
for
- JDK Standard Toolchain,Actual content structure is completely open: each toolchain type will define its own format and semantics.
-In general, this is a properties format: <name>value</name>
with
- predefined properties names.
For Maven 2.0.9 to 3.2.3, the actual content structure was completely open: each toolchain type would define its own format and semantics. - In general, this was a properties format.
-Since Maven 3.2.4, the type for this field has been changed to Properties to match the de-facto format.
-Each toolchain defines its own properties names and semantics.
- ]]>Actual content structure is completely open: each toolchain type will define its own format and semantics.
-In general, this is a properties format: <name>value</name>
with
- per-toolchain defined properties names.
-
+
+
-
- Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if + project's {@code child.project.url.inherit.append.path="false"}
]]>Default value is: {@code true}
+ @since Maven 3.6.1 ]]>
@@ -1299,9 +1254,8 @@
4.0.0/4.0.99
@@ -1314,8 +1268,7 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Dependency {groupId=" + getGroupId() + ", artifactId=" + getArtifactId() + ", version=" + getVersion() + ", type=" + getType() + "}";
}
]]>
@@ -1330,11 +1283,9 @@
/**
* @return the management key as {@code groupId:artifactId:type}
*/
- public String getManagementKey()
- {
- if ( managementKey == null )
- {
- managementKey = getGroupId() + ":" + getArtifactId() + ":" + getType() + ( getClassifier() != null ? ":" + getClassifier() : "" );
+ public String getManagementKey() {
+ if (managementKey == null) {
+ managementKey = getGroupId() + ":" + getArtifactId() + ":" + getType() + (getClassifier() != null ? ":" + getClassifier() : "");
}
return managementKey;
}
@@ -1364,8 +1315,7 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Developer {id=" + getId() + ", " + super.toString() + "}";
}
]]>
@@ -1378,7 +1328,7 @@
4.0.0+
} element contains informations required to exclude
+ The {@code } element contains information required to exclude
an artifact to the project.
The {@code groupId} and {@code artifactId} fields are interpreted as glob patterns,
@@ -1457,10 +1407,8 @@
snapshotRepository
4.0.0+
-
DeploymentRepository
@@ -1478,20 +1426,20 @@
downloadUrl
4.0.0+
-
String
relocation
4.0.0+
- Relocation information of the artifact if it has been moved to a new group ID
- and/or artifact ID.
+
+ Relocation information of the artifact if it has been moved to a new group ID
+ and/or artifact ID.
+
Relocation
@@ -1500,15 +1448,13 @@
status
4.0.0+
-
false
String
@@ -1518,7 +1464,7 @@
License
Describes the licenses for this project. This is used to generate the license
- page of the project's web site, as well as being taken into consideration in other reporting
+ page of the project's website, as well as being taken into consideration in other reporting
and validation. The licenses listed for the project are that of the project itself, and not
of dependencies.
3.0.0+
@@ -1585,9 +1531,7 @@
name
3.0.0+
-
String
@@ -1595,12 +1539,10 @@
subscribe
3.0.0+
-
String
@@ -1608,12 +1550,10 @@
unsubscribe
3.0.0+
-
String
@@ -1621,12 +1561,10 @@
post
3.0.0+
-
String
@@ -1710,9 +1648,7 @@
includes
3.0.0+
-
+ A list of patterns to include, e.g. {@code **/*.xml}.
String
@@ -1723,9 +1659,7 @@
excludes
3.0.0+
-
+ A list of patterns to exclude, e.g. {@code **/*.xml}
String
@@ -1741,28 +1675,10 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
- StringBuilder sb = new StringBuilder( 128 );
-
- sb.append("PatternSet [includes: {");
- for (java.util.Iterator i = getIncludes().iterator(); i.hasNext(); )
- {
- String str = (String) i.next();
- sb.append(str).append(", ");
- }
- if (sb.substring(sb.length() - 2).equals(", ")) sb.delete(sb.length() - 2, sb.length());
-
- sb.append("}, excludes: {");
- for (java.util.Iterator i = getExcludes().iterator(); i.hasNext(); )
- {
- String str = (String) i.next();
- sb.append(str).append(", ");
- }
- if (sb.substring(sb.length() - 2).equals(", ")) sb.delete(sb.length() - 2, sb.length());
-
- sb.append("}]");
- return sb.toString();
+ public String toString() {
+ return "PatternSet [" +
+ "includes: {" + getIncludes().stream().collect(java.util.stream.Collectors.joining(", ")) + "}, " +
+ "excludes: {" + getExcludes().stream().collect(java.util.stream.Collectors.joining(", ")) + "}]";
}
]]>
@@ -1776,7 +1692,7 @@
} element contains information required to locate the parent project from which
this project will inherit from.
- Note: The children of this element are not interpolated and must be given as literal values.
+ Note: The children of this element are not interpolated and must be given as literal values.
]]>
@@ -1804,19 +1720,17 @@
relativePath
4.0.0+
-
String
..
@@ -1830,24 +1744,12 @@
/**
* @return the id as {@code groupId:artifactId:version}
*/
- public String getId()
- {
- StringBuilder id = new StringBuilder( 64 );
-
- id.append( getGroupId() );
- id.append( ":" );
- id.append( getArtifactId() );
- id.append( ":" );
- id.append( "pom" );
- id.append( ":" );
- id.append( getVersion() );
-
- return id.toString();
+ public String getId() {
+ return getGroupId() + ":" + getArtifactId() + ":pom:" + getVersion();
}
@Override
- public String toString()
- {
+ public String toString() {
return getId();
}
]]>
@@ -1860,10 +1762,8 @@
Scm
4.0.0+
- } element contains informations required to the SCM
+ The {@code <scm>} element contains informations required to the SCM
(Source Control Management) of the project.
- ]]>
@@ -1890,8 +1790,8 @@
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
- scm's {@code child.scm.developerConnection.inherit.append.path="false"}
+ Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
+ scm's {@code child.scm.developerConnection.inherit.append.path="false"}.
]]>
String
@@ -1909,8 +1809,8 @@
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
- scm's {@code child.scm.url.inherit.append.path="false"}
+ Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
+ scm's {@code child.scm.url.inherit.append.path="false"}
]]>
String
@@ -1923,8 +1823,8 @@
When children inherit from scm connection, append path or not? Note: While the type
of this field is {@code String} for technical reasons, the semantic type is actually
{@code Boolean}
-
Default value is: {@code true}
-
Since: Maven 3.6.1
+ Default value is: {@code true}
+ @since Maven 3.6.1
]]>
String
@@ -1937,8 +1837,8 @@
When children inherit from scm developer connection, append path or not? Note: While the type
of this field is {@code String} for technical reasons, the semantic type is actually
{@code Boolean}
-
Default value is: {@code true}
-
Since: Maven 3.6.1
+ Default value is: {@code true}
+ @since Maven 3.6.1
]]>
String
@@ -1952,7 +1852,7 @@
of this field is {@code String} for technical reasons, the semantic type is actually
{@code Boolean}
Default value is: {@code true}
-
Since: Maven 3.6.1
+ @since Maven 3.6.1
]]>
String
@@ -1964,19 +1864,16 @@
@@ -1989,8 +1886,7 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Scm {connection=" + getConnection() + "}";
}
]]>
@@ -2020,8 +1916,7 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "FileSet {directory: " + getDirectory() + ", " + super.toString() + "}";
}
]]>
@@ -2040,7 +1935,6 @@
targetPath
3.0.0+
-
String
@@ -2056,13 +1949,11 @@
filtering
3.0.0+
-
String
@@ -2070,13 +1961,11 @@
mergeId
4.0.0+
-
String
@@ -2086,9 +1975,8 @@
4.0.0+
@@ -2097,9 +1985,8 @@
4.0.0/4.0.99
@@ -2111,8 +1998,7 @@
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Resource {targetPath: " + getTargetPath() + ", filtering: " + isFiltering() + ", " + super.toString() + "}";
}
]]>
@@ -2132,11 +2018,9 @@
true
true
-
String
@@ -2151,9 +2035,7 @@
4.0.0+
true
-
String
@@ -2161,10 +2043,8 @@
layout
4.0.0+
-
String
default
@@ -2225,11 +2105,9 @@
enabled
4.0.0+
-
String
@@ -2237,16 +2115,11 @@
updatePolicy
4.0.0+
-
+ {@code always},
+ {@code daily} (default),
+ {@code interval:XXX} (in minutes) or
+ {@code never} (only if it doesn't exist locally).
String
@@ -2254,14 +2127,10 @@
checksumPolicy
4.0.0+
-
+ {@code fail} (default for Maven 4 and above) or
+ {@code warn} (default for Maven 2 and 3).
String
@@ -2271,9 +2140,8 @@
4.0.0+
@@ -2283,9 +2151,8 @@
4.0.0/4.0.99
@@ -2304,10 +2171,8 @@
id
4.0.0+
-
String
@@ -2323,8 +2188,8 @@
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
- site's {@code child.site.url.inherit.append.path="false"}
+ Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
+ site's {@code child.site.url.inherit.append.path="false"}.
]]>
String
@@ -2337,8 +2202,8 @@
When children inherit from distribution management site url, append path or not? Note: While the type
of this field is {@code String} for technical reasons, the semantic type is actually
{@code Boolean}
-
Default value is: {@code true}
-
Since: Maven 3.6.1
+ Default value is: {@code true}
+ @since Maven 3.6.1
]]>
String
@@ -2350,9 +2215,8 @@
@@ -2370,11 +2234,9 @@
inherited
4.0.0+
-
String
@@ -2404,8 +2266,7 @@
4.0.0+
4.0.0+
ConfigurationContainer
- } element contains informations required for a plugin.
- ]]>
+ The {@code <plugin>} element contains informations required for a plugin.
@@ -2449,12 +2308,10 @@
4.0.0+
String
-
@@ -2471,9 +2328,7 @@
goals
4.0.0
- Deprecated. Unused by Maven.
- ]]>
+ @deprecated Unused by Maven.
DOM
@@ -2612,10 +2467,8 @@
4.0.0+
ConfigurationContainer
- } element contains informations required for the
+ The {@code @lt;execution>} element contains information required for the
execution of a plugin.
- ]]>
@@ -2640,9 +2493,9 @@
Warning: This is an internal utility property that is only public for technical reasons,
+ Warning: This is an internal utility property that is only public for technical reasons,
it is not part of the public API. In particular, this property can be changed or deleted without prior
- notice.
+ notice.
]]>
@@ -2651,12 +2504,10 @@
4.1.0+
int
- Since: Maven 4.0.0
- ]]>
+ @since Maven 4.0.0
@@ -2677,8 +2528,7 @@
public static final String DEFAULT_EXECUTION_ID = "default";
@Override
- public String toString()
- {
+ public String toString() {
return getId();
}
]]>
@@ -2722,12 +2572,10 @@
4.0.0+
String
-
@@ -2735,10 +2583,8 @@
4.0.0+
String
-
@@ -2757,9 +2603,8 @@
4.0.0+
@@ -2769,9 +2614,8 @@
4.0.0/4.0.99
@@ -2825,21 +2669,18 @@
public static final String SOURCE_SETTINGS = "settings.xml";
- public void setSource( String source )
- {
- getDelegate().setSource( source );
+ public void setSource(String source) {
+ getDelegate().setSource(source);
}
- public String getSource()
- {
+ public String getSource() {
return getDelegate().getSource();
}
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Profile {id: " + getId() + ", source: " + getSource() + "}";
}
]]>
@@ -2857,21 +2698,18 @@
// default source for this profile is in the pom itself.
private String source = SOURCE_POM;
- public void setSource( String source )
- {
+ public void setSource(String source) {
this.source = source;
}
- public String getSource()
- {
+ public String getSource() {
return source;
}
/**
* @see java.lang.Object#toString()
*/
- public String toString()
- {
+ public String toString() {
return "Profile {id: " + getId() + ", source: " + getSource() + "}";
}
]]>
@@ -2900,12 +2738,10 @@
4.0.0+
String
-
@@ -2938,7 +2774,7 @@
This could be included once we teach Maven to deal with multiple versions of the model
custom
- 4.0.0+
+ 4.1.0+
Describes a custom profile activation trigger, brought in via build
extension.
@@ -2981,10 +2817,8 @@
4.0.0+
String
-
@@ -2992,10 +2826,8 @@
4.0.0+
String
-
@@ -3017,12 +2849,12 @@
ActivationFile
4.0.0+
- This is the file specification used to activate the profile. The {@code missing} value
is the location of a file that needs to exist, and if it doesn't, the profile will be
activated. On the other hand, {@code exists} will test for the existence of the file and if it is
- there, the profile will be activated.
- Variable interpolation for these file specifications is limited to {@code ${project.basedir}},
- system properties and user properties.]]>
+ there, the profile will be activated.
+ <p>Variable interpolation for these file specifications is limited to {@code ${project.basedir}},
+ system properties and user properties.</p>
missing
@@ -3043,19 +2875,19 @@
This can be put back in when we figure out how to have multiple model versions
ActivationCustom
- 4.0.0+
+ 4.1.0+
This activation allows users to specify their own custom trigger for a profile.
configuration
- 4.0.0+
+ 4.1.0+
DOM
The specification for triggering the profile according to the rules of the
custom activation type.
type
- 4.0.0+
+ 4.1.0+
String
The type (role-hint) of activation which is to be used to activate the
profile.
@@ -3093,10 +2925,8 @@
version
4.0.0+
-
String
@@ -3104,10 +2934,8 @@
reportSets
4.0.0+
-
ReportSet
@@ -3125,8 +2953,7 @@
/**
* Reset the {@code reportSetMap} field to {@code null}
*/
- public void flushReportSetMap()
- {
+ public void flushReportSetMap() {
this.reportSetMap = null;
}
@@ -3134,17 +2961,13 @@
* @return a Map of reportSets field with {@code ReportSet#getId()} as key
* @see ReportSet#getId()
*/
- public java.util.Map getReportSetsAsMap()
- {
- if ( reportSetMap == null )
- {
+ public java.util.Map getReportSetsAsMap() {
+ if (reportSetMap == null) {
reportSetMap = new java.util.LinkedHashMap();
- if ( getReportSets() != null )
- {
- for ( java.util.Iterator i = getReportSets().iterator(); i.hasNext(); )
- {
+ if (getReportSets() != null) {
+ for (java.util.Iterator i = getReportSets().iterator(); i.hasNext(); ) {
ReportSet reportSet = (ReportSet) i.next();
- reportSetMap.put( reportSet.getId(), reportSet );
+ reportSetMap.put(reportSet.getId(), reportSet);
}
}
}
@@ -3155,9 +2978,8 @@
/**
* @return the key of the report plugin, ie {@code groupId:artifactId}
*/
- public String getKey()
- {
- return constructKey( getGroupId(), getArtifactId() );
+ public String getKey() {
+ return constructKey(getGroupId(), getArtifactId());
}
/**
@@ -3165,8 +2987,7 @@
* @param artifactId The artifact ID of the reporting plugin in the repository
* @return the key of the report plugin, ie {@code groupId:artifactId}
*/
- public static String constructKey( String groupId, String artifactId )
- {
+ public static String constructKey(String groupId, String artifactId) {
return groupId + ":" + artifactId;
}
]]>
@@ -3206,8 +3027,7 @@
@@ -3299,10 +3119,8 @@
configuration
4.1.0+
- Since: Maven 4.0.0
- ]]>
+ @since Maven 4.0.0
DOM
@@ -3369,9 +3187,7 @@
4.0.0+
String
- ::}.
- ]]>
+ The identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}.
@@ -3379,9 +3195,7 @@
4.0.0+
String
-
@@ -3391,8 +3205,7 @@
diff --git a/api/maven-api-plugin/src/main/mdo/lifecycle.mdo b/api/maven-api-plugin/src/main/mdo/lifecycle.mdo
index b27ba4f1c5f..f469eea4400 100644
--- a/api/maven-api-plugin/src/main/mdo/lifecycle.mdo
+++ b/api/maven-api-plugin/src/main/mdo/lifecycle.mdo
@@ -23,15 +23,15 @@ under the License.
xml.schemaLocation="http://maven.apache.org/xsd/lifecycle-${version}.xsd">
lifecycle
Lifecycle
-
Configuration of custom lifecycle mappings for the plugin, as generally stored in
{@code META-INF/maven/lifecycle.xml} in a plugin's jar artifact.
- ]]>
+
LifecycleConfiguration
1.0.0
-
+ Root element of the {@code lifecycle.xml} file.
lifecycles
@@ -46,9 +46,7 @@ under the License.
Lifecycle
1.0.0
-
+ A custom lifecycle mapping definition.
id
diff --git a/api/maven-api-plugin/src/main/mdo/plugin.mdo b/api/maven-api-plugin/src/main/mdo/plugin.mdo
index 019236dec8c..a7c9aa73a06 100644
--- a/api/maven-api-plugin/src/main/mdo/plugin.mdo
+++ b/api/maven-api-plugin/src/main/mdo/plugin.mdo
@@ -24,7 +24,7 @@ under the License.
plugin
PluginDescriptor
META-INF/maven/plugin.xml
in a plugin's jar artifact.
+ Maven 4 Plugin descriptor, stored in {@code META-INF/maven/plugin.xml} in a plugin's jar artifact.
This descriptor is generally using the information contained in the annotations of the plugin api.
An XSD is available at https://maven.apache.org/xsd/plugin-2.0.0.xsd
]]>
@@ -32,7 +32,7 @@ under the License.
PluginDescriptor
1.0.0+
- plugin.xml
file.]]>
+ Root element of the {@code plugin.xml} file.
name
@@ -140,9 +140,7 @@ under the License.
MojoDescriptor
1.0.0+
-
+ A Mojo description.
goal
@@ -179,12 +177,12 @@ under the License.
phase
1.0.0+
String
-
Defines a default phase to bind a Mojo execution to if the user does not explicitly set a phase in the POM.
- Note: This will not automagically make a Mojo run when the plugin declaration is added
- to the POM. It merely enables the user to omit the <phase>
element from the
- surrounding <execution>
element.
- ]]>
+ <h4>Note:</h4> This will not automagically make a Mojo run when the plugin declaration is added
+ to the POM. It merely enables the user to omit the {@code <phase>} element from the
+ surrounding {@code <execution>} element.
+
executePhase
@@ -209,48 +207,48 @@ under the License.
1.0.0/1.1.0
String
runtime
-
Flags this Mojo as requiring the dependencies in the specified class path to be resolved before it can
- execute: compile
, runtime
, test
,
- compile+runtime
(since Maven 3.0) or runtime+system
(since Maven 3.0)
- ]]>
+ execute: {@code compile}, {@code runtime}, {@code test},
+ {@code compile+runtime} (since Maven 3.0) or {@code runtime+system} (since Maven 3.0)
+
dependencyResolution
2.0.0+
String
runtime
-
Flags this Mojo as requiring the dependencies in the specified class path to be resolved before it can
- execute: compile
, runtime
, test
,
- compile+runtime
(since Maven 3.0) or runtime+system
(since Maven 3.0)
- ]]>
+ execute: {@code compile}, {@code runtime}, {@code test},
+ {@code compile+runtime} (since Maven 3.0) or {@code runtime+system} (since Maven 3.0)
+
requiresDependencyCollection
1.0.0/1.1.0
String
-
Flags this Mojo as requiring information about the dependencies that would make up the specified class
path. As the name suggests, this is similar to requiresDependencyResolution and supports the same values.
The important difference is this will not resolve the files for the dependencies, i.e. the artifacts
associated with a Maven project can lack a file. As such, this annotation is meant for Mojos that only
want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
full dependency resolution might fail due to projects which haven't been built yet.
- ]]>
+
dependencyCollection
2.0.0+
String
-
Flags this Mojo as requiring information about the dependencies that would make up the specified class
path. As the name suggests, this is similar to requiresDependencyResolution and supports the same values.
The important difference is this will not resolve the files for the dependencies, i.e. the artifacts
associated with a Maven project can lack a file. As such, this annotation is meant for Mojos that only
want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
full dependency resolution might fail due to projects which haven't been built yet.
- ]]>
+
requiresDirectInvocation
@@ -325,7 +323,8 @@ under the License.
Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
- session. Since Maven 3.0.
+ session.
+ @since Maven 3.0.
false
@@ -347,9 +346,9 @@ under the License.
executionStrategy
1.0.0/1.1.0
String
- once-per-session
, always
.
- ]]>
+
+ Specify the execution strategy: {@code once-per-session}, {@code always}.
+
once-per-session
@@ -362,10 +361,10 @@ under the License.
deprecated
1.0.0+
String
- @deprecated
+
+ Description with the reason of Mojo deprecation. Similar to Javadoc {@code @deprecated}
This will trigger a warning when a user tries to use a Mojo marked as deprecated.
- ]]>
+
configurator
@@ -466,15 +465,15 @@ under the License.
1.0.0+
boolean
true
-
Specifies that this parameter can be configured directly by the user (as in the case of POM-specified
configuration). This is useful when you want to force the user to use common POM elements rather than
plugin configurations, as in the case where you want to use the artifact's final name as a parameter. In
- this case, you want the user to modify <build><finalName/></build>
rather
+ this case, you want the user to modify {@code <build><finalName/></build>} rather
than specifying a value for finalName directly in the plugin configuration section. It is also useful to
ensure that - for example - a List-typed parameter which expects items of type Artifact doesn't get a List
full of Strings.
- ]]>
+
description
@@ -492,10 +491,10 @@ under the License.
deprecated
1.0.0+
String
- @deprecated
+
+ Description with the reason of parameter deprecation. Similar to Javadoc {@code @deprecated}.
This will trigger a warning when a user tries to configure a parameter marked as deprecated.
- ]]>
+
expression
diff --git a/api/maven-api-settings/src/main/mdo/settings.mdo b/api/maven-api-settings/src/main/mdo/settings.mdo
index e29d2ddab23..d973f4d0e6b 100644
--- a/api/maven-api-settings/src/main/mdo/settings.mdo
+++ b/api/maven-api-settings/src/main/mdo/settings.mdo
@@ -566,7 +566,8 @@
1.1.0+
String
default
- The layout of the mirror repository. Since Maven 3.
+ The layout of the mirror repository.
+ @since Maven 3.
mirrorOfLayouts
@@ -575,7 +576,8 @@
default,legacy
The layouts of repositories being mirrored. This value can be used to restrict the usage
- of the mirror to repositories with a matching layout (apart from a matching id). Since Maven 3.
+ of the mirror to repositories with a matching layout (apart from a matching id).
+ @since Maven 3.
diff --git a/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo b/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo
index c64cfbc83cf..c4618988047 100644
--- a/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo
+++ b/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo
@@ -20,10 +20,10 @@ under the License.
remoteResourcesBundle
RemoteResourcesBundle
-
A bundle of remote resources.
This is the model specification for remote-resources.xml.
- ]]>
+
package
@@ -39,9 +39,9 @@ under the License.
remoteResources
1.1.0
-
Remote resources that are contained in a remote resources bundle.
- ]]>
+
String
*
@@ -50,9 +50,9 @@ under the License.
sourceEncoding
1.1.0
-
Source encoding of the remote resources contained in the bundle.
- ]]>
+
String
diff --git a/maven-repository-metadata/src/main/mdo/metadata.mdo b/maven-repository-metadata/src/main/mdo/metadata.mdo
index e9c39f8fa85..6624c5fc85c 100644
--- a/maven-repository-metadata/src/main/mdo/metadata.mdo
+++ b/maven-repository-metadata/src/main/mdo/metadata.mdo
@@ -69,7 +69,7 @@ under the License.
version
1.0.0+
String
- -SNAPSHOT
) when this directory represents a "groupId/artifactId/version" for a SNAPSHOT.]]>
+
- The {@code groupId} and {@code artifactId} fields are interpreted as glob patterns,
- see {@link java.nio.file.FileSystem#getPathMatcher}.
+ The {@code groupId} and {@code artifactId} fields are interpreted as glob patterns.
+
+ @see java.nio.file.FileSystem#getPathMatcher
]]>
See POM Reference documentation and
- Xpp3DomUtils
- for more information. With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use
the same other JDK instance without hardcoding absolute paths into the {@code pom.xml}
and without configuring every plugin that require path to JDK tools. See the Guide to Using Toolchains for
- more information.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if
scm's {@code child.scm.connection.inherit.append.path="false"}
+ @see URL format
+ @see list of supported SCMs
]]>