aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-maven/archiva-maven-repository
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-02 14:50:21 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-02 14:50:21 +0200
commitddfcb4adb6d0d0d903753d55560021b6e5c6c982 (patch)
tree338d00bebf880a1813d6b58ae74a7cb8e6873a0f /archiva-modules/archiva-maven/archiva-maven-repository
parentda89fe394cbaa66f200872dbd1a8172483cdeeb8 (diff)
downloadarchiva-ddfcb4adb6d0d0d903753d55560021b6e5c6c982.tar.gz
archiva-ddfcb4adb6d0d0d903753d55560021b6e5c6c982.zip
Moving to new layout interface
Diffstat (limited to 'archiva-modules/archiva-maven/archiva-maven-repository')
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/ManagedDefaultRepositoryContent.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/ManagedDefaultRepositoryContent.java b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/ManagedDefaultRepositoryContent.java
index 5906c5695..91657ce09 100644
--- a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/ManagedDefaultRepositoryContent.java
+++ b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/content/ManagedDefaultRepositoryContent.java
@@ -1336,6 +1336,13 @@ public class ManagedDefaultRepositoryContent
return getDataItemFromPath( metaPath );
}
+ @Override
+ public DataItem getMetadataItem( Project project )
+ {
+ StorageAsset metaPath = project.getAsset( ).resolve( MAVEN_METADATA );
+ return getDataItemFromPath( metaPath );
+ }
+
@Override
public void deleteVersion( VersionedReference ref ) throws ContentNotFoundException, ContentAccessException