diff options
author | Olivier Lamy <olamy@apache.org> | 2012-03-12 08:10:38 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-03-12 08:10:38 +0000 |
commit | 6a46674535827acd278ba5271b2fac924bb24bb0 (patch) | |
tree | 23e7f339f2317eeb6c06077bbd0f3a5b8767423d /archiva-modules/archiva-base/archiva-proxy | |
parent | 2bf4472cafd03e28fe0cd89ec59281349c9d16df (diff) | |
download | archiva-6a46674535827acd278ba5271b2fac924bb24bb0.tar.gz archiva-6a46674535827acd278ba5271b2fac924bb24bb0.zip |
remove deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299574 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy')
-rw-r--r-- | archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java index b2f289953..59694abdb 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/MetadataTransferTest.java @@ -19,9 +19,9 @@ package org.apache.archiva.proxy; * under the License. */ -import org.apache.commons.lang.StringUtils; import org.apache.archiva.common.utils.VersionUtil; import org.apache.archiva.configuration.ProxyConnectorConfiguration; +import org.apache.archiva.maven2.metadata.MavenMetadataReader; import org.apache.archiva.model.ArchivaRepositoryMetadata; import org.apache.archiva.model.Plugin; import org.apache.archiva.model.ProjectReference; @@ -33,19 +33,19 @@ import org.apache.archiva.policies.ReleasesPolicy; import org.apache.archiva.policies.SnapshotsPolicy; import org.apache.archiva.repository.metadata.MetadataTools; import org.apache.archiva.repository.metadata.RepositoryMetadataException; -import org.apache.archiva.repository.metadata.RepositoryMetadataReader; import org.apache.archiva.repository.metadata.RepositoryMetadataWriter; +import org.apache.commons.lang.StringUtils; import org.apache.maven.wagon.TransferFailedException; import org.custommonkey.xmlunit.DetailedDiff; import org.custommonkey.xmlunit.Diff; import org.junit.Test; +import javax.inject.Inject; +import javax.inject.Named; import java.io.File; import java.io.StringWriter; import java.util.ArrayList; import java.util.Arrays; -import javax.inject.Inject; -import javax.inject.Named; import static org.junit.Assert.*; @@ -1088,7 +1088,7 @@ public class MetadataTransferTest assertTrue( "Actual file exists.", actualFile.exists() ); StringWriter actualContents = new StringWriter(); - ArchivaRepositoryMetadata metadata = RepositoryMetadataReader.read( actualFile ); + ArchivaRepositoryMetadata metadata = MavenMetadataReader.read( actualFile ); RepositoryMetadataWriter.write( metadata, actualContents ); DetailedDiff detailedDiff = new DetailedDiff( new Diff( expectedMetadataXml, actualContents.toString() ) ); |