aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/npanday-support
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-09-06 07:26:05 +0000
committerOlivier Lamy <olamy@apache.org>2011-09-06 07:26:05 +0000
commitf0c6ee5a718f8d0f19bf9efc0f390c5b5e46dc1b (patch)
tree98e941d7022a1d59afee99672b59f4512ee0a8a9 /archiva-modules/plugins/npanday-support
parent7e35594e29106a327bc7f1b0eed8103a3adffe7d (diff)
downloadarchiva-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.xml4
-rw-r--r--archiva-modules/plugins/npanday-support/src/main/java/org/apache/archiva/plugins/npanday/NPandayArtifactMappingProvider.java3
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
{