|
@@ -4,208 +4,213 @@
|
|
|
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>
|
|
|
|
|
|
- <groupId>com.sky.building</groupId>
|
|
|
- <artifactId>wisdom_building</artifactId>
|
|
|
+ <groupId>com.sky</groupId>
|
|
|
+ <artifactId>sky_ioc_server</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
- <name>sky-building</name>
|
|
|
+ <name>ioc-server</name>
|
|
|
|
|
|
- <description>skyversation building server</description>
|
|
|
+ <description>智慧运营管理中心</description>
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
<properties>
|
|
|
- <geotools.version>25.2</geotools.version>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <!-- 依赖版本控制 -->
|
|
|
+ <swagger.version>3.0.0</swagger.version>
|
|
|
+ <mybatis.plus.version>3.5.3</mybatis.plus.version>
|
|
|
+ <druid.version>1.2.15</druid.version>
|
|
|
+ <pagehelper.boot.version>1.4.6</pagehelper.boot.version>
|
|
|
+ <commons.io.version>2.11.0</commons.io.version>
|
|
|
+ <commons.fileupload.version>1.4</commons.fileupload.version>
|
|
|
+ <fastjson.version>1.2.83</fastjson.version>
|
|
|
+ <easyexcel.version>3.1.1</easyexcel.version>
|
|
|
</properties>
|
|
|
|
|
|
-
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.5.2</version>
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ <version>2.5.14</version>
|
|
|
+ <relativePath/>
|
|
|
</parent>
|
|
|
|
|
|
-
|
|
|
<dependencies>
|
|
|
+ <!--spring web start-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
- <!-- 打包专用,平时注释掉-->
|
|
|
- <!-- <exclusions>-->
|
|
|
- <!-- <exclusion>-->
|
|
|
- <!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
- <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
|
|
|
- <!-- </exclusion>-->
|
|
|
- <!-- </exclusions>-->
|
|
|
- </dependency>
|
|
|
- <!-- 打包专用,平时注释掉-->
|
|
|
- <!-- <dependency>-->
|
|
|
- <!-- <groupId>javax.servlet</groupId>-->
|
|
|
- <!-- <artifactId>javax.servlet-api</artifactId>-->
|
|
|
- <!-- <version>3.1.0</version>-->
|
|
|
- <!-- </dependency>-->
|
|
|
-<!-- <dependency>-->
|
|
|
-<!-- <groupId>org.mybatis.spring.boot</groupId>-->
|
|
|
-<!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
|
|
|
-<!-- <version>2.2.0</version>-->
|
|
|
-<!-- </dependency>-->
|
|
|
- <!-- excel 解析库-->
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
|
|
|
+ <!--maven打war包配置-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-test</artifactId>
|
|
|
- <scope>test</scope>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
- <groupId>com.baomidou</groupId>
|
|
|
- <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
- <version>3.5.1</version>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>javax.servlet-api</artifactId>
|
|
|
+ <scope>runtime</scope>
|
|
|
</dependency>
|
|
|
+ <!--spring web end-->
|
|
|
+
|
|
|
+ <!-- SpringBoot 拦截器 -->
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi</artifactId>
|
|
|
- <version>3.13</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!-- redis -->
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.poi</groupId>
|
|
|
- <artifactId>poi-ooxml</artifactId>
|
|
|
- <version>3.13</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
+ <!-- spring boot 缓存 -->
|
|
|
<dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-cache</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- springboot quartz定时任务 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-quartz</artifactId>
|
|
|
</dependency>
|
|
|
-<!-- <dependency>-->
|
|
|
-<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
-<!-- <artifactId>spring-boot-starter-quartz</artifactId>-->
|
|
|
-<!-- </dependency>-->
|
|
|
+
|
|
|
+ <!-- spring boot 日志 -->
|
|
|
<dependency>
|
|
|
- <groupId>com.vividsolutions</groupId>
|
|
|
- <artifactId>jts</artifactId>
|
|
|
- <version>1.13</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
</dependency>
|
|
|
- <!-- swagger3.0 -->
|
|
|
+
|
|
|
+ <!-- spring boot 校验 -->
|
|
|
<dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-boot-starter</artifactId>
|
|
|
- <version>3.0.0</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
- <!-- redis -->
|
|
|
- <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis -->
|
|
|
+
|
|
|
+ <!-- spring boot 测试 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
- <version>2.5.2</version>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
</dependency>
|
|
|
-<!-- <!– spring cache–>-->
|
|
|
-<!-- <dependency>-->
|
|
|
-<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
-<!-- <artifactId>spring-boot-starter-cache</artifactId>-->
|
|
|
-<!-- </dependency>-->
|
|
|
- <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
|
|
|
+
|
|
|
+ <!-- 阿里数据库连接池 -->
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.commons</groupId>
|
|
|
- <artifactId>commons-pool2</artifactId>
|
|
|
- <version>2.10.0</version>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ <version>${druid.version}</version>
|
|
|
</dependency>
|
|
|
- <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
+
|
|
|
+ <!--mybatis plus-->
|
|
|
<dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>1.18.20</version>
|
|
|
- <scope>provided</scope>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
+ <version>${mybatis.plus.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- pagehelper 分页插件 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
+ <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
+ <version>${pagehelper.boot.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- 定时任务 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.quartz-scheduler</groupId>
|
|
|
+ <artifactId>quartz</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.mchange</groupId>
|
|
|
+ <artifactId>c3p0</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- io常用工具类 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ <version>${commons.io.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- 文件上传工具类 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>${commons.fileupload.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- excel工具 含poi -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>easyexcel</artifactId>
|
|
|
+ <version>${easyexcel.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- mysql 驱动 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
</dependency>
|
|
|
- <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
|
|
|
+
|
|
|
+ <!-- swagger3.0 -->
|
|
|
<dependency>
|
|
|
- <groupId>com.auth0</groupId>
|
|
|
- <artifactId>java-jwt</artifactId>
|
|
|
- <version>3.8.3</version>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-boot-starter</artifactId>
|
|
|
+ <version>${swagger.version}</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!-- fastjson -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
- <version>1.2.62</version>
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!-- lombok -->
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.commons</groupId>
|
|
|
- <artifactId>commons-lang3</artifactId>
|
|
|
- <version>3.8.1</version>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
- <!-- 打包专用,平时注释掉-->
|
|
|
- <finalName>metadata-sky-war</finalName>
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>3.0.2</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>${java.version}</source>
|
|
|
+ <target>${java.version}</target>
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
</plugin>
|
|
|
- <!-- <plugin>-->
|
|
|
- <!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
- <!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
|
- <!-- <version>3.8.1</version>-->
|
|
|
- <!-- <configuration>-->
|
|
|
- <!-- <!– 编译使用,平时可不用–>-->
|
|
|
- <!-- <!– <verbose>true</verbose>–>-->
|
|
|
- <!-- <!– <fork>true</fork>–>-->
|
|
|
- <!-- <!– <executable>${JAVA8_HOME}/bin/javac</executable>–>-->
|
|
|
- <!-- </configuration>-->
|
|
|
- <!-- </plugin>-->
|
|
|
- <!-- <plugin>-->
|
|
|
- <!-- <artifactId>maven-antrun-plugin</artifactId>-->
|
|
|
- <!-- <executions>-->
|
|
|
- <!-- <execution>-->
|
|
|
- <!-- <phase>package</phase>-->
|
|
|
- <!-- <configuration>-->
|
|
|
- <!-- <tasks>-->
|
|
|
- <!-- <copy todir="src/main/docker" file="target/${project.artifactId}-${project.version}.${project.packaging}"/>-->
|
|
|
- <!-- </tasks>-->
|
|
|
- <!-- </configuration>-->
|
|
|
- <!-- <goals>-->
|
|
|
- <!-- <goal>run</goal>-->
|
|
|
- <!-- </goals>-->
|
|
|
- <!-- </execution>-->
|
|
|
- <!-- </executions>-->
|
|
|
- <!-- </plugin>-->
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>osgeo</id>
|
|
|
- <name>OSGeo Release Repository</name>
|
|
|
- <url>https://repo.osgeo.org/repository/release/</url>
|
|
|
- <snapshots>
|
|
|
- <enabled>false</enabled>
|
|
|
- </snapshots>
|
|
|
- <releases>
|
|
|
- <enabled>true</enabled>
|
|
|
- <!--不加如下updatePolicy会报错:resolution will not be reattempted until the update interval of XXX has elapsed or updates are force-->
|
|
|
- <updatePolicy>always</updatePolicy>
|
|
|
- </releases>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <id>maven2-repository.dev.java.net</id>
|
|
|
- <name>Java.net repository</name>
|
|
|
- <url>http://download.java.net/maven/2</url>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <snapshots>
|
|
|
- <enabled>true</enabled>
|
|
|
- </snapshots>
|
|
|
- <id>boundless</id>
|
|
|
- <name>Boundless Maven Repository</name>
|
|
|
- <url>http://repo.boundlessgeo.com/main</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</project>
|