Class BuildMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="build",
          defaultPhase=GENERATE_RESOURCES)
    public final class BuildMojo
    extends org.apache.maven.plugin.AbstractMojo
    Build Docker image.
    Since:
    0.1.0
    • 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
    • Constructor Detail

      • BuildMojo

        public BuildMojo()
    • Method Detail

      • execute

        public final void execute()
                           throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException