Package org.eolang.hone
Class PullMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eolang.hone.PullMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="pull", defaultPhase=PROCESS_CLASSES) public final class PullMojo extends org.apache.maven.plugin.AbstractMojo
Pull Docker image.- Since:
- 0.1.0
-
-
Constructor Summary
Constructors Constructor Description PullMojo()
-
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
-
sudo
@Parameter(property="hone.sudo", defaultValue="false") protected boolean sudo
Use "sudo" for "docker".- Since:
- 0.1.0
-
-
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
-
-