Author: bentmann
Date: Sat Oct 4 10:19:26 2008
New Revision: 701676
URL: http://svn.apache.org/viewvc?rev=701676&view=rev
Log:
o Prevented creation of directories outside of the test project
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0043Test.java
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0043/test/pom.xml
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0043Test.java
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0043Test.java?rev=701676&r1=701675&r2=701676&view=diff
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0043Test.java
(original)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0043Test.java
Sat Oct 4 10:19:26 2008
@@ -67,7 +67,7 @@
if ( "central".equals( props.getProperty( key + ".id" ) ) )
{
assertEquals( "it0043", props.getProperty( key + ".name" ) );
- assertTrue( props.getProperty( key + ".url" ).endsWith(
"/tmp/maven-core-it0043-repo" ) );
+ assertTrue( props.getProperty( key + ".url" ).endsWith(
"/target/maven-core-it0043-repo" ) );
}
}
@@ -78,7 +78,7 @@
if ( "central".equals( props.getProperty( key + ".id" ) ) )
{
assertEquals( "it0043", props.getProperty( key + ".name" ) );
- assertTrue( props.getProperty( key + ".url" ).endsWith(
"/tmp/maven-core-it0043-repo" ) );
+ assertTrue( props.getProperty( key + ".url" ).endsWith(
"/target/maven-core-it0043-repo" ) );
}
}
}
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0043/test/pom.xml
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0043/test/pom.xml?rev=701676&r1=701675&r2=701676&view=diff
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0043/test/pom.xml
(original)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/it0043/test/pom.xml
Sat Oct 4 10:19:26 2008
@@ -33,7 +33,7 @@
<repository>
<id>central</id>
<name>it0043</name>
- <url>file:/tmp/maven-core-it0043-repo</url>
+ <url>file:///${basedir}/target/maven-core-it0043-repo</url>
</repository>
</repositories>
@@ -41,7 +41,7 @@
<pluginRepository>
<id>central</id>
<name>it0043</name>
- <url>file:/tmp/maven-core-it0043-repo</url>
+ <url>file:///${basedir}/target/maven-core-it0043-repo</url>
</pluginRepository>
</pluginRepositories>
</project>