Commit fb33df46 authored by 孙 楠's avatar 孙 楠

去掉 spring boot maven 插件

parent 4847aab7
...@@ -163,20 +163,33 @@ ...@@ -163,20 +163,33 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId> <artifactId>flatten-maven-plugin</artifactId>
<configuration> <inherited>false</inherited>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions> <executions>
<execution> <execution>
<!-- Flatten and simplify our own POM for install/deploy -->
<id>flatten</id> <id>flatten</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<goals> <goals>
<goal>flatten</goal> <goal>flatten</goal>
</goals> </goals>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>bom</flattenMode>
<pomElements>
<parent>expand</parent>
<name>keep</name>
<description>keep</description>
<url>expand</url>
<properties>keep</properties>
<pluginManagement>keep</pluginManagement>
<dependencyManagement>expand</dependencyManagement>
<build>keep</build>
<repositories>remove</repositories>
</pomElements>
</configuration>
</execution> </execution>
<execution> <execution>
<id>flatten.clean</id> <id>flatten-clean</id>
<phase>clean</phase> <phase>clean</phase>
<goals> <goals>
<goal>clean</goal> <goal>clean</goal>
...@@ -203,10 +216,6 @@ ...@@ -203,10 +216,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins> </plugins>
</build> </build>
......
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