jvanzyl     02/04/18 12:40:25

  Added:       src/templates/build build-reactor.xml
  Log:
  Ant build file used to generate a reactor.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/src/templates/build/build-reactor.xml
  
  Index: build-reactor.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="maven" default="reactor" basedir="$antBasedir">
  
  #parse("build.init.target")
  
    <!-- ================================================================== -->
    <!-- R E A C T O R  G E N E R A T O R                                   -->
    <!-- ================================================================== -->
    <!-- Generate a reactor for a given Maven workspace. The workspace      -->
    <!-- describes attributes of the build environment, the profile defined -->
    <!-- within the workspace lists the projects to be built.               -->
    <!-- ================================================================== -->
  
    <target 
      name="generate-reactor"
      if="workspaceDescriptor">
      
      <taskdef
        name="reactor-generator"
        className="org.apache.maven.reactor.ReactorGenerator">
        <classpath refid="maven-classpath"/>
      </taskdef>
  
      <reactor-generator
        controlTemplate="Control.vm"
        outputDirectory="${basedir}/reactor"
        templatePath="${maven.home}/templates/reactor"
        outputFile="reactor.report"
        workspaceDescriptor="${workspaceDescriptor}"
      />
  
    </target>
  </project>
  
  
  


Reply via email to