Skip to content

Commit 229ae4c

Browse files
committed
fix: package support
1 parent de823fa commit 229ae4c

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

blog-business/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@
101101
<plugin>
102102
<groupId>org.springframework.boot</groupId>
103103
<artifactId>spring-boot-maven-plugin</artifactId>
104+
<!--配置为SpringBoot版本-->
105+
<version>${spring-boot.version}</version>
106+
<executions>
107+
<execution>
108+
<goals>
109+
<goal>repackage</goal>
110+
</goals>
111+
</execution>
112+
</executions>
104113
</plugin>
105114
</plugins>
106115
</build>

blog-consumer/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@
8484
<plugin>
8585
<groupId>org.springframework.boot</groupId>
8686
<artifactId>spring-boot-maven-plugin</artifactId>
87+
<!--配置为SpringBoot版本-->
88+
<version>${spring-boot.version}</version>
89+
<executions>
90+
<execution>
91+
<goals>
92+
<goal>repackage</goal>
93+
</goals>
94+
</execution>
95+
</executions>
8796
</plugin>
8897
</plugins>
8998
</build>

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
<pagehelper.version>1.3.0</pagehelper.version>
3333
<hutool.version>5.8.10</hutool.version>
3434
<commons-lang3.version>3.12.0</commons-lang3.version>
35+
36+
<!--跳过单元测试-->
37+
<skipTests>true</skipTests>
3538
</properties>
3639

3740
<dependencyManagement>

0 commit comments

Comments
 (0)