<?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>
|
<artifactId>kidgrow-searchcenter</artifactId>
|
<groupId>com.kidgrow</groupId>
|
<version>1.0</version>
|
<relativePath>../pom.xml</relativePath>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<description>搜索中心服务端</description>
|
<artifactId>kidgrow-searchcenter-server</artifactId>
|
|
|
<properties>
|
<elasticsearch.version>6.8.0</elasticsearch.version>
|
<elasticsearch.client.version>6.8.0</elasticsearch.client.version>
|
<transport-netty4-client.version>6.8.0</transport-netty4-client.version>
|
</properties>
|
|
<dependencies>
|
<!--elasticsearch.client 版本-->
|
<dependency>
|
<groupId>org.elasticsearch.client</groupId>
|
<artifactId>transport</artifactId>
|
<version>${elasticsearch.client.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.elasticsearch</groupId>
|
<artifactId>elasticsearch</artifactId>
|
<version>${elasticsearch.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.elasticsearch.client</groupId>
|
<artifactId>elasticsearch-rest-client</artifactId>
|
<version>${elasticsearch.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.elasticsearch.client</groupId>
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
<version>${elasticsearch.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.elasticsearch.plugin</groupId>
|
<artifactId>transport-netty4-client</artifactId>
|
<version>${transport-netty4-client.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-config</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-searchcenter-client</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-common-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.kidgrow</groupId>
|
<artifactId>kidgrow-swagger2-spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>io.micrometer</groupId>
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
|
</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.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>com.spotify</groupId>
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
<configuration>
|
<!-- Dockerfile目录指定 -->
|
<dockerfile>Dockerfile</dockerfile>
|
<repository>${docker.repostory}/${docker.image.prefix}/${project.artifactId}</repository>
|
<!-- 生成镜像标签 如不指定 默认为latest -->
|
<tag>1.0.1</tag>
|
<!--<tag>${project.version}</tag>-->
|
<buildArgs>
|
<JAR_FILE>./target/${project.build.finalName}.jar</JAR_FILE>
|
</buildArgs>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|