maven-plugins/ant/xdocs/properties.xml
aheritier ddd69448ab MPANT-20 : Doc.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125276 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 16:59:06 +00:00

75 lines
2.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2001-2004 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>Maven Ant Plugin Properties</title>
<author email="dion@multitask.com.au">dIon Gillard</author>
</properties>
<body>
<section name="Maven Ant Plugin Settings">
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td>maven.ant.excludeTests</td>
<td>Yes</td>
<td>
Holds a comma separated list of source file patterns that
will be excluded in the generated Ant build, e.g.
</td>
</tr>
<tr>
<td colspan="3">
<source>
maven.ant.excludeTests=**/*Test.java,**/*Suite.java
</source>
</td>
</tr>
<tr>
<td>maven.ant.generatebuild.file</td>
<td>Yes</td>
<td>
Sets the name of the ant buildfile to create.
Defaults to "build.xml". This is used by the "ant:generate-build"
goal.
</td>
</tr>
<tr>
<td>maven.ant.use.properties</td>
<td>Yes</td>
<td>
Starting with version 1.9 of the Maven ant plugin two lines are
added at the top of the generated buildfile:
<pre>
&lt;property file="build.properties"/&gt;
&lt;property file="${user.home}/build.properties"/&gt;</pre>
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". Defaults to "true".
</td>
</tr>
</table>
</section>
</body>
</document>