allow SVN repositories to be used.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115430 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
epugh committed 2004-06-04 19:12:34 +00:00
1 parent e33f1e81ef
commit 4b05a1811a
2 files changed
+16 -5

No files matched your search

@@ -30,17 +30,27 @@
<jsl:copy>
<!-- TODO: more configurable -->
<project name="${pom.artifactId}">
<!-- FIXME: Shouldn't this use the second element of pom.repository.connection -->
<maven:pluginVar var="method" plugin='maven-scm-plugin' property='maven.scm.method' />
<j:if test="${method == 'svn'}">
<plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>
<plugin name="svnbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper"/>
</j:if>
<bootstrappers>
<currentbuildstatusbootstrapper file="${maven.cruisecontrol.logs.dir}/currentbuildstatus.txt"/>
</bootstrappers>
<modificationset>
<!-- FIXME: Shouldn't this use the second element of pom.repository.connection -->
<maven:pluginVar var="method" plugin='maven-scm-plugin' property='maven.scm.method' />
<maven:pluginVar var="module" plugin='maven-scm-plugin' property='maven.scm.cvs.module' />
<j:if test="${method == 'cvs'}">
<j:if test="${method == 'cvs'}">
<maven:pluginVar var="root" plugin='maven-scm-plugin' property='maven.scm.cvs.root' />
<maven:pluginVar var="module" plugin='maven-scm-plugin' property='maven.scm.cvs.module' />
<cvs cvsroot="${root}" localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${module}" />
</j:if>
<j:if test="${method == 'svn'}">
<maven:pluginVar var="root" plugin='maven-scm-plugin' property='maven.scm.svn.root' />
<maven:pluginVar var="module" plugin='maven-scm-plugin' property='maven.scm.svn.module' />
<svn svnroot="${root}" localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${module}" />
</j:if>
</modificationset>
<schedule interval="${maven.cruisecontrol.schedule.interval}">
<maven mavenscript="${maven.home}/bin/maven" goal="${maven.cruisecontrol.goals}" projectfile="${maven.cruisecontrol.checkout.dir}/${module}/project.xml"/>
+2 -1
View File
@@ -24,7 +24,8 @@
<author email="brett@apache.org">Brett Porter</author>
</properties>
<body>
<release version="1.3" date="n/a">
<release version="1.3-dev" date="in cvs">
<action dev="epugh" type="add">Allow SVN repositories to by used by cruisecontrol.</action>
<action dev="epugh" type="fix">allow the maven.cruisecontrol.home property to be overrided by other plugins via preGoal calls.</action>
<action dev="epugh" type="add">allow user to specify different cc template to use</action>
</release>