Class GenerateJPackagePomMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo
net.agilhard.maven.plugins.jpacktool.mojo.AbstractGenerateJPacktoolPomMojo
net.agilhard.maven.plugins.jpacktool.mojo.GenerateJPackagePomMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="jpacktool-generate-jpackage",
requiresDependencyResolution=NONE,
defaultPhase=GENERATE_SOURCES,
requiresProject=true)
public class GenerateJPackagePomMojo
extends AbstractGenerateJPacktoolPomMojo
Generate pom for packaging a project using a Bootstrap and a Business
Application and use JPackage as the final step - not yet implemented.
- Author:
- Bernd Eilers
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringtemplateBootstrapJPackageThe Template for generating the pom for a final JPackage StepFields inherited from class net.agilhard.maven.plugins.jpacktool.mojo.AbstractGenerateJPacktoolPomMojo
addJDKToLimitModules, addModules, automaticModulesFolderName, bootstrapArguments, bootstrapArtifactId, bootstrapBasePath, bootstrapBasePathBelowHomeDir, bootstrapBasePathBelowUserDir, bootstrapBaseUri, bootstrapGroupId, bootstrapMainClass, bootstrapMainModule, bootstrapVersion, businessArguments, businessArtifactId, businessBasePath, businessBasePathBelowHomeDir, businessBasePathBelowUserDir, businessBaseUri, businessGroupId, businessMainClass, businessVersion, classPathFolderName, jvmArgs, limitModules, modulePaths, modulesFolderName, outputDirectoryBuild, projectArtifactId, projectGroupId, projectVersion, sourceJdkModules, stripConfigName, templateBootstrap, templateBusiness, templateMainFields inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo
outputDirectoyTemplates, templateGeneratorFields 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 GenerateJPackagePomMojo() -
Method Summary
Modifier and Type Method Description protected voidgeneratePoms(java.io.File mainDir)java.lang.StringgetPackagingTool()protected voidinitTemplates()Methods inherited from class net.agilhard.maven.plugins.jpacktool.mojo.AbstractGenerateJPacktoolPomMojo
executeToolMain, failIfParametersAreNotInTheirValidValueRanges, generatePom, generatePoms, initDefaults, initJPacktoolModel, writePropertiesMethods inherited from class net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractTemplateToolMojo
generateFromTemplate, getTemplateGenerator, getTemplateMap, initTemplate, loadResourceFileIntoStringMethods 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
-
Field Details
-
templateBootstrapJPackage
@Parameter(required=false, readonly=false, defaultValue="resource:/templates/pom/main-jpacktool/bootstrap-jpackage/pom.xml") protected java.lang.String templateBootstrapJPackageThe Template for generating the pom for a final JPackage Step
-
-
Constructor Details
-
GenerateJPackagePomMojo
public GenerateJPackagePomMojo()
-
-
Method Details
-
getPackagingTool
public java.lang.String getPackagingTool()- Specified by:
getPackagingToolin classAbstractGenerateJPacktoolPomMojo
-
initTemplates
protected void initTemplates() throws org.apache.maven.plugin.MojoFailureException- Overrides:
initTemplatesin classAbstractGenerateJPacktoolPomMojo- Throws:
org.apache.maven.plugin.MojoFailureException
-
generatePoms
protected void generatePoms(java.io.File mainDir) throws org.apache.maven.plugin.MojoFailureException- Specified by:
generatePomsin classAbstractGenerateJPacktoolPomMojo- Throws:
org.apache.maven.plugin.MojoFailureException
-