]> source.dussan.org Git - archiva.git/commitdiff
fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
authorOlivier Lamy <olamy@apache.org>
Tue, 14 Jun 2011 08:58:21 +0000 (08:58 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 14 Jun 2011 08:58:21 +0000 (08:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135418 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/metadata/metadata-repository-api/pom.xml
archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
pom.xml

index c5ef90a84b122bf95c6b888af52563d800e1447a..dbaf847ff9c3e0ce56bfe810f8f7e2a30467d7ec 100644 (file)
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>jsr250-api</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>metadata-model</artifactId>
index 903cbf199618206386fb19001c77addaeb9b3acf..27940a9f08272f48780ccf3ea5131bb24c32dafb 100644 (file)
@@ -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 58a3647a3f825058e39d9d25cf20a479c7b0e58e..9413fdd920c0601db821c92839f0bf6078358ae7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <artifactId>javax.inject</artifactId>
         <version>1</version>
       </dependency>
+      <dependency>
+        <groupId>javax.annotation</groupId>
+        <artifactId>jsr250-api</artifactId>
+        <version>1.0</version>
+      </dependency>
       <dependency>
         <groupId>javax.activation</groupId>
         <artifactId>activation</artifactId>