60 lines
2.0 KiB
XML
60 lines
2.0 KiB
XML
|
|
<?xml version="1.0"?>
|
|||
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|||
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|||
|
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
<parent>
|
|||
|
|
<groupId>com.ruoyi</groupId>
|
|||
|
|
<artifactId>ruoyi</artifactId>
|
|||
|
|
<version>3.0</version>
|
|||
|
|
</parent>
|
|||
|
|
<groupId>com.cronie</groupId>
|
|||
|
|
<artifactId>mengyu-trade</artifactId>
|
|||
|
|
<packaging>jar</packaging>
|
|||
|
|
<version>3.0</version>
|
|||
|
|
<name>mengyu-trade</name>
|
|||
|
|
<properties>
|
|||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|||
|
|
</properties>
|
|||
|
|
<build>
|
|||
|
|
<plugins>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|||
|
|
</configuration>
|
|||
|
|
<executions>
|
|||
|
|
<execution>
|
|||
|
|
<goals>
|
|||
|
|
<goal>repackage</goal>
|
|||
|
|
</goals>
|
|||
|
|
</execution>
|
|||
|
|
</executions>
|
|||
|
|
</plugin>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-war-plugin</artifactId>
|
|||
|
|
<version>3.0.0</version>
|
|||
|
|
<configuration>
|
|||
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|||
|
|
<warName>${artifactId}</warName>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
<finalName>${artifactId}</finalName>
|
|||
|
|
</build>
|
|||
|
|
<dependencies>
|
|||
|
|
<!-- spring-boot-devtools -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|||
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.ruoyi</groupId>
|
|||
|
|
<artifactId>ruoyi-framework</artifactId>
|
|||
|
|
<version>3.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
</dependencies>
|
|||
|
|
</project>
|