2019-07-26 15:12:03 +08:00
|
|
|
<?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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>site.cnkj</groupId>
|
|
|
|
<artifactId>CommonUtil</artifactId>
|
2019-11-21 16:10:44 +08:00
|
|
|
<packaging>jar</packaging>
|
2021-02-09 11:06:49 +08:00
|
|
|
<version>2.0.1</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2020-08-17 09:46:32 +08:00
|
|
|
<version>2.3.2.RELEASE</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<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-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--es-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
2021-02-09 11:06:49 +08:00
|
|
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
|
|
|
<version>7.9.3</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
2021-02-09 11:06:49 +08:00
|
|
|
<artifactId>elasticsearch-rest-client</artifactId>
|
|
|
|
<version>7.9.3</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-02-09 11:06:49 +08:00
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<version>7.9.3</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
|
|
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
|
2021-02-09 11:06:49 +08:00
|
|
|
<version>7.9.3</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--kafka-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.kafka</groupId>
|
|
|
|
<artifactId>spring-kafka</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.47</version>
|
|
|
|
</dependency>
|
2019-11-21 15:09:48 +08:00
|
|
|
|
2019-07-26 15:12:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>1.56</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-11-21 15:09:48 +08:00
|
|
|
<!--import lombok instant of to get/set-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2019-11-25 16:58:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
|
|
|
<version>2.1.3.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
2021-02-09 11:06:49 +08:00
|
|
|
<artifactId>mongodb-driver-sync</artifactId>
|
|
|
|
<version>4.0.5</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongodb-driver-legacy</artifactId>
|
|
|
|
<version>4.0.5</version>
|
2019-11-25 16:58:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
2019-12-05 17:52:50 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/ch.ethz.ganymed/ganymed-ssh2 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.ethz.ganymed</groupId>
|
|
|
|
<artifactId>ganymed-ssh2</artifactId>
|
|
|
|
<version>262</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-12-27 17:16:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>3.6.1</version>
|
|
|
|
</dependency>
|
2019-12-05 17:52:50 +08:00
|
|
|
|
2019-12-27 17:16:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.protobuf-java-format</groupId>
|
|
|
|
<artifactId>protobuf-java-format</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
2019-11-25 16:58:36 +08:00
|
|
|
|
2020-08-17 09:46:32 +08:00
|
|
|
<dependency>
|
2021-02-09 11:06:49 +08:00
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-mongodb</artifactId>
|
|
|
|
<version>2.1.5.RELEASE</version>
|
2020-08-17 09:46:32 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2021-02-09 11:06:49 +08:00
|
|
|
<groupId>dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>1.6.1</version>
|
2020-08-17 09:46:32 +08:00
|
|
|
</dependency>
|
|
|
|
|
2019-07-26 15:12:03 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-11-22 16:37:17 +08:00
|
|
|
<version>3.1</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2019-11-22 16:37:17 +08:00
|
|
|
<encoding>UTF-8</encoding>
|
2019-07-26 15:12:03 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-11-21 16:10:44 +08:00
|
|
|
<!--配置生成Javadoc包-->
|
2019-07-26 15:12:03 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2019-11-21 16:10:44 +08:00
|
|
|
<version>2.10.4</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<charset>UTF-8</charset>
|
|
|
|
<docencoding>UTF-8</docencoding>
|
|
|
|
</configuration>
|
2019-07-26 15:12:03 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
2019-11-21 16:10:44 +08:00
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
2019-07-26 15:12:03 +08:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-11-21 16:10:44 +08:00
|
|
|
<!--配置生成源码包-->
|
2019-07-26 15:12:03 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2019-11-21 16:10:44 +08:00
|
|
|
<version>3.0.1</version>
|
2019-07-26 15:12:03 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
2019-11-21 16:10:44 +08:00
|
|
|
<goal>jar</goal>
|
2019-07-26 15:12:03 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2020-01-19 17:34:05 +08:00
|
|
|
<distributionManagement>
|
2020-01-19 15:54:25 +08:00
|
|
|
<repository>
|
2020-01-19 17:34:05 +08:00
|
|
|
<id>CommonUtil</id>
|
|
|
|
<url>https://raw.githubusercontent.com/carolcoral/CommonUtil/master/repository</url>
|
2020-01-19 15:54:25 +08:00
|
|
|
</repository>
|
2020-01-19 17:34:05 +08:00
|
|
|
</distributionManagement>
|
|
|
|
|
2020-01-19 15:54:25 +08:00
|
|
|
|
2019-07-26 15:12:03 +08:00
|
|
|
</project>
|