<?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">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.2.7.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
<groupId>com.example</groupId>
|
<artifactId>zsx</artifactId>
|
<packaging>war</packaging>
|
<name>zsx</name>
|
<description>Demo project for Spring Boot</description>
|
|
<properties>
|
<java.version>1.8</java.version>
|
<spring-boot-admin.version>2.2.1</spring-boot-admin.version>
|
<spring-cloud.version>Hoxton.SR4</spring-cloud.version>
|
<jwt.version>0.8.0</jwt.version>
|
<swagger.version>2.7.0</swagger.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
</dependency>
|
|
<!--排除内置tomcat-->
|
<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>
|
<!-- 本地运行注释掉:添加servlet依赖 -->
|
<!--<dependency>
|
<groupId>javax.servlet</groupId>
|
<artifactId>javax.servlet-api</artifactId>
|
<version>3.1.0</version>
|
<scope>provided</scope>
|
</dependency>-->
|
|
<!--jwt-->
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt</artifactId>
|
<version>${jwt.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<optional>true</optional>
|
</dependency>
|
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
<version>${swagger.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
<exclusions>
|
<exclusion>
|
<groupId>org.junit.vintage</groupId>
|
<artifactId>junit-vintage-engine</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.mitre.dsmiley.httpproxy</groupId>
|
<artifactId>smiley-http-proxy-servlet</artifactId>
|
<version>1.7</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.github.LinYuanBaoBao</groupId>
|
<artifactId>http-proxy-servlet</artifactId>
|
<version>1.0.2-RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.47</version>
|
</dependency>
|
<dependency>
|
<groupId>redis.clients</groupId>
|
<artifactId>jedis</artifactId>
|
<version>2.9.0</version><!--$NO-MVN-MAN-VER$-->
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>2.1.0</version>
|
</dependency>
|
<!--瀚高数据库驱动-->
|
<!-- <dependency>-->
|
<!-- <groupId>com.highgo</groupId>-->
|
<!-- <artifactId>hgdb-jdbc42</artifactId>-->
|
<!-- <version>4.0</version>-->
|
<!-- </dependency>-->
|
<!-- <dependency>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
|
<!-- </dependency>-->
|
<dependency>
|
<groupId>org.postgresql</groupId>
|
<artifactId>postgresql</artifactId>
|
<version>42.3.1</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>1.1.10</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
<version>2.1.8.RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
<version>4.6.4</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<version>1.5.6.RELEASE</version>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>easyexcel</artifactId>
|
<version>2.2.10</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.ehcache</groupId>
|
<artifactId>ehcache</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
<version>2.8.5</version>
|
</dependency>
|
</dependencies>
|
|
|
|
<build>
|
<finalName>proxy</finalName>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<mainClass>com.terra.proxy.ProxyApplication</mainClass>
|
<fork>true</fork>
|
</configuration>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-war-plugin</artifactId>
|
<version>2.6</version>
|
<configuration>
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.5.1</version>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|