Class GenerateModuleListMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.moditect.mavenplugin.modulelist.GenerateModuleListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="list-application-image-modules", defaultPhase=PACKAGE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class GenerateModuleListMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Details

    • project

      @Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
    • jvmVersion

      @Parameter(property="moditect.jvmVersion") private Integer jvmVersion
  • Constructor Details

    • GenerateModuleListMojo

      public GenerateModuleListMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • determineJvmVersion

      private Version determineJvmVersion()