mirror of https://github.com/apache/archiva.git
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:
parent
3d2bbcff6c
commit
3529204995
|
@ -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(); )
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ public class RepositoryArchivaTaskScheduler
|
|||
private Scheduler scheduler;
|
||||
|
||||
@Inject
|
||||
CronExpressionValidator cronValidator;
|
||||
private CronExpressionValidator cronValidator;
|
||||
|
||||
/**
|
||||
* plexus.requirement role-hint="repository-scanning"
|
||||
|
|
Loading…
Reference in New Issue