Class JModCreateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.jmod.AbstractJModMojo
org.apache.maven.plugins.jmod.JModCreateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="create", requiresDependencyResolution=RUNTIME, defaultPhase=PACKAGE, requiresProject=true) public class JModCreateMojo extends AbstractJModMojo
The create goal is intended to create jmod files which can be used for later linking via maven-jlink-plugin. The jmod files can not be used as usual dependencies on the classpath only in relationship with maven-jlink-plugin.
Author:
Karl Heinz Marbaise khmarbaise@apache.org
  • Constructor Details

    • JModCreateMojo

      @Inject public JModCreateMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.codehaus.plexus.languages.java.jpms.LocationManager locationManager)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException