mirror of https://github.com/apache/archiva.git
fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b167a0934
commit
1bc0683d36
|
@ -34,6 +34,10 @@
|
|||
<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>
|
||||
|
|
|
@ -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" )
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -145,6 +145,11 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue