cannot use @Inject for old plexus components'

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-10 15:38:52 +00:00
parent 3d2bbcff6c
commit 3529204995
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,6 @@ public class ValidateChecksumConsumer
/**
* plexus.requirement
*/
@Inject
private ChecksumFile checksum;
/**
@ -174,6 +173,7 @@ public class ValidateChecksumConsumer
public void initialize()
throws PlexusSisuBridgeException
{
checksum = plexusSisuBridge.lookup( ChecksumFile.class );
digesterList = plexusSisuBridge.lookupList( Digester.class );
for ( Iterator<Digester> itDigesters = digesterList.iterator(); itDigesters.hasNext(); )
{

View File

@ -72,7 +72,7 @@ public class RepositoryArchivaTaskScheduler
private Scheduler scheduler;
@Inject
CronExpressionValidator cronValidator;
private CronExpressionValidator cronValidator;
/**
* plexus.requirement role-hint="repository-scanning"