<?xml version="1.0"?>

<project 
  xmlns:ant="jelly:ant"
  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">

    <j:file name="${maven.ant.generatebuild.file}" prettyPrint="true">
      <j:import file="${plugin.resources}/templates/build.jelly" inherit="true"/>
    </j:file>
  
  </goal>
  
</project>
