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 Wed, 24 Jul 2002 06:49:33 GMT
jvanzyl     2002/07/23 23:49:33

  Modified:    .        maven.xml
  Log:
  o using the reactor to publish the commons site.
  
  Revision  Changes    Path
  1.2       +41 -51    jakarta-commons/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	23 Jul 2002 16:23:48 -0000	1.1
  +++ maven.xml	24 Jul 2002 06:49:33 -0000	1.2
  @@ -1,65 +1,55 @@
   <project default="commons:build"
            xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary"
  +         xmlns:reactor="reactor"
            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 name="commons:build">
  +  
  +    <reactor:execute
  +      basedir="${basedir}"
  +      glob="*/project.xml"
  +      goals="java:jar"
  +      banner="Building"
  +      ignoreFailures="true"
  +    />
  +  
     </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()}">
  +  
  +  <goal name="commons:site">
   
  -      <echo>
  -+----------------------------------------
  -| Generating site for ${commonsProject.parentFile.name}
  -+----------------------------------------
  -      </echo>
  -      
  -      ${commonsProject.parentFile}
  -      
  -      <maven:maven dir="${commonsProject.parentFile}" 
  -                   descriptor="${commonsProject}"
  -                   goals="site:generate"
  -                   ignoreFailures="true"/>
  -
  -    </j:forEach>
  +    <!--
  +      ||
  +      || Generate the documentation for each of the commons projects.
  +      ||
  +    -->
  +    
  +    <reactor:execute
  +      basedir="${basedir}"
  +      glob="*/project.xml"
  +      goals="site:deploy"
  +      banner="Generate site for"
  +      ignoreFailures="true"
  +    />
  +  
  +    <!--
  +      ||
  +      || Generate the documentation for the front-end site. First we will
  +      || generate the navigation based on the projects that we just
  +      || processed, then we will generate the front-end site itself.
  +      ||
  +    -->
  +    
  +    <attainGoal name="site:deploy"/>
  +    
  +  
     </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