Class SetPropertiesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.glassfish.spec.maven.SetPropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="set-spec-properties", requiresProject=true, defaultPhase=VALIDATE) public final class SetPropertiesMojo extends org.apache.maven.plugin.AbstractMojo
Generate spec properties.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.maven.project.MavenProject
    The maven project.
    private Spec
    The spec.
    private String
    Mode.

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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
  • Field Details

    • project

      @Parameter(defaultValue="${project}", required=true, readonly=true) private org.apache.maven.project.MavenProject project
      The maven project.
    • specMode

      @Parameter(property="specMode", defaultValue="jakarta") private String specMode
      Mode. Allowed values are "javaee", "jakarta"
    • spec

      @Parameter(property="spec", required=true) private Spec spec
      The spec.
  • Constructor Details

    • SetPropertiesMojo

      public SetPropertiesMojo()
  • 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