|
@@ -1,80 +1,97 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<parent>
|
|
<parent>
|
|
|
<groupId>com.middle.platform</groupId>
|
|
<groupId>com.middle.platform</groupId>
|
|
|
<artifactId>iot-module-upgrade</artifactId>
|
|
<artifactId>iot-module-upgrade</artifactId>
|
|
|
- <version>${revision}</version>
|
|
|
|
|
|
|
+ <version>1.0.0</version>
|
|
|
</parent>
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
+ <groupId>com.middle.platform.upgrade.biz</groupId>
|
|
|
<artifactId>iot-module-upgrade-biz</artifactId>
|
|
<artifactId>iot-module-upgrade-biz</artifactId>
|
|
|
- <packaging>jar</packaging>
|
|
|
|
|
|
|
+
|
|
|
<properties>
|
|
<properties>
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
</properties>
|
|
</properties>
|
|
|
<dependencies>
|
|
<dependencies>
|
|
|
|
|
+ <!-- Spring Cloud 基础 -->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+ <!-- Registry 注册中心相关 -->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
- <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+ <!-- Config 配置中心相关 -->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
|
|
- <optional>true</optional>
|
|
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--认证-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-satoken</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-pagehelper</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-web</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-mybatis</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
- <scope>test</scope>
|
|
|
|
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-redis</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-starter-excel</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-module-system-api</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-module-data-api</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.middle.platform</groupId>
|
|
|
|
|
+ <artifactId>iot-module-manage-api</artifactId>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
</dependencies>
|
|
</dependencies>
|
|
|
-<!-- <dependencyManagement>-->
|
|
|
|
|
-<!-- <dependencies>-->
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
|
-<!-- <artifactId>spring-cloud-dependencies</artifactId>-->
|
|
|
|
|
-<!-- <version>${spring-cloud.version}</version>-->
|
|
|
|
|
-<!-- <type>pom</type>-->
|
|
|
|
|
-<!-- <scope>import</scope>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
-<!-- </dependencies>-->
|
|
|
|
|
-<!-- </dependencyManagement>-->
|
|
|
|
|
-
|
|
|
|
|
<build>
|
|
<build>
|
|
|
|
|
+ <!-- 设置构建的 jar 包名 -->
|
|
|
<plugins>
|
|
<plugins>
|
|
|
- <plugin>
|
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
- <configuration>
|
|
|
|
|
- <annotationProcessorPaths>
|
|
|
|
|
- <path>
|
|
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
|
|
- </path>
|
|
|
|
|
- </annotationProcessorPaths>
|
|
|
|
|
- </configuration>
|
|
|
|
|
- </plugin>
|
|
|
|
|
|
|
+ <!-- 打包 -->
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
|
|
- <excludes>
|
|
|
|
|
- <exclude>
|
|
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
|
|
- </exclude>
|
|
|
|
|
- </excludes>
|
|
|
|
|
- </configuration>
|
|
|
|
|
|
|
+ <version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <goals>
|
|
|
|
|
+ <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
|
|
|
+ </goals>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
</plugins>
|
|
</plugins>
|
|
|
</build>
|
|
</build>
|
|
|
-
|
|
|
|
|
-</project>
|
|
|
|
|
|
|
+</project>
|