Class GenerateClassPathHandler
java.lang.Object
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractVisitDependencyHandler
net.agilhard.maven.plugins.jpacktool.base.handler.GenerateClassPathHandler
public class GenerateClassPathHandler extends AbstractVisitDependencyHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractVisitDependencyHandler
AbstractVisitDependencyHandler.HandleDependencyRootVisitor
-
Field Summary
Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
classpathArtifacts, dependencyGraphBuilder, excludedArtifacts, handledNodes, outputDirectoryAutomaticJars, outputDirectoryClasspathJars, outputDirectoryJPacktool, outputDirectoryModules
-
Constructor Summary
Constructors Constructor Description GenerateClassPathHandler(AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder)
-
Method Summary
Modifier and Type Method Description void
execute()
java.util.List<java.io.File>
getClassPathElements()
java.util.List<java.lang.String>
getJarsOnClassPath()
protected void
handleModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry)
protected void
handleNonModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry)
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractVisitDependencyHandler
handleDependencyRoot
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
execute, getLog, handleDependencyNode, handleModJarIfNotAlreadyHandled, handleNonModJarIfNotAlreadyHandled, handleOther
-
Constructor Details
-
GenerateClassPathHandler
public GenerateClassPathHandler(AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
execute
in classAbstractDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleNonModJar
protected void handleNonModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
handleNonModJar
in classAbstractVisitDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleModJar
protected void handleModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
handleModJar
in classAbstractVisitDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
getClassPathElements
public java.util.List<java.io.File> getClassPathElements() -
getJarsOnClassPath
public java.util.List<java.lang.String> getJarsOnClassPath()
-