|
|
|
<?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>tech.abc</groupId>
|
|
|
|
<artifactId>abc-development-platform</artifactId>
|
|
|
|
<version>5.1.0</version>
|
|
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>platform-boot-starter-elasticsearch</artifactId>
|
|
|
|
<version>5.1.0</version>
|
|
|
|
<name>platform-boot-starter-elasticsearch</name>
|
|
|
|
<description>全文搜索</description>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>tech.abc</groupId>
|
|
|
|
<artifactId>platform-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- <!–全文搜索–>-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
|
<!-- <artifactId>spring-boot-starter-data-elasticsearch</artifactId>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
|
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--es搜索-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>co.elastic.clients</groupId>-->
|
|
|
|
<!-- <artifactId>elasticsearch-java</artifactId>-->
|
|
|
|
<!-- <version>8.1.3</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>com.fasterxml.jackson.core</groupId>-->
|
|
|
|
<!-- <artifactId>jackson-databind</artifactId>-->
|
|
|
|
<!-- <version>2.13.3</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--读取Word/Excel/PowerPoint文件内容-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>3.17</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
|
|
<version>3.17</version>
|
|
|
|
</dependency>
|
|
|
|
<!--读取pdf文件内容-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
|
|
<artifactId>pdfbox</artifactId>
|
|
|
|
<version>2.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!--编译插件 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
|
|
|
<!--指定JDK编译版本 -->
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- 测试插件 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.22.2</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- 跳过测试 -->
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
<resources>
|
|
|
|
<!--处理mybatis的mapper.xml文件-->
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<!--处理其他资源文件-->
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<!--系统配置文件-->
|
|
|
|
<include>*.yml</include>
|
|
|
|
<!--excel模板-->
|
|
|
|
<include>**/*.xlsx</include>
|
|
|
|
<!--其他配置文件-->
|
|
|
|
<include>*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</project>
|