maven-plugins/ant/plugin.jelly
aheritier 46777e5300 Ant user can set proxy settings.
New property maven.ant.compatibility if you want a script compatible with ant 1.5 (actually for proxy settings).
Update copyrights
Update documentations


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@155597 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 23:00:28 +00:00

52 lines
2.0 KiB
XML

<?xml version="1.0"?>
<!--
/*
* 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.
*/
-->
<!-- Note the need to declare "test" as a namespace because it is used in the template -->
<project
xmlns:ant="jelly:ant"
xmlns:maven="jelly:maven"
xmlns:test="test"
xmlns:j="jelly:core">
<!-- ================================================================== -->
<!-- A N T B U I L D G E N E R A T O R -->
<!-- ================================================================== -->
<!-- This plugin generates a stand alone ant build.xml file that can be -->
<!-- used without having Maven installed. The dependencies are -->
<!-- retrieved using the ant <get> task and then the standard <javac> -->
<!-- and <jar> tasks are used to produce a JAR. This is primarily for -->
<!-- people who want to build from sources but don't want to use Maven. -->
<!-- ================================================================== -->
<goal name="ant"
description="Generate an Ant build file"
prereqs="ant:generate-build"/>
<goal
name="ant:generate-build"
description="Generate an Ant build file">
<ant:echo>Generating ${maven.ant.generatebuild.file} ...</ant:echo>
<j:file name="${maven.ant.generatebuild.file}" prettyPrint="true">
<j:import file="${plugin.resources}/templates/build.jelly" inherit="true"/>
</j:file>
<ant:echo>${maven.ant.generatebuild.file} generated.</ant:echo>
</goal>
</project>