Class AbstractJLinkMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.jlink.AbstractJLinkMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JLinkMojo

public abstract class AbstractJLinkMojo extends org.apache.maven.plugin.AbstractMojo
Author:
Karl Heinz Marbaise khmarbaise@apache.org
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractJLinkMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected StringBuilder
    This will convert a module path separated by either : or ; into a string which uses the platform path separator uniformly.
    protected abstract String
    Overload this to produce a zip with another classifier, for example a jlink-zip.
    protected org.apache.maven.plugins.jlink.JLinkExecutor
     
    protected org.apache.maven.project.MavenProject
     
    protected org.apache.maven.execution.MavenSession
     
    protected Optional<org.apache.maven.toolchain.Toolchain>
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.maven.plugin.Mojo

    execute
  • Constructor Details

    • AbstractJLinkMojo

      public AbstractJLinkMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager)
  • Method Details

    • getClassifier

      protected abstract String getClassifier()
      Overload this to produce a zip with another classifier, for example a jlink-zip.
      Returns:
      get the classifier
    • getJlinkExecutor

      protected org.apache.maven.plugins.jlink.JLinkExecutor getJlinkExecutor()
    • getToolchain

      protected Optional<org.apache.maven.toolchain.Toolchain> getToolchain()
    • getProject

      protected org.apache.maven.project.MavenProject getProject()
    • getSession

      protected org.apache.maven.execution.MavenSession getSession()
    • convertSeparatedModulePathToPlatformSeparatedModulePath

      protected StringBuilder convertSeparatedModulePathToPlatformSeparatedModulePath(String pluginModulePath)
      This will convert a module path separated by either : or ; into a string which uses the platform path separator uniformly.
      Parameters:
      pluginModulePath - the module path
      Returns:
      the platform separated module path