Package io.micronaut.maven.testresources
Class StopTestResourcesServerMojo
java.lang.Object
io.micronaut.maven.testresources.TestResourcesConfiguration
io.micronaut.maven.testresources.AbstractTestResourcesMojo
io.micronaut.maven.testresources.StopTestResourcesServerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="stop-testresources-service",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class StopTestResourcesServerMojo
extends AbstractTestResourcesMojo
Stops the Micronaut test resources server.
-
Field Summary
Fields inherited from class io.micronaut.maven.testresources.AbstractTestResourcesMojo
buildDirectory, classpathInference, clientTimeout, explicitPort, log, pluginContext, serverIdleTimeoutMinutes, testResourcesDependencies, testResourcesVersion
Fields inherited from class io.micronaut.maven.testresources.TestResourcesConfiguration
CONFIG_PROPERTY_PREFIX, debugServer, DISABLED, foreground, shared, sharedServerNamespace, TEST_RESOURCES_ENABLED_PROPERTY, testResourcesEnabled
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorDescriptionStopTestResourcesServerMojo
(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, DependencyResolutionService dependencyResolutionService, org.apache.maven.toolchain.ToolchainManager toolchainManager) -
Method Summary
Methods inherited from class io.micronaut.maven.testresources.AbstractTestResourcesMojo
getLog, getPluginContext, serverSettingsDirectoryOf, setLog, setPluginContext
Methods inherited from class io.micronaut.maven.testresources.TestResourcesConfiguration
getSharedServerNamespace, isShared, isTestResourcesEnabled, setDebugServer, setShared, setSharedServerNamespace, setTestResourcesEnabled
-
Field Details
-
NAME
- See Also:
-
MICRONAUT_TEST_RESOURCES_KEEPALIVE
- See Also:
-
-
Constructor Details
-
StopTestResourcesServerMojo
@Inject public StopTestResourcesServerMojo(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, DependencyResolutionService dependencyResolutionService, org.apache.maven.toolchain.ToolchainManager toolchainManager)
-
-
Method Details
-
execute
- Throws:
org.apache.maven.plugin.MojoExecutionException
-