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-artifact-converter/src | |
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-artifact-converter/src')
-rw-r--r-- | archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverter.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverter.java b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverter.java index b1976c375..4a8ddef56 100644 --- a/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverter.java +++ b/archiva-modules/archiva-base/archiva-artifact-converter/src/main/java/org/apache/maven/archiva/converter/artifact/LegacyToDefaultConverter.java @@ -20,6 +20,7 @@ package org.apache.maven.archiva.converter.artifact; */ import org.apache.archiva.common.plexusbridge.PlexusSisuBridge; +import org.apache.archiva.common.plexusbridge.PlexusSisuBridgeException; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.maven.archiva.transaction.FileTransaction; @@ -42,11 +43,8 @@ import org.apache.maven.model.Relocation; import org.apache.maven.model.converter.ModelConverter; import org.apache.maven.model.converter.PomTranslationException; import org.apache.maven.model.io.xpp3.MavenXpp3Writer; -import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.codehaus.plexus.digest.Digester; import org.codehaus.plexus.digest.DigesterException; -import org.codehaus.plexus.digest.Md5Digester; -import org.codehaus.plexus.digest.Sha1Digester; import org.codehaus.plexus.util.xml.pull.XmlPullParserException; import org.springframework.stereotype.Service; @@ -59,7 +57,6 @@ import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayList; -import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -115,7 +112,7 @@ public class LegacyToDefaultConverter @PostConstruct public void initialize() - throws ComponentLookupException + throws PlexusSisuBridgeException { this.digesters = plexusSisuBridge.lookupList( Digester.class ); translator = plexusSisuBridge.lookup( ModelConverter.class ); |