jvanzyl     02/03/13 22:43:50

  Added:       .        build-maven.xml
  Log:
  A placeholder for me. This build file is using the maven build files but
  we must still deal with generated sources and the structure of this file
  which is what a project's build.xml file will look like and the fact
  that in this case the maven bits can't easily be swapped because i put
  the code generation target inside the maven flags. Another thing I'll
  look at tomorrow.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-fulcrum/build-maven.xml
  
  Index: build-maven.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="maven" default="maven:jar" basedir=".">
  
    <!-- Give user a chance to override without editing this file
         (and without typing -D each time they invoke a target) -->
  
    <!-- Allow any user specific values to override the defaults -->
    <property file="${user.home}/build.properties" />
    <!-- Allow user defaults for this project -->
    <property file="build.properties" />
    <!-- Set default values for the build -->
    <property file="project.properties" />
    <!-- Set default values for the build -->
    <property file="${ant.home}/maven/default.properties" />
  
    <!-- maven:start -->
    
    <!-- ================================================================== -->
    <!-- D E L E G A T O R S                                                -->
    <!-- ================================================================== -->
          
    <target 
      name="maven:site">
      <ant antfile="${ant.home}/maven/build-docs.xml" target="site"/>
    </target>
          
    <target 
      name="maven:jar">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="jar"/>
    </target>
          
    <target 
      name="maven:install-jar">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="install-jar"/>
    </target>
          
    <target 
      name="maven:env">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="env"/>
    </target>
          
    <target 
      name="maven:docs">
      <ant antfile="${ant.home}/maven/build-docs.xml" target="docs"/>
    </target>
          
    <target 
      name="maven:test">
      <ant antfile="${ant.home}/maven/build-test.xml" target="test"/>
    </target>
          
    <target 
      name="maven:clean">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="clean"/>
    </target>
          
    <target  
      name="maven:metrics">
      <ant antfile="${ant.home}/maven/build-metrics.xml" target="metrics"/>
    </target>
          
    <target 
      name="maven:dist">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="dist"/>
    </target>
          
    <target 
      name="maven:deploy-site">
      <ant antfile="${ant.home}/maven/build-docs.xml" target="deploy-site"/>
    </target>
          
    <target 
      name="maven:gump-descriptor">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="gump-descriptor"/>
    </target>
          
    <target 
      name="maven:javadocs">
      <ant antfile="${ant.home}/maven/build-docs.xml" target="javadocs"/>
    </target>
          
    <target 
      name="maven:compile"
      depends="om">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="compile"/>
    </target>
  
    <!-- ================================================================== -->
    <!-- C H E C K  O M                                                     -->
    <!-- ================================================================== -->
  
    <!-- this will soon be moved into the security services build. -->
  
    <target name="check-om">
      
      <property 
        name="omStatusFile"
        value="${basedir}/${build.src}/report.turbine.om.generation"
      />
      
      <uptodate
        property="omGenerated"
        targetfile="${omStatusFile}">
        <srcfiles dir="${schemaDirectory}" includes="turbine-schema.xml"/>
      </uptodate>
    </target>
  
    <target 
      name="om"
      depends="check-om"
      unless="omGenerated"
      description="--> generates the Turbine OM/Peer classes">
      <ant antfile="build-om.xml" dir="${basedir}"/>
    </target>
  
    <target 
      name="maven:update-jars">
      <ant antfile="${ant.home}/maven/build-maven.xml" target="update-jars"/>
    </target>
      
    <!-- maven:end -->
  
  </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to