You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/20 06:10:42 UTC
svn commit: r290348 - in /maven/components/trunk/maven-core-it/it2002:
project/pom.xml test.sh
Author: brett
Date: Mon Sep 19 21:10:38 2005
New Revision: 290348
URL: http://svn.apache.org/viewcvs?rev=290348&view=rev
Log:
make usable on cygwin
Modified:
maven/components/trunk/maven-core-it/it2002/project/pom.xml
maven/components/trunk/maven-core-it/it2002/test.sh
Modified: maven/components/trunk/maven-core-it/it2002/project/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it2002/project/pom.xml?rev=290348&r1=290347&r2=290348&view=diff
==============================================================================
--- maven/components/trunk/maven-core-it/it2002/project/pom.xml (original)
+++ maven/components/trunk/maven-core-it/it2002/project/pom.xml Mon Sep 19 21:10:38 2005
@@ -40,14 +40,14 @@
</distributionManagement>
<scm>
- <connection>scm:svn:file://${project.file.parentFile.parentFile}/target/svnroot/project/trunk</connection>
- <developerConnection>scm:svn:file://${project.file.parentFile.parentFile}/target/svnroot/project/trunk</developerConnection>
- <url>file://${project.file.parentFile.parentFile}/target/svnroot/project/trunk</url>
+ <connection>scm:svn:file://localhost/${project.file.parentFile.parentFile}/target/svnroot/project/trunk</connection>
+ <developerConnection>scm:svn:file://localhost/${project.file.parentFile.parentFile}/target/svnroot/project/trunk</developerConnection>
+ <url>file://localhost/${project.file.parentFile.parentFile}/target/svnroot/project/trunk</url>
<tag>p1</tag>
</scm>
<properties>
- <tagBase>file://${project.file.parentFile.parentFile}/target/svnroot/project/tags</tagBase>
+ <tagBase>file://localhost/${project.file.parentFile.parentFile}/target/svnroot/project/tags</tagBase>
</properties>
<build>
Modified: maven/components/trunk/maven-core-it/it2002/test.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it2002/test.sh?rev=290348&r1=290347&r2=290348&view=diff
==============================================================================
--- maven/components/trunk/maven-core-it/it2002/test.sh (original)
+++ maven/components/trunk/maven-core-it/it2002/test.sh Mon Sep 19 21:10:38 2005
@@ -9,16 +9,25 @@
dir=`readlink -f ${PWD}`
-svn import project file://${dir}/target/svnroot/project/trunk -m "import."
-svn mkdir file://${dir}/target/svnroot/project/tags -m "Creating tags dir."
+if [ "$1" == "windows" ]; then
+ dir=`cygpath -m $dir`
+ echo setting dir to $dir
+fi
-svn co file://${dir}/target/svnroot/project/trunk project.checkout
+svn import project file://localhost/${dir}/target/svnroot/project/trunk -m "import."
+svn mkdir file://localhost/${dir}/target/svnroot/project/tags -m "Creating tags dir."
+
+svn co file://localhost/${dir}/target/svnroot/project/trunk project.checkout
cd 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
+
rm -Rf target
-m2 -e release:prepare -Denv=test
+m2 -e release:prepare -Denv=test -B -Dtag=test-tag
m2 -e release:perform -Denv=test
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org