Class ResourceResolver
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.apache.maven.plugins.javadoc.resolver.ResourceResolver
-
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled
@Named @Singleton public final class ResourceResolver extends org.codehaus.plexus.logging.AbstractLogEnabled
-
-
Field Summary
Fields Modifier and Type Field Description static String
SOURCES_CLASSIFIER
The classifier for sources.static String
TEST_SOURCES_CLASSIFIER
The classifier for test sources
-
Constructor Summary
Constructors Constructor Description ResourceResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JavadocBundle>
resolveDependencyJavadocBundles(SourceResolverConfig config)
Collection<JavadocModule>
resolveDependencySourcePaths(SourceResolverConfig config)
-
-
-
Field Detail
-
SOURCES_CLASSIFIER
public static final String SOURCES_CLASSIFIER
The classifier for sources.- See Also:
- Constant Field Values
-
TEST_SOURCES_CLASSIFIER
public static final String TEST_SOURCES_CLASSIFIER
The classifier for test sources- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveDependencyJavadocBundles
public List<JavadocBundle> resolveDependencyJavadocBundles(SourceResolverConfig config) throws IOException
- Parameters:
config
-SourceResolverConfig
- Returns:
- list of
JavadocBundle
. - Throws:
IOException
-IOException
-
resolveDependencySourcePaths
public Collection<JavadocModule> resolveDependencySourcePaths(SourceResolverConfig config) throws org.apache.maven.artifact.resolver.ArtifactResolutionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException
- Parameters:
config
-SourceResolverConfig
- Returns:
- The list of resolved dependencies.
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
-ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
-ArtifactNotFoundException
-
-