diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-10-10 21:42:03 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-10-10 21:42:03 +0000 |
commit | e799f29dc2144e2c8283458ef12b4b6fe0151175 (patch) | |
tree | e754dcc2153c40680c5911c0f726eee139f3395f /archiva-base | |
parent | 027685ca6bd5a6308c1be8d7249dead5dee6ab78 (diff) | |
download | archiva-e799f29dc2144e2c8283458ef12b4b6fe0151175.tar.gz archiva-e799f29dc2144e2c8283458ef12b4b6fe0151175.zip |
Removing usage of old layout objects.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-base')
-rw-r--r-- | archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java b/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java index ffaa74973..1abd857c4 100644 --- a/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java +++ b/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java @@ -34,7 +34,6 @@ import org.apache.maven.archiva.repository.ManagedRepositoryContent; import org.apache.maven.archiva.repository.RepositoryContentFactory; import org.apache.maven.archiva.repository.RepositoryException; import org.apache.maven.archiva.repository.RepositoryNotFoundException; -import org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayout; import org.apache.maven.archiva.repository.layout.LayoutException; import org.apache.maven.archiva.repository.metadata.MetadataTools; import org.apache.maven.archiva.repository.metadata.RepositoryMetadataException; @@ -101,8 +100,6 @@ public class MetadataUpdaterConsumer private File repositoryDir; - private BidirectionalRepositoryLayout repositoryLayout; - private List<String> includes = new ArrayList<String>(); private long scanStartTimestamp = 0; @@ -161,7 +158,7 @@ public class MetadataUpdaterConsumer { try { - ArtifactReference artifact = this.repositoryLayout.toArtifactReference( path ); + ArtifactReference artifact = repository.toArtifactReference( path ); updateVersionMetadata( artifact, path ); updateProjectMetadata( artifact, path ); } |