aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-web-common
diff options
context:
space:
mode:
authorolivier lamy <olamy@apache.org>2017-07-24 10:12:23 +1000
committerolivier lamy <olamy@apache.org>2017-07-24 10:12:23 +1000
commit003d5794a823d57b58ec26663fe145f31649ce31 (patch)
treeae0e1e1b6b5a149764047d321f61cafae36167b9 /archiva-modules/archiva-web/archiva-web-common
parent7480b7ffe247268dc434a3eb079cb1e34c6bb73b (diff)
downloadarchiva-003d5794a823d57b58ec26663fe145f31649ce31.tar.gz
archiva-003d5794a823d57b58ec26663fe145f31649ce31.zip
more progress on new maven indexer version
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java
index f82304243..1da71bc89 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/startup/ArchivaStartup.java
@@ -53,8 +53,6 @@ public class ArchivaStartup
private DefaultRepositoryArchivaTaskScheduler repositoryTaskScheduler;
- private PlexusSisuBridge plexusSisuBridge;
-
private NexusIndexer nexusIndexer;
@Override
@@ -74,18 +72,10 @@ public class ArchivaStartup
tqeIndexing = wac.getBean( "taskQueueExecutor#indexing", ThreadedTaskQueueExecutor.class );
- plexusSisuBridge = wac.getBean( PlexusSisuBridge.class );
+ nexusIndexer = wac.getBean( NexusIndexer.class );
try
{
- nexusIndexer = plexusSisuBridge.lookup( NexusIndexer.class );
- }
- catch ( PlexusSisuBridgeException e )
- {
- throw new RuntimeException( "Unable to get NexusIndexer: " + e.getMessage(), e );
- }
- try
- {
securitySync.startup();
repositoryTaskScheduler.startup();
Banner.display( (String) archivaRuntimeProperties.get( "archiva.version" ) );