|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
<parent>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-bom</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<artifactId>docus-collect-nkzxyy</artifactId>
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-knife4j-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.belerweb</groupId>
|
|
|
<artifactId>pinyin4j</artifactId>
|
|
|
<version>2.5.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--配置中心客户端-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>checker-qual</artifactId>
|
|
|
<groupId>org.checkerframework</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
<!--mybatis plus-->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
</dependency>
|
|
|
<!--nacos-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>HdrHistogram</artifactId>
|
|
|
<groupId>org.hdrhistogram</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.28</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.16</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.18.16</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.bgee.log4jdbc-log4j2</groupId>
|
|
|
<artifactId>log4jdbc-log4j2-jdbc4.1</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid</artifactId>
|
|
|
<version>1.2.4</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
<version>3.4.1</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
<version>2.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.xuxueli</groupId>
|
|
|
<artifactId>xxl-job-core</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-base-starter</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>knife4j-spring-boot-autoconfigure</artifactId>
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-tool-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-shiro-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.docus</groupId>
|
|
|
<artifactId>docus-base-starter</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>springfox-core</artifactId>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>springfox-schema</artifactId>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>springfox-spi</artifactId>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>knife4j-spring-boot-autoconfigure</artifactId>
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
</dependency>
|
|
|
<!--<!–添加feign依赖–>-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!--sqlserver驱动-->
|
|
|
<dependency>
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
<artifactId>sqljdbc4</artifactId>
|
|
|
<version>4.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- oracle 驱动-->
|
|
|
<dependency>
|
|
|
<groupId>com.oracle</groupId>
|
|
|
<artifactId>ojdbc6</artifactId>
|
|
|
<version>11.2.0.4.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- webservice cxf-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
<artifactId>cxf-spring-boot-starter-jaxws</artifactId>
|
|
|
<version>3.3.4</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>2.1.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<!--打包时去除第三方依赖-->
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>2.4.4</version>
|
|
|
<configuration>
|
|
|
<layout>ZIP</layout>
|
|
|
<includes>
|
|
|
<include>
|
|
|
<groupId>non-exists</groupId>
|
|
|
<artifactId>non-exists</artifactId>
|
|
|
</include>
|
|
|
</includes>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<goals>
|
|
|
<goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<!--拷贝第三方依赖文件到指定目录-->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>copy-dependencies</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>copy-dependencies</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
|
|
|
<outputDirectory>target/lib</outputDirectory>
|
|
|
<excludeTransitive>false</excludeTransitive>
|
|
|
<stripVersion>false</stripVersion>
|
|
|
<includeScope>runtime</includeScope>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<!-- copy资源文件 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
<version>3.2.0</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>copy-resources</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>copy-resources</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<includes>
|
|
|
<include>**/*.*</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
<id>copy-bin</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>copy-resources</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<filtering>true</filtering>
|
|
|
<includes>
|
|
|
<include>bin/*.xml</include>
|
|
|
<include>*.yml</include>
|
|
|
<include>bin/*.bat</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
<id>copy-data-config</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>copy-resources</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>../../dataConfig</directory>
|
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<outputDirectory>${project.build.directory}/dataConfig</outputDirectory>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
|
|
|
|
|
|
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
<!-- 打jar包时忽略配置文件 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
<version>3.2.0</version>
|
|
|
<configuration>
|
|
|
<excludes>
|
|
|
<exclude>**/*.yml</exclude>
|
|
|
</excludes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<configuration>
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
<descriptors>
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
</descriptors>
|
|
|
</configuration>
|
|
|
<id>make-assembly</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>single</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
</build>
|
|
|
<profiles>
|
|
|
<profile>
|
|
|
<id>dev</id>
|
|
|
<properties>
|
|
|
<profile.name>prod</profile.name>
|
|
|
</properties>
|
|
|
<activation>
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
</activation>
|
|
|
</profile>
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
|
|
</project> |