Author: olamy
Date: Thu Jun 9 22:18:03 2011
New Revision: 1134111
URL: http://svn.apache.org/viewvc?rev=1134111&view=rev
Log:
should fix issues with symlink on jenkins asf
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest.java
Modified:
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest.java
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest.java?rev=1134111&r1=1134110&r2=1134111&view=diff
==============================================================================
---
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest.java
(original)
+++
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest.java
Thu Jun 9 22:18:03 2011
@@ -19,7 +19,6 @@ package org.apache.maven.it;
* under the License.
*/
-import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
@@ -27,7 +26,7 @@ import java.util.Properties;
/**
* This is a test set for <a
href="http://jira.codehaus.org/browse/MNG-4233">MNG-4233</a>.
- *
+ *
* @author Benjamin Bentmann
*/
public class MavenITmng4233ReactorResolutionForManuallyCreatedArtifactTest
@@ -58,8 +57,8 @@ public class MavenITmng4233ReactorResolu
verifier.resetStreams();
Properties props = verifier.loadProperties(
"consumer/target/artifact.properties" );
- assertEquals( new File( testDir, "producer/pom.xml" ),
- new File( props.getProperty(
"org.apache.maven.its.mng4233:producer:jar:1.0-SNAPSHOT" ) ) );
+ assertEquals( new File( testDir, "producer/pom.xml"
).getCanonicalFile(), new File(
+ props.getProperty(
"org.apache.maven.its.mng4233:producer:jar:1.0-SNAPSHOT" ) ).getCanonicalFile()
);
}
}