Class CollectNonModJarsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractDependencyJarsMojo<CollectJarsHandler>
net.agilhard.maven.plugins.jpacktool.base.mojo.CollectNonModJarsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="collect-nonmod-jars", requiresDependencyResolution=RUNTIME, defaultPhase=PREPARE_PACKAGE, requiresProject=true) public class CollectNonModJarsMojo extends AbstractDependencyJarsMojo<CollectJarsHandler>
Collect jars from maven dependencies which contain no module-info and copy them to a target folder.
- Author:
- bei
-
Field Summary
Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractDependencyJarsMojo
dependencyGraphBuilder, handler
Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
buildDirectory, classpathArtifacts, excludedArtifacts, javaVersion, jdkToolchain, jpacktoolModel, jpacktoolPropertyPrefix, locationManager, mavenProjectHelper, outputDirectoryAutomaticJars, outputDirectoryClasspathJars, outputDirectoryJPacktool, outputDirectoryModules, project, session, shouldSkipReason, skip, systemModules, templateMap, toolchainManager, verbose, zipArchiver
-
Constructor Summary
Constructors Constructor Description CollectNonModJarsMojo()
-
Method Summary
Modifier and Type Method Description CollectJarsHandler
createHandler()
void
executeToolMain()
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractDependencyJarsMojo
getDependencyGraphBuilder, getHandler
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
bytesToHex, checkShouldSkip, createZipArchiveFromDirectory, execute, executeCommand, executeToolFinish, executeToolStart, getArtifactFile, getClasspathArtifacts, getExcludedArtifacts, getFinalName, getJavaVersion, getJdkToolchain, getJpacktoolPropertyPrefix, getLocationManager, getOutputDirectoryAutomaticJars, getOutputDirectoryClasspathJars, getOutputDirectoryJPacktool, getOutputDirectoryModules, getPluginVersion, getProject, getSession, getShouldSkipReason, getSystemModules, getToolchain, getToolchainManager, getToolExecutable, hasClassifier, isVerbose, publishJPacktoolProperties, publishSHA256, setShouldSkipReason
-
Constructor Details
-
CollectNonModJarsMojo
public CollectNonModJarsMojo()
-
-
Method Details
-
executeToolMain
public void executeToolMain() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
executeToolMain
in classAbstractDependencyJarsMojo<CollectJarsHandler>
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
createHandler
- Specified by:
createHandler
in classAbstractDependencyJarsMojo<CollectJarsHandler>
-