| | |
| | | <parent> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-parent</artifactId> |
| | | <version>2.3.0.RELEASE</version> |
| | | <version>2.3.6.RELEASE</version> |
| | | <relativePath/> |
| | | </parent> |
| | | <!--打包成war--> |
| | | <packaging>war</packaging> |
| | | |
| | | <groupId>com.terra</groupId> |
| | | <artifactId>sso</artifactId> |
| | | <groupId>com.lf</groupId> |
| | | <artifactId>server</artifactId> |
| | | <version>1.0.0</version> |
| | | <name>sso</name> |
| | | <description>SSO单点登录</description> |
| | | <name>LFServer</name> |
| | | <description>管道基础大数据平台服务</description> |
| | | |
| | | <properties> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | |
| | | </properties> |
| | | |
| | | <dependencies> |
| | | <!--spring-boot--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | <!--排除内置tomcat容器,让外部容器运行spring-boot项目--> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-tomcat</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <!--tomcat--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-tomcat</artifactId> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | <!--<dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-security</artifactId> |
| | | </dependency>--> |
| | | <!--jdbc--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-jdbc</artifactId> |
| | | </dependency> |
| | | <!--thymeleaf--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| | | <version>2.2.2.RELEASE</version> |
| | | </dependency> |
| | | <!--lombok--> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | <!--mybatis-plus--> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | | <version>3.5.1</version> |
| | | </dependency> |
| | | <!--支持PGIS的geometry类型:https://www.91mszl.com/zhangwuji/article/details/1350--> |
| | | <!--<dependency> |
| | | <groupId>com.eyougo</groupId> |
| | | <artifactId>mybatis-typehandlers-postgis</artifactId> |
| | | <version>1.0</version> |
| | | </dependency>--> |
| | | <!--mybatis--> |
| | | <!--<dependency> |
| | | <groupId>org.mybatis.spring.boot</groupId> |
| | | <artifactId>mybatis-spring-boot-starter</artifactId> |
| | | <version>2.2.0</version> |
| | | </dependency>--> |
| | | <!--redis--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-data-redis</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.apache.commons</groupId> |
| | | <artifactId>commons-pool2</artifactId> |
| | | </dependency> |
| | | <!--postgresql--> |
| | | <dependency> |
| | | <groupId>org.postgresql</groupId> |
| | | <artifactId>postgresql</artifactId> |
| | | <scope>runtime</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.commons</groupId> |
| | | <artifactId>commons-pool2</artifactId> |
| | | </dependency> |
| | | <!--aop--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-aop</artifactId> |
| | | </dependency> |
| | | <!--页面热部署--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-devtools</artifactId> |
| | | <optional>true</optional> |
| | | <scope>true</scope> |
| | | </dependency> |
| | | <!--fastjson--> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>fastjson</artifactId> |
| | | <version>1.2.47</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.shiro</groupId> |
| | | <artifactId>shiro-spring</artifactId> |
| | | <version>1.9.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.apache.shiro</groupId> |
| | | <artifactId>shiro-web</artifactId> |
| | | <version>1.9.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.apache.shiro</groupId> |
| | | <artifactId>shiro-core</artifactId> |
| | | <version>1.9.1</version> |
| | | <scope>compile</scope> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.mybatis.spring.boot</groupId> |
| | | <artifactId>mybatis-spring-boot-starter</artifactId> |
| | | <version>2.2.0</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>log4j</groupId> |
| | | <artifactId>log4j</artifactId> |
| | | <version>1.2.17</version> |
| | | </dependency> |
| | | <!--整合druid数据源--> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>druid</artifactId> |
| | | <version>1.2.8</version> |
| | | <version>1.1.22</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>druid-spring-boot-starter</artifactId> |
| | | <version>1.1.22</version> |
| | | </dependency> |
| | | <!--log4j--> |
| | | <dependency> |
| | |
| | | <artifactId>log4j</artifactId> |
| | | <version>1.2.17</version> |
| | | </dependency> |
| | | <!-- thymeleaf与shiro整合 --> |
| | | <dependency> |
| | | <groupId>com.github.theborakompanioni</groupId> |
| | | <artifactId>thymeleaf-extras-shiro</artifactId> |
| | | <version>2.1.0</version> |
| | | </dependency> |
| | | <!--导入hutool的依赖--> |
| | | <dependency> |
| | | <groupId>cn.hutool</groupId> |
| | | <artifactId>hutool-all</artifactId> |
| | | <version>4.5.7</version> |
| | | </dependency> |
| | | <!--shiro缓存,添加ehcache--> |
| | | <dependency> |
| | | <groupId>org.apache.shiro</groupId> |
| | | <artifactId>shiro-ehcache</artifactId> |
| | | <version>1.4.0</version> |
| | | </dependency> |
| | | <!--test--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-test</artifactId> |
| | | <scope>test</scope> |
| | | </dependency> |
| | | <!--text--> |
| | | <dependency> |
| | | <groupId>org.apache.commons</groupId> |
| | | <artifactId>commons-text</artifactId> |
| | |
| | | <artifactId>springfox-swagger2</artifactId> |
| | | <version>2.9.2</version> |
| | | </dependency> |
| | | <!--swagger ui--> |
| | | <!--swagger-ui--> |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-swagger-ui</artifactId> |
| | | <version>2.9.2</version> |
| | | </dependency> |
| | | <!-- httpclient --> |
| | | <!--httpclient--> |
| | | <dependency> |
| | | <groupId>org.apache.httpcomponents</groupId> |
| | | <artifactId>httpclient</artifactId> |
| | | </dependency> |
| | | <!--<dependency> |
| | | <groupId>org.thymeleaf.extras</groupId> |
| | | <artifactId>thymeleaf-extras-springsecurity5</artifactId> |
| | | <!--websocket--> |
| | | <dependency> |
| | | <groupId>javax.websocket</groupId> |
| | | <artifactId>javax.websocket-api</artifactId> |
| | | <version>1.0</version> |
| | | </dependency> |
| | | <!--websocket--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-security</artifactId> |
| | | <artifactId>spring-boot-starter-websocket</artifactId> |
| | | </dependency> |
| | | <!--oshi--> |
| | | <dependency> |
| | | <groupId>com.github.oshi</groupId> |
| | | <artifactId>oshi-core</artifactId> |
| | | <version>6.8.0</version> |
| | | </dependency> |
| | | <!--hutool--> |
| | | <dependency> |
| | | <groupId>cn.hutool</groupId> |
| | | <artifactId>hutool-all</artifactId> |
| | | <version>5.7.20</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> |
| | | <groupId>net.java.dev.jna</groupId> |
| | | <artifactId>jna</artifactId> |
| | | <version>5.17.0</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-oauth2-client</artifactId> |
| | | <groupId>net.java.dev.jna</groupId> |
| | | <artifactId>jna-platform</artifactId> |
| | | <version>5.17.0</version> |
| | | </dependency> |
| | | <!--commons-fileupload--> |
| | | <dependency> |
| | | <groupId>commons-fileupload</groupId> |
| | | <artifactId>commons-fileupload</artifactId> |
| | | <version>1.4</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.security</groupId> |
| | | <artifactId>spring-security-test</artifactId> |
| | | <scope>test</scope> |
| | | </dependency>--> |
| | | <groupId>commons-io</groupId> |
| | | <artifactId>commons-io</artifactId> |
| | | <version>2.11.0</version> |
| | | </dependency> |
| | | <!--gdal--> |
| | | <dependency> |
| | | <groupId>org.gdal</groupId> |
| | | <artifactId>gdal</artifactId> |
| | | <version>3.2.0</version> |
| | | </dependency> |
| | | <!--zip4j--> |
| | | <dependency> |
| | | <groupId>net.lingala.zip4j</groupId> |
| | | <artifactId>zip4j</artifactId> |
| | | <version>2.6.4</version> |
| | | </dependency> |
| | | <!--easyexcel--> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>easyexcel</artifactId> |
| | | <version>2.2.10</version> |
| | | </dependency> |
| | | <!--access--> |
| | | <dependency> |
| | | <groupId>net.sf.ucanaccess</groupId> |
| | | <artifactId>ucanaccess</artifactId> |
| | | <version>5.0.1</version> |
| | | </dependency> |
| | | <!--war:servlet--> |
| | | <dependency> |
| | | <groupId>javax.servlet</groupId> |
| | | <artifactId>javax.servlet-api</artifactId> |
| | | <version>3.1.0</version> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | <!--fast-md5--> |
| | | <dependency> |
| | | <groupId>com.joyent.util</groupId> |
| | | <artifactId>fast-md5</artifactId> |
| | | <version>2.7.1</version> |
| | | </dependency> |
| | | <!--apache.poi--> |
| | | <dependency> |
| | | <groupId>org.apache.poi</groupId> |
| | | <artifactId>poi-ooxml</artifactId> |
| | | <version>3.16</version> |
| | | </dependency> |
| | | <!--SQLite--> |
| | | <dependency> |
| | | <groupId>org.xerial</groupId> |
| | | <artifactId>sqlite-jdbc</artifactId> |
| | | <version>3.36.0.3</version> |
| | | </dependency> |
| | | <!--proj4j--> |
| | | <dependency> |
| | | <groupId>org.osgeo</groupId> |
| | | <artifactId>proj4j</artifactId> |
| | | <version>0.1.0</version> |
| | | </dependency> |
| | | <!--JTS--> |
| | | <dependency> |
| | | <groupId>org.locationtech.jts</groupId> |
| | | <artifactId>jts-core</artifactId> |
| | | <version>1.19.0</version> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <build> |
| | | <finalName>server</finalName> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <!--<version>2.3.0.RELEASE</version>--> |
| | | <configuration> |
| | | <mainClass>com.lf.server.LfApplication</mainClass> |
| | | </configuration> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |