You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ep...@apache.org on 2004/06/04 21:10:33 UTC

cvs commit: maven-plugins/scm/xdocs changes.xml

epugh       2004/06/04 12:10:33

  Modified:    scm      plugin.jelly project.xml
               scm/xdocs changes.xml
  Log:
  add minimal support for SVN to allow cruisecontrol plugin to run.
  
  Revision  Changes    Path
  1.12      +17 -0     maven-plugins/scm/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/scm/plugin.jelly,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- plugin.jelly	26 May 2004 16:10:52 -0000	1.11
  +++ plugin.jelly	4 Jun 2004 19:10:33 -0000	1.12
  @@ -81,6 +81,13 @@
           <log:info>Using CVSROOT: ${maven.scm.cvs.root}</log:info>
           <log:info>Using module: ${maven.scm.cvs.module}</log:info>
         </j:if>
  +      <j:if test="${scmMethod == 'svn'}">          
  +        <j:set var="maven.scm.svn.root" value="${tokens[2]}:${tokens[3]}"/>
  +        <j:set var="maven.scm.svn.module" value="${tokens[4]}"/>
  +          
  +        <log:info>Using SVN repository: ${maven.scm.svn.root}</log:info>
  +        <log:info>Using module: ${maven.scm.svn.module}</log:info>
  +      </j:if>      
       </j:if>
     </goal>
   
  @@ -92,6 +99,16 @@
             <ant:fail>You must specify maven.scm.cvs.module</ant:fail>
           </j:if>
         </j:when>
  +      <j:when test="${scmMethod == 'svn'}">
  +        <j:set var="svnRoot" value="${maven.scm.svn.root}"/>
  +        <j:if test="${empty(svnRoot)}">
  +          <ant:fail>You must specify maven.scm.svn.root</ant:fail>
  +        </j:if>
  +        <j:set var="svnModule" value="${maven.scm.svn.module}"/>
  +        <j:if test="${empty(svnModule)}">
  +          <ant:fail>You must specify maven.scm.svn.module</ant:fail>
  +        </j:if>        
  +      </j:when>      
         <j:otherwise>
           <ant:fail>Unknown SCM method: '${maven.scm.method}'</ant:fail>
         </j:otherwise>
  
  
  
  1.18      +9 -0      maven-plugins/scm/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/scm/project.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- project.xml	26 May 2004 16:10:52 -0000	1.17
  +++ project.xml	4 Jun 2004 19:10:33 -0000	1.18
  @@ -66,6 +66,15 @@
           <role>Java Developer</role>
         </roles>
       </developer>
  +    <developer>
  +      <name>Eric Pugh</name>
  +      <id>epugh</id>
  +      <email>epugh@opensourceconnections.com</email>
  +      <organization>OpenSource Connections</organization>
  +      <roles>
  +        <role>Java Developer</role>
  +      </roles>
  +    </developer>     
     </developers>
     <dependencies>
       <dependency>
  
  
  
  1.13      +1 -0      maven-plugins/scm/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/scm/xdocs/changes.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- changes.xml	26 May 2004 23:46:03 -0000	1.12
  +++ changes.xml	4 Jun 2004 19:10:33 -0000	1.13
  @@ -25,6 +25,7 @@
     </properties>
     <body>
       <release version="1.4-SNAPSHOT" date="in CVS">
  +      <action dev="epugh" type="add">Add minimal support for SVN to allow cruisecontrol plugin to work</action>
         <action dev="dion" type="add">Add scm:cvs-tag-project goal</action>
       </release>
       <release version="1.3" date="2004-05-15"></release>
  
  
  

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