diff options
author | Olivier Lamy <olamy@apache.org> | 2011-09-06 08:11:21 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-09-06 08:11:21 +0000 |
commit | ac4dbb87e1dabcc01722715bce8f38feb0970102 (patch) | |
tree | 915e3ca2c19d6abb810d8d528decc111625f4cd3 /archiva-modules/metadata/metadata-repository-api/src | |
parent | 4793abbccc4acb9eab77445a36f599bb14e3bc54 (diff) | |
download | archiva-ac4dbb87e1dabcc01722715bce8f38feb0970102.tar.gz archiva-ac4dbb87e1dabcc01722715bce8f38feb0970102.zip |
get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java | 11 |
1 files changed, 3 insertions, 8 deletions
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 f9d70a3d7..0c6ce56dc 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 @@ -72,27 +72,22 @@ 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" + * */ @Inject @Named( value = "repositoryStorage#maven2" ) private RepositoryStorage repositoryStorage; /** - * plexus.requirement role="org.apache.archiva.repository.events.RepositoryListener" + * */ @Inject private List<RepositoryListener> listeners; - - //@Inject - //private ApplicationContext applicationContext; - @PostConstruct private void initialize() { - //listeners = - // new ArrayList<RepositoryListener>( applicationContext.getBeansOfType( RepositoryListener.class ).values() ); + // no op } public ProjectVersionMetadata resolveProjectVersion( RepositorySession session, String repoId, String namespace, |