Class ImportJDepsAndUdate4jConfigHandler
java.lang.Object
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
net.agilhard.maven.plugins.jpacktool.handler.ImportJDepsAndUdate4jConfigHandler
public class ImportJDepsAndUdate4jConfigHandler
extends net.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
baseUri
protected java.util.List<java.lang.String>
linkedSystemModules
protected java.lang.String
stripConfigName
replace this with nothing in the name of the config file -
Constructor Summary
Constructors Constructor Description ImportJDepsAndUdate4jConfigHandler(net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder, java.lang.String stripConfigName)
-
Method Summary
Modifier and Type Method Description void
execute()
protected void
executeCommand(org.codehaus.plexus.util.cli.Commandline cmd, java.io.OutputStream outputStream)
java.util.List<java.lang.String>
getLinkedSystemModules()
protected void
handleJPacktoolProperties(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode)
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)
protected void
handleOther(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode)
protected void
handleUpdate4JConfig(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode)
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
handleDependencyRoot
-
Field Details
-
stripConfigName
protected java.lang.String stripConfigNamereplace this with nothing in the name of the config file -
baseUri
protected java.lang.String baseUri -
linkedSystemModules
protected java.util.List<java.lang.String> linkedSystemModules
-
-
Constructor Details
-
ImportJDepsAndUdate4jConfigHandler
public ImportJDepsAndUdate4jConfigHandler(net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder, java.lang.String stripConfigName) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
execute
in classnet.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
- 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 classnet.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
- 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 classnet.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleOther
protected void handleOther(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
handleOther
in classnet.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleUpdate4JConfig
protected void handleUpdate4JConfig(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleJPacktoolProperties
protected void handleJPacktoolProperties(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
executeCommand
protected void executeCommand(org.codehaus.plexus.util.cli.Commandline cmd, java.io.OutputStream outputStream) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getLinkedSystemModules
public java.util.List<java.lang.String> getLinkedSystemModules()
-