|
|
<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>com.jiuyv.sptcc.agile</groupId>
|
|
|
<artifactId>agile-system</artifactId>
|
|
|
<version>0.1.8-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<artifactId>agile-system-console</artifactId>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>com.jiuyv.sptcc.agile</groupId>
|
|
|
<artifactId>agile-mobile-message-api</artifactId>
|
|
|
<version>${agile-mobile-message-api.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.jiuyv.sptcc.agile</groupId>
|
|
|
<artifactId>agile-data-api</artifactId>
|
|
|
<version>${agile-data-api.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- openfeign还是申明下把 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-config</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|
|
<dependency>
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
<version>${bitwalker.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringBoot集成mybatis框架 -->
|
|
|
<dependency>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<version>${mybatis-spring-boot.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
<version>${pagehelper.boot.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 获取系统信息 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
<version>${oshi.version}</version>
|
|
|
</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工具 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>${poi.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- velocity代码生成使用模板 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
<version>${velocity.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- collections工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-collections</groupId>
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
<version>${commons.collections.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Token生成与解析 -->
|
|
|
<dependency>
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
<version>${jwt.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 验证码 -->
|
|
|
<dependency>
|
|
|
<groupId>com.github.penggle</groupId>
|
|
|
<artifactId>kaptcha</artifactId>
|
|
|
<version>${kaptcha.version}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- spring-boot-devtools -->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
|
</dependency>
|
|
|
|
|
|
<!-- json logstash encoder -->
|
|
|
<dependency>
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
<version>6.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Spring框架基本的核心工具 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringWeb模块 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- spring security 安全认证 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- 自定义验证注解 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!--常用工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- yml解析器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.yaml</groupId>
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- Jaxb -->
|
|
|
<dependency>
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pool 对象池 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- servlet包 -->
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
<version>3.1.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
|
|
|
<dependency>
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- <dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
<version>3.5.1</version>
|
|
|
</dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- mysql连接 -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
<artifactId>jsch</artifactId>
|
|
|
<version>0.1.55</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.axis</groupId>
|
|
|
<artifactId>axis</artifactId>
|
|
|
<version>1.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
<version>1.70</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.sf.opencsv/opencsv -->
|
|
|
<dependency>
|
|
|
<groupId>net.sf.opencsv</groupId>
|
|
|
<artifactId>opencsv</artifactId>
|
|
|
<version>2.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- Hive,要测试的时候注释掉devtools-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-jdbc</artifactId>
|
|
|
<version>${hive.version}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>*</artifactId>
|
|
|
<groupId>*</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<!-- Hive-JDBC里面有 ,要测试的时候注释掉devtools -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-service</artifactId>
|
|
|
<version>${hive.version}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>log4j</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-upgrade-acid</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-metastore</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-llap-server</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
|
|
<artifactId>*</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.apache.hive</groupId>
|
|
|
<artifactId>hive-shims</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>jdk.tools</groupId>
|
|
|
<artifactId>jdk.tools</artifactId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<groupId>org.pentaho</groupId>
|
|
|
<artifactId>pentaho-aggdesigner-algorithm</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
|
<artifactId>android-json</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-contract-wiremock</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.mockito</groupId>
|
|
|
<artifactId>mockito-inline</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.h2database</groupId>
|
|
|
<artifactId>h2</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
<version>1.9.3</version>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.javaparser</groupId>
|
|
|
<artifactId>javaparser-core</artifactId>
|
|
|
<version>3.14.16</version>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<skip>true</skip>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>default-prepare-agent</id>
|
|
|
<goals>
|
|
|
<goal>prepare-agent</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
<id>default-report</id>
|
|
|
<phase>prepare-package</phase>
|
|
|
<goals>
|
|
|
<goal>report</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<goals>
|
|
|
<goal>repackage</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<!-- <start-class>com.jiuyv.sptcc.market.order.OrderBatchApplication</start-class>-->
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
<configuration>
|
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<source>1.8</source>
|
|
|
<target>1.8</target>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<compilerArguments>
|
|
|
<extdirs>lib</extdirs>
|
|
|
</compilerArguments>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<!--前后端合并-->
|
|
|
<!--clean插件 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
<version>${maven.clean.version}</version>
|
|
|
<configuration>
|
|
|
<filesets>
|
|
|
<fileset>
|
|
|
<directory>src/main/resources/static</directory>
|
|
|
</fileset>
|
|
|
</filesets>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<version>${maven.resource.version}</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>copy static</id>
|
|
|
<phase>generate-resources</phase>
|
|
|
<goals>
|
|
|
<goal>copy-resources</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<outputDirectory>src/main/resources/static</outputDirectory>
|
|
|
<overwrite>true</overwrite>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<!--因为vue-cli打包的目录在项目的根目录,所以从这里复制 -->
|
|
|
<directory>${project.parent.basedir}/agile-system-console-ui/dist</directory>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project> |