@@ -12,7 +12,7 @@ Packaging an executable archive is performed by the `repackage` goal, as shown i
12
12
<plugin>
13
13
<groupId>org.springframework.boot</groupId>
14
14
<artifactId>spring-boot-maven-plugin</artifactId>
15
- <version>{version}</version>
15
+ <version>{gradle-project- version}</version>
16
16
<executions>
17
17
<execution>
18
18
<goals>
@@ -47,7 +47,7 @@ The "Main-Class" in the manifest is actually controlled by the "layout" property
47
47
<plugin>
48
48
<groupId>org.springframework.boot</groupId>
49
49
<artifactId>spring-boot-maven-plugin</artifactId>
50
- <version>{version}</version>
50
+ <version>{gradle-project- version}</version>
51
51
<configuration>
52
52
<mainClass>${start.class}</mainClass>
53
53
<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
92
<plugin>
93
93
<groupId>org.springframework.boot</groupId>
94
94
<artifactId>spring-boot-maven-plugin</artifactId>
95
- <version>{version}</version>
95
+ <version>{gradle-project- version}</version>
96
96
<executions>
97
97
<execution>
98
98
<id>repackage</id>
@@ -165,7 +165,7 @@ The following configuration installs/deploys a single `task` classified artifact
165
165
<plugin>
166
166
<groupId>org.springframework.boot</groupId>
167
167
<artifactId>spring-boot-maven-plugin</artifactId>
168
- <version>{version}</version>
168
+ <version>{gradle-project- version}</version>
169
169
<executions>
170
170
<execution>
171
171
<id>repackage</id>
@@ -235,7 +235,7 @@ If you need the repackaged jar to have a different local name than the one defin
235
235
<plugin>
236
236
<groupId>org.springframework.boot</groupId>
237
237
<artifactId>spring-boot-maven-plugin</artifactId>
238
- <version>{version}</version>
238
+ <version>{gradle-project- version}</version>
239
239
<executions>
240
240
<execution>
241
241
<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
267
<plugin>
268
268
<groupId>org.springframework.boot</groupId>
269
269
<artifactId>spring-boot-maven-plugin</artifactId>
270
- <version>{version}</version>
270
+ <version>{gradle-project- version}</version>
271
271
<executions>
272
272
<execution>
273
273
<id>repackage</id>
@@ -302,7 +302,7 @@ Spring Boot repackages the jar file for this project using a custom layout facto
302
302
<plugin>
303
303
<groupId>org.springframework.boot</groupId>
304
304
<artifactId>spring-boot-maven-plugin</artifactId>
305
- <version>{version}</version>
305
+ <version>{gradle-project- version}</version>
306
306
<executions>
307
307
<execution>
308
308
<id>repackage</id>
@@ -359,7 +359,7 @@ The following example excludes `com.foo:bar`, and only that artifact:
359
359
<plugin>
360
360
<groupId>org.springframework.boot</groupId>
361
361
<artifactId>spring-boot-maven-plugin</artifactId>
362
- <version>{version}</version>
362
+ <version>{gradle-project- version}</version>
363
363
<configuration>
364
364
<excludes>
365
365
<exclude>
@@ -384,7 +384,7 @@ This example excludes any artifact belonging to the `com.foo` group:
384
384
<plugin>
385
385
<groupId>org.springframework.boot</groupId>
386
386
<artifactId>spring-boot-maven-plugin</artifactId>
387
- <version>{version}</version>
387
+ <version>{gradle-project- version}</version>
388
388
<configuration>
389
389
<excludeGroupIds>com.foo</excludeGroupIds>
390
390
</configuration>
0 commit comments