Files
maven-plugins/jar/xdocs/goals.xml
T
2007-04-23 21:28:38 +00:00

99 lines
3.5 KiB
XML

<?xml version="1.0"?>
<!--
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>Maven Java Plug-in Goals</title>
<author email="dion@multitask.com.au">dIon Gillard</author>
<author email="kschrader@karmalab.org">Kurt Schrader</author>
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
</properties>
<body>
<section name="Goals">
<table>
<tr><th>Goal</th><th>Description</th></tr>
<tr>
<td>jar</td>
<td>Launch jar:jar goal.</td>
</tr>
<tr>
<td>jar:jar</td>
<td>
Creates a jar file in the Maven build directory with the
form <code>${project.id}-${project.currentVersion}.jar</code> where
the id and currentVersion are taken from the <code>project.xml</code>
of the project being built.
</td>
</tr>
<tr>
<td>jar:snapshot</td>
<td>
<strong>DEPRECATED. Please use <code>jar:deploy-snapshot</code> or <code>jar:install-snapshot</code></strong><br/>
Creates a jar file in the Maven build directory with the
form <code>${project.id}-YYYYMMDD.hhmmss.jar</code> where
<ul>
<li>
id - taken from the <code>project.xml</code>
of the project being built
</li>
<li>YYYYMMDD - The current year in 8 digit format</li>
<li>hhmmss - the current time in 6 digit format</li>
</ul>
</td>
</tr>
<tr>
<td>jar:deploy-snapshot</td>
<td>
Deploy a snapshot jar to the remote repository.
<strong>DEPRECATED</strong>: use <code>jar:deploy</code> with
<code>-SNAPSHOT</code> in the project version for equivalent behaviour.
</td>
</tr>
<tr>
<td>jar:deploy</td>
<td>
Deploy a jar to the remote repository. The jar is built using
the <code>jar:jar</code> goal.
</td>
</tr>
<tr>
<td>jar:install</td>
<td>
Install a jar into the local repository. The jar is built using
the <code>jar:jar</code> goal.
</td>
</tr>
<tr>
<td>jar:install-snapshot</td>
<td>
Install a snapshot into the local repository. The jar is built using
the <code>jar:jar</code> goal and copied into the local
repository as the -SNAPSHOT version.
<strong>DEPRECATED</strong>: use <code>jar:install</code> with
<code>-SNAPSHOT</code> in the project version for equivalent behaviour.
</td>
</tr>
</table>
</section>
</body>
</document>