|
@@ -175,15 +175,22 @@
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
+
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <version>2.5.15</version>
|
|
|
<configuration>
|
|
|
- <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
</configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>2.0.3.RELEASE</version>
|
|
|
+ <configuration>
|
|
|
+ <mainClass>com.shcd.boat.BoatApplication</mainClass>
|
|
|
+ </configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<goals>
|
|
@@ -192,17 +199,6 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- <configuration>
|
|
|
- <failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
- <warName>${project.artifactId}</warName>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
</plugins>
|
|
|
- <finalName>${project.artifactId}</finalName>
|
|
|
</build>
|
|
|
-
|
|
|
</project>
|