diff options
author | Olivier Lamy <olamy@apache.org> | 2011-09-06 07:26:05 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-09-06 07:26:05 +0000 |
commit | f0c6ee5a718f8d0f19bf9efc0f390c5b5e46dc1b (patch) | |
tree | 98e941d7022a1d59afee99672b59f4512ee0a8a9 /archiva-modules/plugins/npanday-support | |
parent | 7e35594e29106a327bc7f1b0eed8103a3adffe7d (diff) | |
download | archiva-f0c6ee5a718f8d0f19bf9efc0f390c5b5e46dc1b.tar.gz archiva-f0c6ee5a718f8d0f19bf9efc0f390c5b5e46dc1b.zip |
get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/npanday-support')
-rw-r--r-- | archiva-modules/plugins/npanday-support/pom.xml | 4 | ||||
-rw-r--r-- | archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/archiva-modules/plugins/npanday-support/pom.xml b/archiva-modules/plugins/npanday-support/pom.xml index 9b1108485..779286197 100644 --- a/archiva-modules/plugins/npanday-support/pom.xml +++ b/archiva-modules/plugins/npanday-support/pom.xml @@ -33,5 +33,9 @@ <groupId>org.apache.archiva</groupId> <artifactId>maven2-repository</artifactId> </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-context</artifactId> + </dependency> </dependencies> </project> diff --git a/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java b/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java index 800ec7c59..fa6ad0cb5 100644 --- a/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java +++ b/archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java @@ -20,13 +20,14 @@ package org.apache.archiva.plugins.npanday; */ import org.apache.archiva.metadata.repository.storage.maven2.ArtifactMappingProvider; +import org.springframework.stereotype.Service; import java.util.HashMap; import java.util.Map; /** - * @plexus.component role="org.apache.archiva.metadata.repository.storage.maven2.ArtifactMappingProvider" role-hint="npanday" */ +@Service( "artifactMappingProvider#npanday" ) public class NPandayArtifactMappingProvider implements ArtifactMappingProvider { |