@@ -12,7 +12,7 @@ Packaging an executable archive is performed by the `repackage` goal, as shown i
1212 <plugin>
1313 <groupId>org.springframework.boot</groupId>
1414 <artifactId>spring-boot-maven-plugin</artifactId>
15- <version>{version}</version>
15+ <version>{gradle-project- version}</version>
1616 <executions>
1717 <execution>
1818 <goals>
@@ -47,7 +47,7 @@ The "Main-Class" in the manifest is actually controlled by the "layout" property
4747 <plugin>
4848 <groupId>org.springframework.boot</groupId>
4949 <artifactId>spring-boot-maven-plugin</artifactId>
50- <version>{version}</version>
50+ <version>{gradle-project- version}</version>
5151 <configuration>
5252 <mainClass>${start.class}</mainClass>
5353 <layout>ZIP</layout>
@@ -92,7 +92,7 @@ If that is the case or if you prefer to keep the original artifact and attach th
9292 <plugin>
9393 <groupId>org.springframework.boot</groupId>
9494 <artifactId>spring-boot-maven-plugin</artifactId>
95- <version>{version}</version>
95+ <version>{gradle-project- version}</version>
9696 <executions>
9797 <execution>
9898 <id>repackage</id>
@@ -165,7 +165,7 @@ The following configuration installs/deploys a single `task` classified artifact
165165 <plugin>
166166 <groupId>org.springframework.boot</groupId>
167167 <artifactId>spring-boot-maven-plugin</artifactId>
168- <version>{version}</version>
168+ <version>{gradle-project- version}</version>
169169 <executions>
170170 <execution>
171171 <id>repackage</id>
@@ -235,7 +235,7 @@ If you need the repackaged jar to have a different local name than the one defin
235235 <plugin>
236236 <groupId>org.springframework.boot</groupId>
237237 <artifactId>spring-boot-maven-plugin</artifactId>
238- <version>{version}</version>
238+ <version>{gradle-project- version}</version>
239239 <executions>
240240 <execution>
241241 <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
267267 <plugin>
268268 <groupId>org.springframework.boot</groupId>
269269 <artifactId>spring-boot-maven-plugin</artifactId>
270- <version>{version}</version>
270+ <version>{gradle-project- version}</version>
271271 <executions>
272272 <execution>
273273 <id>repackage</id>
@@ -302,7 +302,7 @@ Spring Boot repackages the jar file for this project using a custom layout facto
302302 <plugin>
303303 <groupId>org.springframework.boot</groupId>
304304 <artifactId>spring-boot-maven-plugin</artifactId>
305- <version>{version}</version>
305+ <version>{gradle-project- version}</version>
306306 <executions>
307307 <execution>
308308 <id>repackage</id>
@@ -359,7 +359,7 @@ The following example excludes `com.foo:bar`, and only that artifact:
359359 <plugin>
360360 <groupId>org.springframework.boot</groupId>
361361 <artifactId>spring-boot-maven-plugin</artifactId>
362- <version>{version}</version>
362+ <version>{gradle-project- version}</version>
363363 <configuration>
364364 <excludes>
365365 <exclude>
@@ -384,7 +384,7 @@ This example excludes any artifact belonging to the `com.foo` group:
384384 <plugin>
385385 <groupId>org.springframework.boot</groupId>
386386 <artifactId>spring-boot-maven-plugin</artifactId>
387- <version>{version}</version>
387+ <version>{gradle-project- version}</version>
388388 <configuration>
389389 <excludeGroupIds>com.foo</excludeGroupIds>
390390 </configuration>
0 commit comments