diff options
author | Olivier Lamy <olamy@apache.org> | 2011-05-26 20:55:31 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-05-26 20:55:31 +0000 |
commit | 4eb07f4a1ce3d23627e7e90ea3b9573edd7037ab (patch) | |
tree | 2a55cff910e9b6ccc9b63e82e40bd612d2702973 /archiva-modules/archiva-base/archiva-converter | |
parent | 84f7fdad794712820950be6c2e18cadf9693238e (diff) | |
download | archiva-4eb07f4a1ce3d23627e7e90ea3b9573edd7037ab.tar.gz archiva-4eb07f4a1ce3d23627e7e90ea3b9573edd7037ab.zip |
don't use directly exception class from plexus bridge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128082 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-converter')
2 files changed, 4 insertions, 4 deletions
diff --git a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/DefaultLegacyRepositoryConverter.java b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/DefaultLegacyRepositoryConverter.java index 402bb70cc..46e9821d5 100644 --- a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/DefaultLegacyRepositoryConverter.java +++ b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/DefaultLegacyRepositoryConverter.java @@ -20,6 +20,7 @@ package org.apache.maven.archiva.converter.legacy; */ import org.apache.archiva.common.plexusbridge.PlexusSisuBridge; +import org.apache.archiva.common.plexusbridge.PlexusSisuBridgeException; import org.apache.archiva.repository.scanner.RepositoryScanner; import org.apache.archiva.repository.scanner.RepositoryScannerException; import org.apache.maven.archiva.common.utils.PathUtil; @@ -30,7 +31,6 @@ import org.apache.maven.archiva.converter.RepositoryConversionException; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepositoryFactory; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; -import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.springframework.stereotype.Service; import javax.inject.Inject; @@ -77,7 +77,7 @@ public class DefaultLegacyRepositoryConverter @Inject public DefaultLegacyRepositoryConverter( PlexusSisuBridge plexusSisuBridge ) - throws ComponentLookupException + throws PlexusSisuBridgeException { artifactRepositoryFactory = plexusSisuBridge.lookup( ArtifactRepositoryFactory.class ); defaultLayout = plexusSisuBridge.lookup( ArtifactRepositoryLayout.class, "default" ); diff --git a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/LegacyConverterArtifactConsumer.java b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/LegacyConverterArtifactConsumer.java index 5a9c41812..f2bcd9812 100644 --- a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/LegacyConverterArtifactConsumer.java +++ b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/maven/archiva/converter/legacy/LegacyConverterArtifactConsumer.java @@ -20,6 +20,7 @@ package org.apache.maven.archiva.converter.legacy; */ import org.apache.archiva.common.plexusbridge.PlexusSisuBridge; +import org.apache.archiva.common.plexusbridge.PlexusSisuBridgeException; import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration; import org.apache.maven.archiva.consumers.AbstractMonitoredConsumer; import org.apache.maven.archiva.consumers.ConsumerException; @@ -33,7 +34,6 @@ import org.apache.maven.archiva.repository.layout.LayoutException; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.factory.ArtifactFactory; import org.apache.maven.artifact.repository.ArtifactRepository; -import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Scope; @@ -83,7 +83,7 @@ public class LegacyConverterArtifactConsumer @Inject public LegacyConverterArtifactConsumer( PlexusSisuBridge plexusSisuBridge ) - throws ComponentLookupException + throws PlexusSisuBridgeException { includes = new ArrayList<String>(); includes.add( "**/*.jar" ); |