• 0.23.1

hone:pull

Full name:

org.eolang:hone-maven-plugin:0.23.1: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:

  • 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
<alwaysWithDocker> boolean 0.17.0 Run without Docker even if phino is available.

If this is set to true, Docker is used even if phino is available. It is recommended to keep this parameter to false, thus making the build faster if it's possible.


Default: false
User Property: hone.always-with-docker
<image> String 0.1.0 Docker image to use.
Default: yegor256/hone:0.23.1
User Property: hone.image
<phinoVersion> String 0.21.0 Phino version to use.
User Property: hone.phino-version
<skip> boolean 0.1.0 Skip the execution, if set to TRUE.
Default: false
User Property: hone.skip
<skipOnWindows> boolean 0.23.0 Skip the execution, if it's Windows.
Default: false
User Property: hone.skipOnWindows
<skipWithoutDocker> boolean 0.22.0 Skip the execution, if Docker is not available.
Default: false
User Property: hone.skipWithoutDocker
<sudo> boolean 0.1.0 Whether to use "sudo" when executing Docker commands.
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

<alwaysWithDocker>

Run without Docker even if phino is available.

If this is set to true, Docker is used even if phino is available. It is recommended to keep this parameter to false, thus making the build faster if it's possible.

  • Type: boolean
  • Since: 0.17.0
  • Required: No
  • User Property: hone.always-with-docker
  • Default: false

<image>

Docker image to use.
  • Type: java.lang.String
  • Since: 0.1.0
  • Required: No
  • User Property: hone.image
  • Default: yegor256/hone:0.23.1

<phinoVersion>

Phino version to use.
  • Type: java.lang.String
  • Since: 0.21.0
  • Required: No
  • User Property: hone.phino-version

<skip>

Skip the execution, if set to TRUE.
  • Type: boolean
  • Since: 0.1.0
  • Required: No
  • User Property: hone.skip
  • Default: false

<skipOnWindows>

Skip the execution, if it's Windows.
  • Type: boolean
  • Since: 0.23.0
  • Required: No
  • User Property: hone.skipOnWindows
  • Default: false

<skipWithoutDocker>

Skip the execution, if Docker is not available.
  • Type: boolean
  • Since: 0.22.0
  • Required: No
  • User Property: hone.skipWithoutDocker
  • Default: false

<sudo>

Whether to use "sudo" when executing Docker commands.
  • 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}