Commit cbee1631 authored by Andy Wilkinson's avatar Andy Wilkinson

Fix version references in Maven Plugin's reference documentation

Closes gh-19878
parent 331ebe90
...@@ -12,7 +12,7 @@ It also allows you to add an arbitrary number of additional properties, as shown ...@@ -12,7 +12,7 @@ It also allows you to add an arbitrary number of additional properties, as shown
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
......
...@@ -11,7 +11,7 @@ To make sure that the lifecycle of your Spring Boot application is properly mana ...@@ -11,7 +11,7 @@ To make sure that the lifecycle of your Spring Boot application is properly mana
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>pre-integration-test</id> <id>pre-integration-test</id>
...@@ -79,7 +79,7 @@ The example below showcases how you could achieve the same feature using the htt ...@@ -79,7 +79,7 @@ The example below showcases how you could achieve the same feature using the htt
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>pre-integration-test</id> <id>pre-integration-test</id>
...@@ -136,7 +136,7 @@ This example shows how you can skip integration tests with a command-line proper ...@@ -136,7 +136,7 @@ This example shows how you can skip integration tests with a command-line proper
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>pre-integration-test</id> <id>pre-integration-test</id>
......
...@@ -12,7 +12,7 @@ Packaging an executable archive is performed by the `repackage` goal, as shown i ...@@ -12,7 +12,7 @@ Packaging an executable archive is performed by the `repackage` goal, as shown i
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
...@@ -47,7 +47,7 @@ The "Main-Class" in the manifest is actually controlled by the "layout" property ...@@ -47,7 +47,7 @@ The "Main-Class" in the manifest is actually controlled by the "layout" property
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<mainClass>${start.class}</mainClass> <mainClass>${start.class}</mainClass>
<layout>ZIP</layout> <layout>ZIP</layout>
...@@ -92,7 +92,7 @@ If that is the case or if you prefer to keep the original artifact and attach th ...@@ -92,7 +92,7 @@ If that is the case or if you prefer to keep the original artifact and attach th
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
...@@ -165,7 +165,7 @@ The following configuration installs/deploys a single `task` classified artifact ...@@ -165,7 +165,7 @@ The following configuration installs/deploys a single `task` classified artifact
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
...@@ -235,7 +235,7 @@ If you need the repackaged jar to have a different local name than the one defin ...@@ -235,7 +235,7 @@ If you need the repackaged jar to have a different local name than the one defin
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
...@@ -267,7 +267,7 @@ If you need to only deploy the original jar and yet be able to run your app with ...@@ -267,7 +267,7 @@ If you need to only deploy the original jar and yet be able to run your app with
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
...@@ -302,7 +302,7 @@ Spring Boot repackages the jar file for this project using a custom layout facto ...@@ -302,7 +302,7 @@ Spring Boot repackages the jar file for this project using a custom layout facto
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
...@@ -359,7 +359,7 @@ The following example excludes `com.foo:bar`, and only that artifact: ...@@ -359,7 +359,7 @@ The following example excludes `com.foo:bar`, and only that artifact:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<excludes> <excludes>
<exclude> <exclude>
...@@ -384,7 +384,7 @@ This example excludes any artifact belonging to the `com.foo` group: ...@@ -384,7 +384,7 @@ This example excludes any artifact belonging to the `com.foo` group:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<excludeGroupIds>com.foo</excludeGroupIds> <excludeGroupIds>com.foo</excludeGroupIds>
</configuration> </configuration>
......
...@@ -26,7 +26,7 @@ To enable it, just add the following dependency to your project: ...@@ -26,7 +26,7 @@ To enable it, just add the following dependency to your project:
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId> <artifactId>spring-boot-devtools</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
</dependencies> </dependencies>
...@@ -54,7 +54,7 @@ You can restore it at any time by configuring your project: ...@@ -54,7 +54,7 @@ You can restore it at any time by configuring your project:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<addResources>true</addResources> <addResources>true</addResources>
</configuration> </configuration>
...@@ -99,7 +99,7 @@ The following configuration suspend the process until a debugger has joined on p ...@@ -99,7 +99,7 @@ The following configuration suspend the process until a debugger has joined on p
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<jvmArguments> <jvmArguments>
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
...@@ -136,7 +136,7 @@ The following example sets `property1` to `test` and `property2` to 42: ...@@ -136,7 +136,7 @@ The following example sets `property1` to `test` and `property2` to 42:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<systemPropertyVariables> <systemPropertyVariables>
<property1>test</property1> <property1>test</property1>
...@@ -178,7 +178,7 @@ The following example sets the 'ENV1', 'ENV2', 'ENV3', 'ENV4' env variables: ...@@ -178,7 +178,7 @@ The following example sets the 'ENV1', 'ENV2', 'ENV3', 'ENV4' env variables:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<environmentVariables> <environmentVariables>
<ENV1>5000</ENV1> <ENV1>5000</ENV1>
...@@ -217,7 +217,7 @@ The following configuration enables the `foo` and `bar` profiles: ...@@ -217,7 +217,7 @@ The following configuration enables the `foo` and `bar` profiles:
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>{version}</version> <version>{gradle-project-version}</version>
<configuration> <configuration>
<profiles> <profiles>
<profile>foo</profile> <profile>foo</profile>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment