commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections maven.xml
Date Wed, 14 Jan 2004 09:15:57 GMT
scolebourne    2004/01/14 01:15:57

  Modified:    collections maven.xml
  Log:
  Build all javadocs in site generation
  
  Revision  Changes    Path
  1.9       +23 -9     jakarta-commons/collections/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/maven.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- maven.xml	12 Jan 2004 21:54:27 -0000	1.8
  +++ maven.xml	14 Jan 2004 09:15:57 -0000	1.9
  @@ -91,21 +91,19 @@
         <j:set var="maven.javadoc.destdir" value="${pom.getPluginContext('maven-javadoc-plugin').getVariable('maven.javadoc.destdir')}"
/>
         <j:set var="maven.javadoc.stylesheet" value="${pom.getPluginContext('maven-javadoc-plugin').getVariable('maven.javadoc.stylesheet')}"
/>
         
  -      <ant:property name="collections.javadoc.tag.destdir" value="${maven.javadoc.destdir}-${collections.javadoc.tag}"/>
  -      <ant:property name="collections.javadoc.tag.stylesheet" value="${maven.javadoc.stylesheet}"/>
  +      <j:set var="collections.javadoc.tag.destdir" value="${maven.javadoc.destdir}-${collections.javadoc.tag}"/>
  +      <j:set var="collections.javadoc.tag.stylesheet" value="${maven.javadoc.stylesheet}"/>
         
  -      <ant:property name="taggedBaseDir" value="${maven.build.dir}/javadoc/${collections.javadoc.tag}"
/>
  +      <j:set var="taggedBaseDir" value="${maven.build.dir}/javadoc/${collections.javadoc.tag}"
/>
         <ant:mkdir dir="${taggedBaseDir}" />
         <maven:makeRelativePath var="relativeSrcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}"
/>
         <util:replace var="relativeSrcDir" oldChar="\" newChar="/" value="${relativeSrcDir}"
/>
  -      <ant:property name="taggedSourceDir" 
  -          value="${taggedBaseDir}/${pom.repository.cvsModule}/${relativeSrcDir}"/>
  +      <j:set var="taggedSourceDir" value="${taggedBaseDir}/${pom.repository.cvsModule}/${relativeSrcDir}"/>
         <ant:cvs
             cvsRoot="${pom.repository.cvsRoot}"
             package="${pom.repository.cvsModule}/${relativeSrcDir}"
             dest="${taggedBaseDir}"
  -          tag="${collections.javadoc.tag}"
  -      />    
  +          tag="${collections.javadoc.tag}" />    
             
         <ant:mkdir dir="${collections.javadoc.tag.destdir}" />
         <ant:tstamp>
  @@ -121,8 +119,7 @@
             </j:otherwise>
           </j:choose>
         </ant:tstamp>
  -      <ant:property name="copyright"
  -        value="Copyright &amp;copy; ${year} ${pom.organization.name}. All Rights Reserved."
/>
  +      <j:set var="copyright" value="Copyright &amp;copy; ${year} ${pom.organization.name}.
All Rights Reserved." />
           
         <ant:javadoc
           packagenames="${pom.package}.*"
  @@ -141,6 +138,23 @@
       </j:if>
     </postGoal>
   
  +  <postGoal name="site:run-reports"><!-- OLD MAVEN -->
  +    <j:set var="collections.javadoc.tag" value="COLLECTIONS_2_1" />
  +    <j:set var="collections.javadoc.tag.windowtitle" value="Collections 2.1 release
API" />
  +    <attainGoal name="javadoc:generate" />
  +    <j:set var="collections.javadoc.tag" value="COLLECTIONS_3_0" />
  +    <j:set var="collections.javadoc.tag.windowtitle" value="Collections 3.0 release
API" />
  +    <attainGoal name="javadoc:generate" />
  +  </postGoal>
  +  <postGoal name="site:generate"><!-- NEW MAVEN -->
  +    <j:set var="collections.javadoc.tag" value="COLLECTIONS_2_1" />
  +    <j:set var="collections.javadoc.tag.windowtitle" value="Collections 2.1 release
API" />
  +    <attainGoal name="javadoc:generate" />
  +    <j:set var="collections.javadoc.tag" value="COLLECTIONS_3_0" />
  +    <j:set var="collections.javadoc.tag.windowtitle" value="Collections 3.0 release
API" />
  +    <attainGoal name="javadoc:generate" />
  +  </postGoal>
  +  
     <!-- ============== DIST ================== -->
     <postGoal name="dist:prepare-bin-filesystem">
       <j:set var="maven.dist.bin.assembly.dir" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.bin.assembly.dir')}"
/>
  
  
  

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


Mime
View raw message