|
@@ -17,6 +17,17 @@
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ <exclusions>
|
|
|
|
+ <exclusion>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
+ </exclusion>
|
|
|
|
+ </exclusions>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-jetty</artifactId>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
@@ -65,6 +76,25 @@
|
|
<version>3.1.0</version>
|
|
<version>3.1.0</version>
|
|
<scope>provided</scope>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>jakarta.platform</groupId>
|
|
|
|
+ <artifactId>jakarta.jakartaee-api</artifactId>
|
|
|
|
+ <version>10.0.0</version>
|
|
|
|
+ <scope>provided</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
+ <version>2.2.0</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
+ <version>3.4.2</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
</dependencies>
|
|
</dependencies>
|
|
<dependencyManagement>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependencies>
|
|
@@ -82,6 +112,15 @@
|
|
<plugins>
|
|
<plugins>
|
|
<plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
|
+ <version>3.2.0</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
+ <useDefaultDelimiters>true</useDefaultDelimiters>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<configuration>
|
|
@@ -110,4 +149,31 @@
|
|
</plugins>
|
|
</plugins>
|
|
</build>
|
|
</build>
|
|
|
|
|
|
|
|
+ <profiles>
|
|
|
|
+ <!-- 开发环境 -->
|
|
|
|
+ <profile>
|
|
|
|
+ <id>dev</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <profile.active>dev</profile.active>
|
|
|
|
+ </properties>
|
|
|
|
+ </profile>
|
|
|
|
+ <!-- 生产环境 -->
|
|
|
|
+ <profile>
|
|
|
|
+ <id>prod</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <profile.active>prod</profile.active>
|
|
|
|
+ </properties>
|
|
|
|
+ <activation>
|
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
|
+ </activation>
|
|
|
|
+ </profile>
|
|
|
|
+ <!-- 测试环境 -->
|
|
|
|
+ <profile>
|
|
|
|
+ <id>test</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <profile.active>test</profile.active>
|
|
|
|
+ </properties>
|
|
|
|
+ </profile>
|
|
|
|
+ </profiles>
|
|
|
|
+
|
|
</project>
|
|
</project>
|