
com.alexecollins.docker.mojo.StopMojo Maven / Gradle / Ivy
package com.alexecollins.docker.mojo;
import com.alexecollins.docker.orchestration.DockerOrchestrator;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
/**
* Stop all the containers.
*/
@Mojo(name = "stop", defaultPhase = LifecyclePhase.POST_INTEGRATION_TEST)
public class StopMojo extends AbstractDockerMojo {
@Override
protected void doExecute(DockerOrchestrator orchestrator) throws Exception {
orchestrator.stop();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy