218 lines
7.6 KiB
XML
218 lines
7.6 KiB
XML
<?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>
|
|
<packaging>pom</packaging>
|
|
<version>1.0</version>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.1.3.RELEASE</version>
|
|
<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>
|
|
<esVersion>5.6.0</esVersion>
|
|
</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.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch</artifactId>
|
|
<version>${esVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-client</artifactId>
|
|
<version>${esVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
|
|
<version>${esVersion}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
|
<version>${esVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
|
|
<version>${esVersion}</version>
|
|
</dependency>
|
|
|
|
<!--kafka-->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.kafka</groupId>
|
|
<artifactId>spring-kafka</artifactId>
|
|
<version>2.1.9.RELEASE</version>
|
|
</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>
|
|
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.56</version>
|
|
</dependency>
|
|
|
|
<!--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>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<!--<version>2.10.3</version>-->
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<!--<licenses>-->
|
|
<!--<license>-->
|
|
<!--<name>Apache license 2.0</name>-->
|
|
<!--<url>https://www.apache.org/licenses/LICENSE-2.0</url>-->
|
|
<!--<distribution>repo</distribution>-->
|
|
<!--<comments>A common utils jar for more than redis elasticsearch http</comments>-->
|
|
<!--</license>-->
|
|
<!--</licenses>-->
|
|
|
|
<!--<developers>-->
|
|
<!--<developer>-->
|
|
<!--<name>liuxuewen</name>-->
|
|
<!--<url>https://github.com/carolcoral</url>-->
|
|
<!--<email>lxw@cnkj.site</email>-->
|
|
<!--</developer>-->
|
|
<!--</developers>-->
|
|
|
|
<!--<scm>-->
|
|
<!--<connection>scm:git:https://github.com/carolcoral/CommonUtil.git</connection>-->
|
|
<!--<developerConnection>scm:git:https://github.com/carolcoral/CommonUtil.git</developerConnection>-->
|
|
<!--<url>https://github.com/carolcoral/CommonUtil</url>-->
|
|
<!--<tag>v${project.version}</tag>-->
|
|
<!--</scm>-->
|
|
|
|
<!--<distributionManagement>-->
|
|
<!--<snapshotRepository>-->
|
|
<!--<id>nexus-releases</id>-->
|
|
<!--<url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
|
|
<!--</snapshotRepository>-->
|
|
<!--<repository>-->
|
|
<!--<id>nexus-releases</id>-->
|
|
<!--<name>Maven Central Staging Repository</name>-->
|
|
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven3/</url>-->
|
|
<!--</repository>-->
|
|
<!--</distributionManagement>-->
|
|
|
|
</project> |