hone:pull
Full name:
org.eolang:hone-maven-plugin:0.0.28:pull
Description:
Pull Docker image from Docker Hub.
This goal pulls Docker image from Docker Hub to your machine. You may skip this goal and simply use the optimize goal, which will automatically pull the image from the Hub. However, it would be cleaner to use pull, then optimize, and then rmi (which deletes the image from your machine).
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
0.1.0
. - Binds by default to the lifecycle phase:
process-classes
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<image> |
String |
0.1.0 |
Docker image to use. Default: yegor256/hone:latest User Property: hone.image |
<skip> |
boolean |
0.1.0 |
Skip the execution, if set to TRUE. Default: false User Property: hone.skip |
<sudo> |
boolean |
0.1.0 |
Use "sudo" for "docker". Default: false User Property: hone.sudo |
<target> |
File |
0.1.0 |
The "target/" directory of Maven project. Default: ${project.build.directory} User Property: hone.target |
Parameter Details
<image>
Docker image to use.
- Type:
java.lang.String
- Since:
0.1.0
- Required:
No
- User Property:
hone.image
- Default:
yegor256/hone:latest
<skip>
Skip the execution, if set to TRUE.
- Type:
boolean
- Since:
0.1.0
- Required:
No
- User Property:
hone.skip
- Default:
false
<sudo>
Use "sudo" for "docker".
- Type:
boolean
- Since:
0.1.0
- Required:
No
- User Property:
hone.sudo
- Default:
false
<target>
The "target/" directory of Maven project.
- Type:
java.io.File
- Since:
0.1.0
- Required:
No
- User Property:
hone.target
- Default:
${project.build.directory}