mirror of https://github.com/apache/archiva.git
updates to get tests running again
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2868b5625
commit
281b7c59f7
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>test</groupId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>test</groupId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>test</groupId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>test</groupId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>newversion-artifact</artifactId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v3artifact</artifactId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v3artifact</artifactId>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v3artifact</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<versioning />
|
||||
<versioning/>
|
||||
</metadata>
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v3artifact</artifactId>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v3artifact</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<versioning />
|
||||
<versioning/>
|
||||
</metadata>
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v4artifact</artifactId>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v4artifact</artifactId>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v4artifact</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<versioning />
|
||||
<versioning/>
|
||||
</metadata>
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v4artifact</artifactId>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>test</groupId>
|
||||
<artifactId>v4artifact</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<versioning />
|
||||
<versioning/>
|
||||
</metadata>
|
|
@ -841,7 +841,8 @@ public class RepositoryConverterTest
|
|||
{
|
||||
String expectedContent = normalizeString( FileUtils.fileRead( expectedPomFile ) );
|
||||
String targetContent = normalizeString( FileUtils.fileRead( pomFile ) );
|
||||
assertEquals( "Check file match", expectedContent, targetContent );
|
||||
assertEquals( "Check file match between " + expectedPomFile + " and " + pomFile, expectedContent,
|
||||
targetContent );
|
||||
}
|
||||
|
||||
private static String normalizeString( String path )
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-file</artifactId>
|
||||
<version>1.0-alpha-7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
@ -275,7 +275,10 @@ public class DefaultProxyManager
|
|||
|
||||
disconnectWagon( wagon );
|
||||
|
||||
copyTempToTarget( temp, target );
|
||||
if ( temp.exists() )
|
||||
{
|
||||
copyTempToTarget( temp, target );
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
|
|
@ -251,4 +251,8 @@ public class MockArtifact
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void setOptional( boolean b )
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,4 +83,10 @@ public class MockArtifactFactory
|
|||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public Artifact createDependencyArtifact( String string, String string1, VersionRange versionRange, String string2,
|
||||
String string3, String string4, boolean b )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue