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) 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
-
-
Constructor Summary
Constructors Constructor Description RmiMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec()
void
execute()
-
-
-
Field Detail
-
image
@Parameter(property="hone.image", defaultValue="yegor256/hone") protected String image
Docker image to use.- Since:
- 0.1.0
- Suppressed Checkstyle violations:
- VisibilityModifierCheck (5 lines)
-
sudo
@Parameter(property="hone.sudo", defaultValue="false") protected boolean sudo
Use "sudo" for "docker".- Since:
- 0.1.0
- Suppressed Checkstyle violations:
- VisibilityModifierCheck (5 lines)
-
-
Method Detail
-
exec
public void exec() throws IOException
- Throws:
IOException
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-