Class JModCreateMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="create",
          requiresDependencyResolution=COMPILE,
          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 Detail

      • JModCreateMojo

        public JModCreateMojo()
    • Method Detail

      • 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