Package org.jreleaser.maven.plugin
Class JReleaserEnvMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jreleaser.maven.plugin.JReleaserEnvMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="env")
public class JReleaserEnvMojo
extends org.apache.maven.plugin.AbstractMojo
Display environment variable names.
- Since:
- 1.5.0
- Author:
- Andres Almiray
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectThe Maven project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrintWritervoidexecute()protected org.jreleaser.logging.JReleaserLoggerMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectThe Maven project.
-
-
Constructor Details
-
JReleaserEnvMojo
public JReleaserEnvMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getLogger
protected org.jreleaser.logging.JReleaserLogger getLogger() -
createTracer
-