spring-boot:stop

Full name:

org.springframework.boot:spring-boot-maven-plugin:2.2.8.RELEASE:stop

Description:

Stop a spring application that has been started by the "start" goal. Typically invoked once a test suite has completed.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.3.0.
  • Binds by default to the lifecycle phase: post-integration-test.

Optional Parameters

Name Type Since Description
<fork> Boolean 1.3.0 Flag to indicate if process to stop was forked. By default, the value is inherited from the MavenProject. If it is set, it must match the value used to StartMojo start the process.
User property is: spring-boot.stop.fork.
<jmxName> String 1.3.0 The JMX name of the automatically deployed MBean managing the lifecycle of the application.
<jmxPort> int 1.3.0 The port to use to lookup the platform MBeanServer if the application has been forked.
<skip> boolean 1.3.2 Skip the execution.
Default value is: false.
User property is: spring-boot.stop.skip.

Parameter Details

<fork>

Flag to indicate if process to stop was forked. By default, the value is inherited from the MavenProject. If it is set, it must match the value used to StartMojo start the process.
  • Type: java.lang.Boolean
  • Since: 1.3.0
  • Required: No
  • User Property: spring-boot.stop.fork

<jmxName>

The JMX name of the automatically deployed MBean managing the lifecycle of the application.
  • Type: java.lang.String
  • Since: 1.3.0
  • Required: No

<jmxPort>

The port to use to lookup the platform MBeanServer if the application has been forked.
  • Type: int
  • Since: 1.3.0
  • Required: No

<skip>

Skip the execution.
  • Type: boolean
  • Since: 1.3.2
  • Required: No
  • User Property: spring-boot.stop.skip
  • Default: false