git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
77 lines
2.6 KiB
XML
77 lines
2.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<document>
|
|
|
|
<properties>
|
|
<title>Eclipse Plugin Goals</title>
|
|
<author email="dion@apache.org">dIon Gillard</author>
|
|
</properties>
|
|
|
|
<body>
|
|
<goals>
|
|
<goal>
|
|
<name>eclipse</name>
|
|
<description>
|
|
The default goal. This goal simply executes the
|
|
<a href="#eclipse:generate-project">eclipse:generate-project</a> goal
|
|
</description>
|
|
</goal>
|
|
|
|
<goal>
|
|
<name>eclipse:generate-project</name>
|
|
<description>
|
|
Generates a <code>.project</code> file for eclipse describing
|
|
the project and 'marking' it as a java project
|
|
<br />
|
|
Generates a <code>.classpath</code> file for the eclipse project
|
|
with classpath entries for
|
|
<ol>
|
|
<li>the build source directory</li>
|
|
<li>the build unit test source directory</li>
|
|
<li>the JRE being used</li>
|
|
<li>each Maven project <code>dependency</code></li>
|
|
<li>an output directory for compiled code:
|
|
<code>target\eclipse\classes</code>
|
|
</li>
|
|
</ol>
|
|
</description>
|
|
</goal>
|
|
|
|
<goal>
|
|
<name>eclipse:external-tools</name>
|
|
<description>
|
|
<p>
|
|
Generates an external tool entry for each default goal available to
|
|
a Maven project into a file named <code>externaltools.xml</code>
|
|
</p>
|
|
<p>
|
|
If the <a href="properties.html">${maven.eclipse.workspace}</a>
|
|
property is set, the file is copied to the correct location within
|
|
that workspace
|
|
</p>
|
|
<p>
|
|
If the <a href="properties.html">${maven.eclipse.workspace}</a>
|
|
is <strong>not</strong> set, the file is created in the current
|
|
directory, and should be manually copied to
|
|
<source>
|
|
${eclipse workspace}/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml
|
|
</source>
|
|
</p>
|
|
</description>
|
|
</goal>
|
|
|
|
<a name="eclipse:add-maven-repo" />
|
|
<goal>
|
|
<name>eclipse:add-maven-repo</name>
|
|
<description>
|
|
Ensures that the classpath variable <code>MAVEN_REPO</code>
|
|
exists in the Eclipse environment.
|
|
<br />
|
|
The <a href="properties.html">${maven.eclipse.workspace}</a>
|
|
property <strong>must</strong> be set for this to succeed, and
|
|
Eclipse must not be running.
|
|
</description>
|
|
</goal>
|
|
</goals>
|
|
</body>
|
|
</document>
|