Class StopMojo

  • All Implemented Interfaces:
    ConfigHelper.Customizer, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

    @Mojo(name="stop",
          defaultPhase=POST_INTEGRATION_TEST)
    public class StopMojo
    extends AbstractDockerMojo
    Mojo for stopping containers. If called together with docker:start (i.e. when configured for integration testing in a lifefcycle phase), then only the container started by this goal will be stopped and removed by default (this can be tuned with the system property docker.keepContainer). If this goal is called standalone, then all containers are stopped, for which images has been configured in the pom.xml
    Since:
    26.03.14
    Author:
    roland
    • Field Detail

      • autoCreateCustomNetworks

        @Parameter(property="docker.autoCreateCustomNetworks",
                   defaultValue="false")
        protected boolean autoCreateCustomNetworks
        Whether to create the customs networks (user-defined bridge networks) before starting automatically
    • Constructor Detail

      • StopMojo

        public StopMojo()