You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2006/05/03 18:29:49 UTC
svn commit: r399347 - in
/maven/components/branches/maven-2.0.x/maven-core-it/it2002: cvs-project/
cvs-project/pom.xml test-cvs.sh
Author: brett
Date: Wed May 3 09:29:44 2006
New Revision: 399347
URL: http://svn.apache.org/viewcvs?rev=399347&view=rev
Log:
add CVS test
Added:
maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/
- copied from r391921, maven/components/branches/maven-2.0.x/maven-core-it/it2002/project/
maven/components/branches/maven-2.0.x/maven-core-it/it2002/test-cvs.sh
- copied, changed from r391921, maven/components/branches/maven-2.0.x/maven-core-it/it2002/test.sh
Modified:
maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/pom.xml
Modified: maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/pom.xml?rev=399347&r1=391921&r2=399347&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/pom.xml (original)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it2002/cvs-project/pom.xml Wed May 3 09:29:44 2006
@@ -40,15 +40,9 @@
</distributionManagement>
<scm>
- <connection>scm:svn:file://localhost/${project.file.parentFile.parentFile}/target/svnroot/trunk/project</connection>
- <developerConnection>scm:svn:file://localhost/${project.file.parentFile.parentFile}/target/svnroot/trunk/project</developerConnection>
- <url>file://localhost/${project.file.parentFile.parentFile}/target/svnroot/trunk/project</url>
+ <connection>scm:cvs:local:/${project.file.parentFile.parentFile}/target/cvsroot:project</connection>
<tag>p1</tag>
</scm>
-
- <properties>
- <tagBase>file://localhost/${project.file.parentFile.parentFile}/target/svnroot/tags</tagBase>
- </properties>
<build>
<plugins>
Copied: maven/components/branches/maven-2.0.x/maven-core-it/it2002/test-cvs.sh (from r391921, maven/components/branches/maven-2.0.x/maven-core-it/it2002/test.sh)
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it2002/test-cvs.sh?p2=maven/components/branches/maven-2.0.x/maven-core-it/it2002/test-cvs.sh&p1=maven/components/branches/maven-2.0.x/maven-core-it/it2002/test.sh&r1=391921&r2=399347&rev=399347&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it2002/test.sh (original)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it2002/test-cvs.sh Wed May 3 09:29:44 2006
@@ -4,7 +4,7 @@
mkdir target
-svnadmin create --fs-type fsfs target/svnroot
+cvs -d target/cvsroot init
dir=`readlink -f ${PWD}`
@@ -13,17 +13,18 @@
echo setting dir to $dir
fi
-svn import project file://localhost/${dir}/target/svnroot/trunk/project -m "import."
-svn mkdir file://localhost/${dir}/target/svnroot/tags -m "Creating tags dir."
+export CVSROOT=$PWD/target/cvsroot
-svn co file://localhost/${dir}/target/svnroot/trunk/project target/project.checkout
+cvs import cvs-project -m "import." project ASF INIT
+
+cvs co -d target/project.checkout project
cd target/project.checkout
cat pom.xml | sed "s#\${project.file.parentFile.parentFile}#$dir#g" >tmp
mv tmp pom.xml
-svn ci -m 'update scm' pom.xml
+cvs ci -m 'update scm' pom.xml
rm -Rf target