mirror of https://github.com/apache/maven.git
Improve pom annotations
PR: MNG-1479 Submitted By: Jeff Jensen git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@370889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f713202732
commit
ea7da68e38
|
@ -132,7 +132,21 @@
|
||||||
<field>
|
<field>
|
||||||
<name>packaging</name>
|
<name>packaging</name>
|
||||||
<version>4.0.0</version>
|
<version>4.0.0</version>
|
||||||
<description><![CDATA[The type of artifact this project produces.]]></description>
|
<description><![CDATA[
|
||||||
|
The type of artifact this project produces.
|
||||||
|
The main types are:
|
||||||
|
<ul>
|
||||||
|
<li>jar</li>
|
||||||
|
<li>war</li>
|
||||||
|
<li>ear</li>
|
||||||
|
<li>pom</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
However, plugins can create their own packaging, and
|
||||||
|
therefore their own packaging types,
|
||||||
|
so this list can not contain all possible types.
|
||||||
|
</p>
|
||||||
|
]]></description>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
<defaultValue>jar</defaultValue>
|
<defaultValue>jar</defaultValue>
|
||||||
</field>
|
</field>
|
||||||
|
@ -1297,7 +1311,7 @@
|
||||||
<name>scope</name>
|
<name>scope</name>
|
||||||
<version>4.0.0</version>
|
<version>4.0.0</version>
|
||||||
<description><![CDATA[
|
<description><![CDATA[
|
||||||
The scope of the dependency - compile, runtime, test. Used to
|
The scope of the dependency - compile, runtime, test, system. Used to
|
||||||
calculate the various classpaths used for testing, etc. and for
|
calculate the various classpaths used for testing, etc. and for
|
||||||
determining which artifacts to include in a distribution of this
|
determining which artifacts to include in a distribution of this
|
||||||
project. For more information, see
|
project. For more information, see
|
||||||
|
@ -1313,8 +1327,13 @@
|
||||||
<field>
|
<field>
|
||||||
<name>systemPath</name>
|
<name>systemPath</name>
|
||||||
<version>4.0.0</version>
|
<version>4.0.0</version>
|
||||||
<description>FOR SYSTEM SCOPE ONLY. This specifies the path on the filesystem for this
|
<description>
|
||||||
dependency.</description>
|
FOR SYSTEM SCOPE ONLY.
|
||||||
|
This specifies the path on the filesystem for this dependency.
|
||||||
|
Requires an absolute path for the value, not relative.
|
||||||
|
Use a property that gives the machine specific absolute path,
|
||||||
|
e.g. ${java.home}.
|
||||||
|
</description>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
<field>
|
||||||
|
@ -1811,7 +1830,24 @@
|
||||||
<field>
|
<field>
|
||||||
<name>relativePath</name>
|
<name>relativePath</name>
|
||||||
<version>4.0.0</version>
|
<version>4.0.0</version>
|
||||||
<description><![CDATA[The relative path of the parent-pom within the project hierarchy]]></description>
|
<description><![CDATA[
|
||||||
|
The relative path of the parent-pom within the project hierarchy.
|
||||||
|
The default value is ../pom.xml.
|
||||||
|
<p>
|
||||||
|
Normally, Maven looks for the parent pom first in the default location,
|
||||||
|
then the local repository, and lastly in the remote repo.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
relativePath allows you to select a different location,
|
||||||
|
for example when your structure is flat, or deeper without an intermediate parent pom.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
However, the group and artifact ID is still required,
|
||||||
|
as when the parent is coming from the repository,
|
||||||
|
it must look for the parent in the repository, and so on.
|
||||||
|
This feature is only for enhancing the development in a local checkout of that project.
|
||||||
|
</p>
|
||||||
|
]]></description>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
<defaultValue>../pom.xml</defaultValue>
|
<defaultValue>../pom.xml</defaultValue>
|
||||||
</field>
|
</field>
|
||||||
|
|
Loading…
Reference in New Issue