| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?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>
- <packaging>pom</packaging>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-parent</artifactId>
- <version>1.0.2</version>
- <name>easy-es-parent</name>
- <description>easy use for elastic search</description>
- <url>https://github.com/dromara/easy-es</url>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- </license>
- </licenses>
- <modules>
- <module>../easy-es-boot-starter</module>
- <module>../easy-es-core</module>
- <module>../easy-es-extension</module>
- <module>../easy-es-annotation</module>
- <module>../easy-es-common</module>
- </modules>
- <properties>
- <java.version>1.8</java.version>
- <lombok.version>1.18.12</lombok.version>
- <es-rest-high-level-client.version>7.14.0</es-rest-high-level-client.version>
- <es.version>7.14.0</es.version>
- <fastjson.version>1.2.83</fastjson.version>
- <codec.version>1.13</codec.version>
- <spring-boot.version>2.6.10</spring-boot.version>
- <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-boot-starter</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-core</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-extension</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-common</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>cn.easy-es</groupId>
- <artifactId>easy-es-annotation</artifactId>
- <version>${version}</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <dependency>
- <groupId>org.elasticsearch.client</groupId>
- <artifactId>elasticsearch-rest-high-level-client</artifactId>
- <version>${es-rest-high-level-client.version}</version>
- </dependency>
- <dependency>
- <groupId>org.elasticsearch</groupId>
- <artifactId>elasticsearch</artifactId>
- <version>${es.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-autoconfigure</artifactId>
- <version>${spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <version>${spring-boot.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <developers>
- <developer>
- <id>xpc</id>
- <name>xpc</name>
- <email>252645816@qq.com</email>
- <roles>
- <role>Project Manager</role>
- <role>Architect</role>
- </roles>
- <timezone>+8</timezone>
- </developer>
- </developers>
- <scm>
- <connection>https://github.com/dromara/easy-es.git</connection>
- <developerConnection>scm:git:ssh://git@github.com:dromara/easy-es.git</developerConnection>
- <url>https://github.com/dromara/easy-es</url>
- </scm>
- <!-- 使用个人资料:由于生成javadoc和源jar以及使用GPG签署组件是一个相当耗时的过程,因此这些执行通常与正常的构建配置隔离并移动到配置文件中。然后,在通过激活配置文件执行部署时,将使用此配置文件。 -->
- <profiles>
- <profile>
- <id>release</id>
- <!-- <id>ossrh</id>-->
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <!-- <plugin>-->
- <!-- <groupId>org.sonatype.plugins</groupId>-->
- <!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
- <!-- <version>1.6.7</version>-->
- <!-- <extensions>true</extensions>-->
- <!-- <configuration>-->
- <!-- <serverId>ossrh</serverId>-->
- <!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>-->
- <!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
- <!-- </configuration>-->
- <!-- </plugin>-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.3</version>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <useReleaseProfile>false</useReleaseProfile>
- <releaseProfiles>release</releaseProfiles>
- <goals>deploy</goals>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.2.1</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <charset>UTF-8</charset>
- <encoding>UTF-8</encoding>
- <docencoding>UTF-8</docencoding>
- </configuration>
- <version>2.9.1</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--maven发布到中央仓库 gpg 证书,自建仓库,可以注释该插件-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--java getImplementationVersion获取版本号-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <!-- 【注】snapshotRepository 与 repository 中的 id 一定要与 setting.xml 中 server 的 id 保持一致! -->
- <distributionManagement>
- <snapshotRepository>
- <!-- <id>ossrh</id>-->
- <id>release</id>
- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- <repository>
- <!-- <id>ossrh</id>-->
- <id>release</id>
- <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
- </repository>
- </distributionManagement>
- </profile>
- </profiles>
- </project>
|