commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-commons maven.xml
Date Tue, 23 Jul 2002 16:23:48 GMT
jvanzyl     2002/07/23 09:23:48

  Added:       .        maven.xml
  Log:
  o maven.xml to control the manual reactor for the builds and site generation
  
  Revision  Changes    Path
  1.1                  jakarta-commons/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project default="commons:build"
           xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary"
           xmlns:j="jelly:core">
  
    <!-- ================================================================== -->
    <!-- C O M M O N S  B U I L D                                           -->
    <!-- ================================================================== -->
    <goal name="commons:build"
          description="Build each Maven plugin into an installable jar">
  
      <fileScanner var="commonsProjects">
        <fileset dir="${basedir}">
          <include name="*/project.xml"/>
        </fileset>
      </fileScanner>
  
      <j:forEach var="commonsProject" items="${commonsProjects.iterator()}">
  
        <echo>
  +----------------------------------------
  | Building ${commonsProject.parentFile.name}
  +----------------------------------------
        </echo>
        
        ${commonsProject.parentFile}
        
        <maven:maven dir="${commonsProject.parentFile}" 
                     descriptor="${commonsProject}"
                     ignoreFailures="true"/>
  
      </j:forEach>
    </goal>
  
  
    <!-- ================================================================== -->
    <!-- C O M M O N S  W E B S I T E                                       -->
    <!-- ================================================================== -->
    <goal name="commons:site"
          description="Generate site documentation for each commons project">
  
      <fileScanner var="commonsProjects">
        <fileset dir="${basedir}">
          <include name="*/project.xml"/>
        </fileset>
      </fileScanner>
  
      <j:forEach var="commonsProject" items="${commonsProjects.iterator()}">
  
        <echo>
  +----------------------------------------
  | Generating site for ${commonsProject.parentFile.name}
  +----------------------------------------
        </echo>
        
        ${commonsProject.parentFile}
        
        <maven:maven dir="${commonsProject.parentFile}" 
                     descriptor="${commonsProject}"
                     goals="site:generate"
                     ignoreFailures="true"/>
  
      </j:forEach>
    </goal>
  
  </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message