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/plugins/maven2-repository | |
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/plugins/maven2-repository')
2 files changed, 9 insertions, 10 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java index 6728bc93b..8a78ed3d6 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java @@ -103,37 +103,36 @@ public class DefaultDependencyTreeBuilder private Logger log = LoggerFactory.getLogger( getClass() ); /** - * plexus.requirement + * */ private ArtifactFactory factory; /** - * plexus.requirement + * */ private ArtifactCollector collector; /** - * plexus.requirement + * */ private ModelBuilder builder; /** * TODO: can have other types, and this might eventually come through from the main request - * <p/> - * plexus.requirement + * */ @Inject private RepositorySessionFactory repositorySessionFactory; /** - * plexus.requirement role-hint="maven2" + * */ @Inject @Named( value = "repositoryPathTranslator#maven2" ) private RepositoryPathTranslator pathTranslator; /** - * plexus.requirement + * */ @Inject @Named( value = "archivaConfiguration#default" ) diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java index 7b3a0952b..f3473db7c 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java @@ -88,19 +88,19 @@ public class Maven2RepositoryStorage implements RepositoryStorage { /** - * plexus.requirement + * */ private ModelBuilder builder; /** - * plexus.requirement + * */ @Inject @Named( value = "archivaConfiguration#default" ) private ArchivaConfiguration archivaConfiguration; /** - * plexus.requirement role-hint="maven2" + * */ @Inject @Named( value = "repositoryPathTranslator#maven2" ) |