|
54 | 54 | import org.codehaus.plexus.archiver.UnArchiver;
|
55 | 55 | import org.codehaus.plexus.archiver.manager.ArchiverManager;
|
56 | 56 | import org.codehaus.plexus.archiver.manager.NoSuchArchiverException;
|
57 |
| -import org.codehaus.plexus.logging.AbstractLogEnabled; |
58 | 57 | import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
|
59 | 58 | import org.eclipse.aether.RepositorySystem;
|
60 | 59 | import org.eclipse.aether.RepositorySystemSession;
|
61 | 60 | import org.eclipse.aether.graph.DefaultDependencyNode;
|
62 | 61 | import org.eclipse.aether.graph.DependencyFilter;
|
63 | 62 | import org.eclipse.aether.resolution.ArtifactRequest;
|
64 | 63 | import org.eclipse.aether.resolution.ArtifactResult;
|
| 64 | +import org.slf4j.Logger; |
| 65 | +import org.slf4j.LoggerFactory; |
65 | 66 |
|
66 | 67 | /**
|
67 | 68 | *
|
68 | 69 | */
|
69 | 70 | @Named
|
70 | 71 | @Singleton
|
71 |
| -public final class ResourceResolver extends AbstractLogEnabled { |
| 72 | +public final class ResourceResolver { |
| 73 | + private static final Logger LOGGER = LoggerFactory.getLogger(ResourceResolver.class); |
| 74 | + |
72 | 75 | @Inject
|
73 | 76 | private RepositorySystem repoSystem;
|
74 | 77 |
|
@@ -220,8 +223,8 @@ private List<JavadocBundle> resolveBundlesFromArtifacts(
|
220 | 223 | try {
|
221 | 224 | dirs = resolveAndUnpack(toResolve, config, RESOURCE_VALID_CLASSIFIERS, false);
|
222 | 225 | } catch (ArtifactResolutionException | ArtifactNotFoundException e) {
|
223 |
| - if (getLogger().isDebugEnabled()) { |
224 |
| - getLogger().debug(e.getMessage(), e); |
| 226 | + if (LOGGER.isDebugEnabled()) { |
| 227 | + LOGGER.debug(e.getMessage(), e); |
225 | 228 | }
|
226 | 229 | }
|
227 | 230 |
|
|
0 commit comments