more updates

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163885 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-08 17:13:50 +00:00
parent ed883ab9a2
commit 232139d910
3 changed files with 160 additions and 27 deletions

View File

@ -70,7 +70,7 @@
</li>
<li>
<code>compile</code> - compile the sources in
<code>src/test/java</code> as well as any generated source
<code>src/main/java</code> as well as any generated source
</li>
<li>
<code>test</code> - compile and run the unit tests
@ -299,6 +299,10 @@ m2 archetype:create
<code>package</code>, the JAR will not be
copied to the local repository and Maven will not be able to find it. This will be improved in future versions.
</p>
<p>
You might like to generate you IDEA workspace again from the top level directory...
</p>
<source>m2 idea:idea</source>
</subsection>
<subsection name="Other Topics">
<p>

View File

@ -6,8 +6,151 @@
<body>
<section name="Available Plugins">
<p>
...
This page lists some of the available plugins for Maven 2.0. Please bear in mind that this is not a definitive
list, and that others can be made available immediately via the Maven repository.
</p>
<p>
Full documentation on each of these plugins is still in the works - contributions are welcome!
</p>
<table>
<tr>
<th>Plugin</th>
<th>Goals</th>
<th>Description</th>
</tr>
<tr>
<td>
assembly
</td>
<td>
assembly:assembly
</td>
<td>
Build an assembly (distribution) of sources and binaries.
</td>
</tr>
<tr>
<td>
clean
</td>
<td>
clean:clean
</td>
<td>
Clean up after the build.
</td>
</tr>
<tr>
<td>
compiler
</td>
<td>
compiler:compile, compiler:testCompile
</td>
<td>
Compiles Java sources.
</td>
</tr>
<tr>
<td>
deploy
</td>
<td>
deploy:deploy
</td>
<td>
Deploy the built artifact to the remote repository.
</td>
</tr>
<tr>
<td>
ejb
</td>
<td>
ejb:ejb
</td>
<td>
Build an EJB (and optional client) from the current project.
</td>
</tr>
<tr>
<td>
idea
</td>
<td>
idea:idea
</td>
<td>
Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules)
</td>
</tr>
<tr>
<td>
install
</td>
<td>
install:install
</td>
<td>
Install the built artifact into the local repository.
</td>
</tr>
<tr>
<td>
jar
</td>
<td>
jar:jar
</td>
<td>
Build a JAR from the current project.
</td>
</tr>
<tr>
<td>
plugin
</td>
<td>
plugin:descriptor
</td>
<td>
Create a Maven plugin descriptor for any Mojo's found in the source tree, to include in the JAR.
</td>
</tr>
<tr>
<td>
resources
</td>
<td>
resources:resources, resources:testResources
</td>
<td>
Copy the resources to the output directory for including in the JAR.
</td>
</tr>
<tr>
<td>
surefire
</td>
<td>
surefire:test
</td>
<td>
Run the Junit tests in an isolated classloader.
</td>
</tr>
<tr>
<td>
war
</td>
<td>
war:war
</td>
<td>
Build a WAR from the current project.
</td>
</tr>
</table>
</section>
</body>
</document>

View File

@ -13,7 +13,6 @@
<p>
<source>
<a href="#Model">&lt;model&gt;</a>
<a href="#Model">&lt;extend/&gt;</a>
<a href="#Parent">&lt;parent&gt;</a>
<a href="#Parent">&lt;artifactId/&gt;</a>
<a href="#Parent">&lt;groupId/&gt;</a>
@ -213,19 +212,6 @@
<th>Element</th>
<th>Description</th>
</tr>
<tr>
<td>extend</td>
<td>
The location of the parent project, if one exists. Values from the
parent project will be the default for this project if they are
left unspecified. The path may be absolute, or relative to the
current project.xml file.
<div class="source">
<pre>&lt;extend&gt;${basedir}/../project.xml&lt;/extend&gt;</pre>
</div>
</td>
</tr>
<tr>
<td>parent</td>
<td>Information on which parent POM to extend.</td>
@ -239,7 +225,7 @@
<td>
The short name of the project group. This value is used to group
all jars for a project in one directory. For more info look at the
<a href="user-guide.html#Naming%20Conventions">user guide</a>.
<a href="/user-guide.html#Naming%20Conventions">user guide</a>.
</td>
</tr>
<tr>
@ -249,8 +235,8 @@
with
<code>groupId</code>
when naming
<a href="plugins/java/index.html">jars</a> and
<a href="plugins/dist/index.html">distribution files</a>.
<a href="/plugins/java/index.html">jars</a> and
<a href="/plugins/dist/index.html">distribution files</a>.
</td>
</tr>
<tr>
@ -266,7 +252,7 @@
<td>
The full name of the project. This value is used when
generating
<a href="plugins/javadoc/index.html">JavaDoc</a>
<a href="/plugins/javadoc/index.html">JavaDoc</a>
titles.
</td>
</tr>
@ -281,7 +267,7 @@
<td>
Optional. A detailed description of the project.
This description is used as the default to generate the
<a href="plugins/site/index.html">front page</a> of the project's
<a href="/plugins/site/index.html">front page</a> of the project's
web site, and is shown when
<code>maven --usage</code> is called on
the project. While this element can be specified as CDATA to enable
@ -310,7 +296,7 @@
<td>
The year of the project's inception specified with 4 digits.
This value is used when generating
<a href="plugins/javadoc/index.html">JavaDoc</a> copyright notices.
<a href="/plugins/javadoc/index.html">JavaDoc</a> copyright notices.
</td>
</tr>
<tr>
@ -326,7 +312,7 @@
<td>
Contains information about a project's mailing lists. This
is used to generate the
<a href="plugins/site/index.html">front
<a href="/plugins/site/index.html">front
page</a> of the site's web site.
</td>
</tr>
@ -335,7 +321,7 @@
<td>
Describes the committers to a project. This is used to
generate the
<a href="plugins/site/index.html">Project Team</a>
<a href="/plugins/site/index.html">Project Team</a>
page of the project's web site.
</td>
</tr>
@ -344,7 +330,7 @@
<td>
Describes the contributors to a project. This is used to generate
the
<a href="plugins/site/index.html">Project Team</a> page of
<a href="/plugins/site/index.html">Project Team</a> page of
the project's web site.
</td>
</tr>
@ -363,7 +349,7 @@
</p>
<p>
Maven can automatically download these dependencies from a
<a href="user-guide.html#Remote%20Repository%20Layout">remote repository</a>.
<a href="/user-guide.html#Remote%20Repository%20Layout">remote repository</a>.
</p>
<p>
The filename that Maven downloads from the repository is
@ -917,7 +903,7 @@
The source configuration management system URL
that describes the repository and how to connect to the
repository. This is used by Maven when
<a href="plugins/dist/index.html">building versions</a>
<a href="/plugins/dist/index.html">building versions</a>
from specific ID.
</td>
</tr>