easy-es-parent-1.0.2.pom 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <packaging>pom</packaging>
  6. <groupId>cn.easy-es</groupId>
  7. <artifactId>easy-es-parent</artifactId>
  8. <version>1.0.2</version>
  9. <name>easy-es-parent</name>
  10. <description>easy use for elastic search</description>
  11. <url>https://github.com/dromara/easy-es</url>
  12. <licenses>
  13. <license>
  14. <name>The Apache Software License, Version 2.0</name>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  16. </license>
  17. </licenses>
  18. <modules>
  19. <module>../easy-es-boot-starter</module>
  20. <module>../easy-es-core</module>
  21. <module>../easy-es-extension</module>
  22. <module>../easy-es-annotation</module>
  23. <module>../easy-es-common</module>
  24. </modules>
  25. <properties>
  26. <java.version>1.8</java.version>
  27. <lombok.version>1.18.12</lombok.version>
  28. <es-rest-high-level-client.version>7.14.0</es-rest-high-level-client.version>
  29. <es.version>7.14.0</es.version>
  30. <fastjson.version>1.2.83</fastjson.version>
  31. <codec.version>1.13</codec.version>
  32. <spring-boot.version>2.6.10</spring-boot.version>
  33. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  34. </properties>
  35. <dependencyManagement>
  36. <dependencies>
  37. <dependency>
  38. <groupId>cn.easy-es</groupId>
  39. <artifactId>easy-es-boot-starter</artifactId>
  40. <version>${version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>cn.easy-es</groupId>
  44. <artifactId>easy-es-core</artifactId>
  45. <version>${version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.easy-es</groupId>
  49. <artifactId>easy-es-extension</artifactId>
  50. <version>${version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>cn.easy-es</groupId>
  54. <artifactId>easy-es-common</artifactId>
  55. <version>${version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>cn.easy-es</groupId>
  59. <artifactId>easy-es-annotation</artifactId>
  60. <version>${version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <version>${lombok.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.elasticsearch.client</groupId>
  69. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  70. <version>${es-rest-high-level-client.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.elasticsearch</groupId>
  74. <artifactId>elasticsearch</artifactId>
  75. <version>${es.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-autoconfigure</artifactId>
  80. <version>${spring-boot.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-configuration-processor</artifactId>
  85. <version>${spring-boot.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. <version>${fastjson.version}</version>
  91. </dependency>
  92. </dependencies>
  93. </dependencyManagement>
  94. <developers>
  95. <developer>
  96. <id>xpc</id>
  97. <name>xpc</name>
  98. <email>252645816@qq.com</email>
  99. <roles>
  100. <role>Project Manager</role>
  101. <role>Architect</role>
  102. </roles>
  103. <timezone>+8</timezone>
  104. </developer>
  105. </developers>
  106. <scm>
  107. <connection>https://github.com/dromara/easy-es.git</connection>
  108. <developerConnection>scm:git:ssh://git@github.com:dromara/easy-es.git</developerConnection>
  109. <url>https://github.com/dromara/easy-es</url>
  110. </scm>
  111. <!-- 使用个人资料:由于生成javadoc和源jar以及使用GPG签署组件是一个相当耗时的过程,因此这些执行通常与正常的构建配置隔离并移动到配置文件中。然后,在通过激活配置文件执行部署时,将使用此配置文件。 -->
  112. <profiles>
  113. <profile>
  114. <id>release</id>
  115. <!-- <id>ossrh</id>-->
  116. <activation>
  117. <activeByDefault>true</activeByDefault>
  118. </activation>
  119. <build>
  120. <plugins>
  121. <!-- <plugin>-->
  122. <!-- <groupId>org.sonatype.plugins</groupId>-->
  123. <!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
  124. <!-- <version>1.6.7</version>-->
  125. <!-- <extensions>true</extensions>-->
  126. <!-- <configuration>-->
  127. <!-- <serverId>ossrh</serverId>-->
  128. <!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>-->
  129. <!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
  130. <!-- </configuration>-->
  131. <!-- </plugin>-->
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-release-plugin</artifactId>
  135. <version>2.5.3</version>
  136. <configuration>
  137. <autoVersionSubmodules>true</autoVersionSubmodules>
  138. <useReleaseProfile>false</useReleaseProfile>
  139. <releaseProfiles>release</releaseProfiles>
  140. <goals>deploy</goals>
  141. </configuration>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-source-plugin</artifactId>
  146. <version>2.2.1</version>
  147. <executions>
  148. <execution>
  149. <id>attach-sources</id>
  150. <goals>
  151. <goal>jar</goal>
  152. </goals>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-javadoc-plugin</artifactId>
  159. <configuration>
  160. <charset>UTF-8</charset>
  161. <encoding>UTF-8</encoding>
  162. <docencoding>UTF-8</docencoding>
  163. </configuration>
  164. <version>2.9.1</version>
  165. <executions>
  166. <execution>
  167. <id>attach-javadocs</id>
  168. <goals>
  169. <goal>jar</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <!--maven发布到中央仓库 gpg 证书,自建仓库,可以注释该插件-->
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-gpg-plugin</artifactId>
  178. <version>1.5</version>
  179. <executions>
  180. <execution>
  181. <id>sign-artifacts</id>
  182. <phase>verify</phase>
  183. <goals>
  184. <goal>sign</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <!--java getImplementationVersion获取版本号-->
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-jar-plugin</artifactId>
  193. <version>${maven-jar-plugin.version}</version>
  194. <configuration>
  195. <archive>
  196. <manifest>
  197. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  198. </manifest>
  199. </archive>
  200. </configuration>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. <!-- 【注】snapshotRepository 与 repository 中的 id 一定要与 setting.xml 中 server 的 id 保持一致! -->
  205. <distributionManagement>
  206. <snapshotRepository>
  207. <!-- <id>ossrh</id>-->
  208. <id>release</id>
  209. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  210. </snapshotRepository>
  211. <repository>
  212. <!-- <id>ossrh</id>-->
  213. <id>release</id>
  214. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  215. </repository>
  216. </distributionManagement>
  217. </profile>
  218. </profiles>
  219. </project>