maven-plugins/ant/xdocs/properties.xml

78 lines
2.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed 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>Properties</title>
<author email="dion@multitask.com.au">dIon Gillard</author>
<author email="aheritier@apache.org">Arnaud Heritier</author>
</properties>
<body>
<section name="Maven Ant Plugin Settings">
<p>These settings allow you to customize the ant script generated with this plugin.</p>
<table>
<tr>
<th>Property name</th>
<th>Description</th>
<th>Available</th>
<th>Optional?</th>
<th>Default value</th>
</tr>
<tr>
<td>maven.ant.excludeTests</td>
<td>Holds a comma separated list of source file patterns that will be excluded in the generated Ant build, e.g.</td>
<td>since 1.2</td>
<td>Yes</td>
<td/>
</tr>
<tr>
<td colspan="5">
<source>maven.ant.excludeTests=**/*Test.java,**/*Suite.java</source>
</td>
</tr>
<tr>
<td>maven.ant.generatebuild.file</td>
<td>Sets the name of the ant buildfile to create.</td>
<td>since 1.0</td>
<td>Yes</td>
<td>${basedir}/build.xml</td>
</tr>
<tr>
<td>maven.ant.use.properties</td>
<td>
<p>The maven plugin for ant adds two lines at the top of the generated buildfile :</p>
<source>&lt;property file="build.properties"/&gt;
&lt;property file="${user.home}/build.properties"/&gt;</source>
<p>If you experience that your own properties are clashing with the ones used in the generated buildfile you can set this property to "false" to remove these 2 lines from the generated buildfile. Valid values are "true" or "false".</p>
</td>
<td>since 1.9</td>
<td>Yes</td>
<td>true</td>
</tr>
<tr>
<td>maven.ant.use.multirepo</td>
<td>Defines if you want to generate a script which will download dependencies from all your repositories. If false, the script will only download them from the first one (ibiblio by default).</td>
<td>since 1.9</td>
<td>Yes</td>
<td>true</td>
</tr>
</table>
</section>
</body>
</document>