Package org.glassfish.spec.maven
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
FieldsModifier and TypeFieldDescriptionprivate 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 -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) private org.apache.maven.project.MavenProject projectThe maven project. -
specMode
Mode. Allowed values are "javaee", "jakarta" -
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
-