Skip to content

Commit b0da353

Browse files
committed
add build-info
1 parent 9734561 commit b0da353

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

pom.xml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
<groupId>io.dropwizard.metrics</groupId>
4545
<artifactId>metrics-core</artifactId>
4646
</dependency>
47-
<dependency>
48-
<groupId>org.springframework.boot</groupId>
49-
<artifactId>spring-boot-starter-data-redis</artifactId>
50-
</dependency>
47+
<!-- <dependency>
48+
<groupId>org.springframework.boot</groupId>
49+
<artifactId>spring-boot-starter-data-redis</artifactId>
50+
</dependency>-->
5151
<dependency>
5252
<groupId>org.springframework.boot</groupId>
5353
<artifactId>spring-boot-starter-test</artifactId>
@@ -94,6 +94,19 @@
9494
<plugin>
9595
<groupId>org.springframework.boot</groupId>
9696
<artifactId>spring-boot-maven-plugin</artifactId>
97+
<version>${spring-boot.version}</version>
98+
<executions>
99+
<execution>
100+
<goals>
101+
<goal>build-info</goal>
102+
<goal>repackage</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
<configuration>
107+
<!-- do not enable it, this will creats a non standard jar and cause autoconfig to fail -->
108+
<executable>false</executable>
109+
</configuration>
97110
</plugin>
98111
</plugins>
99112
</build>

0 commit comments

Comments
 (0)