Document the eclipse.dependency property of the dependency element

PR: MPECLIPSE-23
Obtained from: Miguel Griffa
Submitted by:	 Miguel Griffa
Reviewed by:	dIon


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2004-05-07 09:14:37 +00:00
parent 85fba4adf0
commit c9fa95a15a
2 changed files with 35 additions and 11 deletions

View File

@ -25,6 +25,9 @@
</properties>
<body>
<release version="1.7-SNAPSHOT" date="in CVS">
<action dev="dion" type="update" issue="MPECLIPSE-23" due-to="Miguel Griffa">
Document the eclipse.dependency property of the dependency element
</action>
<action dev="dion" type="update" issue="MPECLIPSE-25" due-to="Miguel Griffa">
Add maven.eclipse.buildcommands and maven.eclipse.projectnatures properties, docs
and test cases

View File

@ -33,17 +33,17 @@
<td>maven.eclipse.workspace</td>
<td>Yes</td>
<td>
Location of the <a href="http://www.eclipse.org">Eclipse</a>
workspace that holds your configuration and source.
<p>
On Windows, this will be the <code>workspace</code> directory
under your eclipse installation. For example, if you installed
eclipse into <code>c:\eclipse</code>, the workspace is
<code>c:\eclipse\workspace</code>.
</p>
<p>
If this parameter is specified, the <a href="goals.html#eclipse:external-tools">
external-tools</a> goal will use it as the destination to copy the generated file.
Location of the <a href="http://www.eclipse.org">Eclipse</a>
workspace that holds your configuration and source.
<p>
On Windows, this will be the <code>workspace</code> directory
under your eclipse installation. For example, if you installed
eclipse into <code>c:\eclipse</code>, the workspace is
<code>c:\eclipse\workspace</code>.
</p>
<p>
If this parameter is specified, the <a href="goals.html#eclipse:external-tools">
external-tools</a> goal will use it as the destination to copy the generated file.
</p>
</td>
</tr>
@ -107,5 +107,26 @@
<code>MAVEN_REPO</code> that points to your local Maven repository.
</p>
</section>
<section name="Defining dependencies as eclipse projects">
<p>
The dependencies defined in the POM need not to be jars strictly. They can
be projects in the eclipse workspace. If a dependency is an eclipse project
a property needs to be added to that dependency to indicate so.
</p>
<source><![CDATA[
<dependency>
<groupId>group</groupId>
<artifactId>artifact</artifactId>
<version>version</version>
<properties>
<eclipse.dependency>true</eclipse.dependency>
</properties>
</dependency>
]]></source>
<p>
This indicates that the dependency is another project in the workspace.
Note that the name of the referenced project is the artifactId.
</p>
</section>
</body>
</document>