You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/10/08 16:37:06 UTC

cvs commit: maven/src/plugins-build/statcvs/xdocs changes.xml

dion        2003/10/08 07:37:06

  Modified:    src/plugins-build/statcvs project.xml plugin.jelly
               src/plugins-build/statcvs/xdocs changes.xml
  Log:
  MAVEN-912
  
  Revision  Changes    Path
  1.22      +1 -1      maven/src/plugins-build/statcvs/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/statcvs/project.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- project.xml	29 Sep 2003 05:19:13 -0000	1.21
  +++ project.xml	8 Oct 2003 14:37:06 -0000	1.22
  @@ -5,7 +5,7 @@
     <pomVersion>3</pomVersion>
     <id>maven-statcvs-plugin</id>
     <name>Maven StatCvs Plug-in</name>
  -  <currentVersion>2.0</currentVersion>
  +  <currentVersion>2.1-SNAPSHOT</currentVersion>
     <description>Generate CVS statistics reports using StatCvs-XML</description>
     <shortDescription>Provides CVS statistics</shortDescription>
     <logo>http://statcvs-xml.berlios.de/images/statcvslogo.png</logo>
  
  
  
  1.12      +5 -1      maven/src/plugins-build/statcvs/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/statcvs/plugin.jelly,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- plugin.jelly	19 Sep 2003 18:13:35 -0000	1.11
  +++ plugin.jelly	8 Oct 2003 14:37:06 -0000	1.12
  @@ -43,13 +43,17 @@
               value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
           <ant:mkdir dir="${maven.docs.dest}/statcvs"/>
           <ant:mkdir dir="${maven.gen.docs}/statcvs"/>
  +        
  +        <j:set var="url" value="${pom.repository.url}"/>
   
           <ant:java classname="net.sf.statcvs.Main" fork="true">
             <ant:arg line="-output-dir ${maven.gen.docs}/statcvs"/>
             <ant:arg line="-title '${pom.name}'"/>
             <ant:arg line="-output-suite xdoc"/> 
             <ant:arg line="-verbose"/> 
  -          <ant:arg line="-weburl ${pom.repository.url}"/>
  +          <j:if test="${!empty(url)}">
  +            <ant:arg line="-weburl ${pom.repository.url}"/>
  +          </j:if>
              
             <!-- TODO/FIXME: For some reason, it is hanging if I use the 
                  -use-history command line argument -->
  
  
  
  1.7       +7 -0      maven/src/plugins-build/statcvs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/statcvs/xdocs/changes.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- changes.xml	21 Sep 2003 16:59:11 -0000	1.6
  +++ changes.xml	8 Oct 2003 14:37:06 -0000	1.7
  @@ -7,6 +7,13 @@
     </properties>
   
     <body>
  +    
  +    <release version="2.1" date="in CVS">
  +      <action dev="dion" type="fix">
  +        MAVEN-912. Projects without a repository url should still be able to use statcvs.
  +      </action>
  +    </release>
  +    
   	<release version="2.0" date="2003-09-21">
         <action dev="vmassol" type="update">
           Migrated the plugin to use the new statcvs-xml jar (which generates
  
  
  

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