diff --git a/archiva-modules/metadata/metadata-repository-api/pom.xml b/archiva-modules/metadata/metadata-repository-api/pom.xml
index c5ef90a84..dbaf847ff 100644
--- a/archiva-modules/metadata/metadata-repository-api/pom.xml
+++ b/archiva-modules/metadata/metadata-repository-api/pom.xml
@@ -34,6 +34,10 @@
javax.inject
javax.inject
+
+ javax.annotation
+ jsr250-api
+
org.apache.archiva
metadata-model
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
index 903cbf199..27940a9f0 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
@@ -73,7 +73,7 @@ public class DefaultMetadataResolver
* ... could be a different type since we need methods to modify the storage metadata, which would also allow more
* appropriate methods to pass in the already determined repository configuration, for example, instead of the ID
*
- * @plexus.requirement role-hint="maven2"
+ * plexus.requirement role-hint="maven2"
*/
@Inject
@Named( value = "repositoryStorage#maven2" )
diff --git a/pom.xml b/pom.xml
index 58a3647a3..9413fdd92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,6 +145,11 @@
javax.inject
1
+
+ javax.annotation
+ jsr250-api
+ 1.0
+
javax.activation
activation