Package org.eolang.hone
Class RmiMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eolang.hone.RmiMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="rmi",
defaultPhase=PROCESS_CLASSES,
requiresProject=false)
public final class RmiMojo
extends org.apache.maven.plugin.AbstractMojo
Remove Docker image.
This goal deletes Docker image from your machine, in order to save space and simply clean up after the optimization step. You may not use this goal at all, but we recommend to use it.
- Since:
- 0.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDocker image to use.protected booleanWhether to use "sudo" when executing Docker commands.protected FileThe "target/" directory of Maven project.protected org.eolang.hone.TimingsTimings tracker for performance measurements.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
-
target
The "target/" directory of Maven project.- Since:
- 0.1.0
-
timings
protected org.eolang.hone.Timings timingsTimings tracker for performance measurements.- Since:
- 0.1.0
-
image
Docker image to use.- Since:
- 0.1.0
-
sudo
@Parameter(property="hone.sudo", defaultValue="false") protected boolean sudoWhether to use "sudo" when executing Docker commands.- Since:
- 0.1.0
-
-
Constructor Details
-
RmiMojo
public RmiMojo()
-
-
Method Details
-
exec
- Throws:
IOException
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-