aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-12-03 05:46:41 +0000
committerOlivier Lamy <olamy@apache.org>2013-12-03 05:46:41 +0000
commite61ed9f123360d4f126a0e3ef073c0eaef190079 (patch)
treeaed5cfa5c5973af03f4492ee4fc1b47457f28b0c /archiva-modules/metadata
parent05065c4deb5ec7fdf2a779b3e2e719124703d29c (diff)
downloadarchiva-e61ed9f123360d4f126a0e3ef073c0eaef190079.tar.gz
archiva-e61ed9f123360d4f126a0e3ef073c0eaef190079.zip
start to move out maven specific from dav part
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/pom.xml3
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java8
2 files changed, 10 insertions, 1 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/pom.xml b/archiva-modules/metadata/metadata-repository-api/pom.xml
index 4f0cf7c1f..4b8e36834 100644
--- a/archiva-modules/metadata/metadata-repository-api/pom.xml
+++ b/archiva-modules/metadata/metadata-repository-api/pom.xml
@@ -90,7 +90,8 @@
org.slf4j;resolution:=optional,
org.apache.archiva.model,
org.apache.archiva.policies,
- org.apache.archiva.repository
+ org.apache.archiva.repository,
+ org.apache.archiva.admin.model.beans
</Import-Package>
</instructions>
</configuration>
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
index b4bd8eae4..31cfe7c83 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
@@ -19,6 +19,7 @@ package org.apache.archiva.metadata.repository.storage;
* under the License.
*/
+import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.archiva.metadata.model.ArtifactMetadata;
import org.apache.archiva.metadata.model.ProjectMetadata;
import org.apache.archiva.metadata.model.ProjectVersionMetadata;
@@ -59,4 +60,11 @@ public interface RepositoryStorage
void applyServerSideRelocation( ManagedRepositoryContent managedRepository, ArtifactReference artifact )
throws ProxyDownloadException;
+
+ /**
+ * @param requestPath the web uri request
+ * @return the file path
+ * @since 2.0.0
+ */
+ String getFilePath( String requestPath, ManagedRepository managedRepository );
}