jedis-5.2.0.pom 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. <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/maven-v4_0_0.xsd">
  2. <parent>
  3. <groupId>org.sonatype.oss</groupId>
  4. <artifactId>oss-parent</artifactId>
  5. <version>7</version>
  6. </parent>
  7. <modelVersion>4.0.0</modelVersion>
  8. <packaging>jar</packaging>
  9. <groupId>redis.clients</groupId>
  10. <artifactId>jedis</artifactId>
  11. <version>5.2.0</version>
  12. <name>Jedis</name>
  13. <description>Jedis is a blazingly small and sane Redis java client.</description>
  14. <url>https://github.com/redis/jedis</url>
  15. <mailingLists>
  16. <mailingList>
  17. <name>Jedis Mailing List</name>
  18. <post>jedis_redis@googlegroups.com</post>
  19. <archive>
  20. https://groups.google.com/group/jedis_redis
  21. </archive>
  22. </mailingList>
  23. </mailingLists>
  24. <licenses>
  25. <license>
  26. <name>MIT</name>
  27. <url>https://github.com/redis/jedis/blob/master/LICENSE</url>
  28. <distribution>repo</distribution>
  29. </license>
  30. </licenses>
  31. <issueManagement>
  32. <system>github</system>
  33. <url>https://github.com/redis/jedis/issues</url>
  34. </issueManagement>
  35. <scm>
  36. <connection>scm:git:git@github.com:redis/jedis.git</connection>
  37. <url>scm:git:git@github.com:redis/jedis.git</url>
  38. <developerConnection>scm:git:git@github.com:redis/jedis.git</developerConnection>
  39. <tag>jedis-3.4.1</tag>
  40. </scm>
  41. <properties>
  42. <github.global.server>github</github.global.server>
  43. <jedis.module.name>redis.clients.jedis</jedis.module.name>
  44. <slf4j.version>1.7.36</slf4j.version>
  45. <resilience4j.version>1.7.1</resilience4j.version>
  46. <jackson.version>2.17.2</jackson.version>
  47. <maven.surefire.version>3.5.0</maven.surefire.version>
  48. </properties>
  49. <dependencies>
  50. <dependency>
  51. <groupId>org.slf4j</groupId>
  52. <artifactId>slf4j-api</artifactId>
  53. <version>${slf4j.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-pool2</artifactId>
  58. <version>2.12.0</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.json</groupId>
  62. <artifactId>json</artifactId>
  63. <version>20240303</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.code.gson</groupId>
  67. <artifactId>gson</artifactId>
  68. <version>2.11.0</version>
  69. </dependency>
  70. <!-- Optional dependencies -->
  71. <!-- UNIX socket connection support -->
  72. <dependency>
  73. <groupId>com.kohlschutter.junixsocket</groupId>
  74. <artifactId>junixsocket-core</artifactId>
  75. <version>2.10.0</version>
  76. <type>pom</type>
  77. <scope>test</scope>
  78. </dependency>
  79. <!-- Well-known text representation of geometry in RediSearch support -->
  80. <dependency>
  81. <groupId>org.locationtech.jts</groupId>
  82. <artifactId>jts-core</artifactId>
  83. <version>1.20.0</version>
  84. <scope>test</scope>
  85. </dependency>
  86. <!-- test -->
  87. <dependency>
  88. <groupId>junit</groupId>
  89. <artifactId>junit</artifactId>
  90. <version>4.13.2</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.hamcrest</groupId>
  95. <artifactId>hamcrest</artifactId>
  96. <version>3.0</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.slf4j</groupId>
  101. <artifactId>slf4j-simple</artifactId>
  102. <version>${slf4j.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.mockito</groupId>
  107. <artifactId>mockito-inline</artifactId>
  108. <version>4.11.0</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.fasterxml.jackson.core</groupId>
  113. <artifactId>jackson-databind</artifactId>
  114. <version>${jackson.version}</version>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.fasterxml.jackson.datatype</groupId>
  119. <artifactId>jackson-datatype-jsr310</artifactId>
  120. <version>${jackson.version}</version>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>net.javacrumbs.json-unit</groupId>
  125. <artifactId>json-unit</artifactId>
  126. <version>2.40.1</version> <!-- 3.x requires Java 17 -->
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.httpcomponents.client5</groupId>
  131. <artifactId>httpclient5-fluent</artifactId>
  132. <version>5.4</version>
  133. <scope>test</scope>
  134. </dependency>
  135. <!-- circuit breaker / failover -->
  136. <dependency>
  137. <groupId>io.github.resilience4j</groupId>
  138. <artifactId>resilience4j-all</artifactId>
  139. <version>${resilience4j.version}</version>
  140. <optional>true</optional>
  141. </dependency>
  142. <dependency>
  143. <groupId>io.github.resilience4j</groupId>
  144. <artifactId>resilience4j-circuitbreaker</artifactId>
  145. <version>${resilience4j.version}</version>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>io.github.resilience4j</groupId>
  150. <artifactId>resilience4j-retry</artifactId>
  151. <version>${resilience4j.version}</version>
  152. <optional>true</optional>
  153. </dependency>
  154. </dependencies>
  155. <distributionManagement>
  156. <snapshotRepository>
  157. <id>ossrh</id>
  158. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  159. </snapshotRepository>
  160. <repository>
  161. <id>ossrh</id>
  162. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  163. </repository>
  164. </distributionManagement>
  165. <build>
  166. <resources>
  167. <resource>
  168. <directory>src/main/resources</directory>
  169. <filtering>true</filtering>
  170. </resource>
  171. </resources>
  172. <plugins>
  173. <plugin>
  174. <groupId>org.jacoco</groupId>
  175. <artifactId>jacoco-maven-plugin</artifactId>
  176. <version>0.8.12</version>
  177. <executions>
  178. <execution>
  179. <goals>
  180. <goal>prepare-agent</goal>
  181. </goals>
  182. </execution>
  183. <execution>
  184. <id>report</id>
  185. <phase>test</phase>
  186. <goals>
  187. <goal>report</goal>
  188. </goals>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. <plugin>
  193. <artifactId>maven-compiler-plugin</artifactId>
  194. <version>3.13.0</version>
  195. <configuration>
  196. <source>1.8</source>
  197. <target>1.8</target>
  198. </configuration>
  199. </plugin>
  200. <plugin>
  201. <artifactId>maven-surefire-plugin</artifactId>
  202. <version>${maven.surefire.version}</version>
  203. <configuration>
  204. <systemPropertyVariables>
  205. <redis-hosts>${redis-hosts}</redis-hosts>
  206. </systemPropertyVariables>
  207. <excludes>
  208. <exclude>**/examples/*Example.java</exclude>
  209. </excludes>
  210. <!--<trimStackTrace>false</trimStackTrace>-->
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-source-plugin</artifactId>
  215. <version>3.3.1</version>
  216. <configuration>
  217. <attach>true</attach>
  218. </configuration>
  219. <executions>
  220. <execution>
  221. <id>attach-sources</id>
  222. <goals>
  223. <goal>jar</goal>
  224. </goals>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. <plugin>
  229. <artifactId>maven-javadoc-plugin</artifactId>
  230. <version>3.10.0</version>
  231. <configuration>
  232. <source>8</source><!-- Until JDK 11+ -->
  233. <detectJavaApiLink>false</detectJavaApiLink><!-- Until JDK 11+ -->
  234. <!--<doclint>none</doclint>-->
  235. <!--<doclint>all,-missing</doclint>-->
  236. </configuration>
  237. <executions>
  238. <execution>
  239. <id>attach-javadoc</id>
  240. <goals>
  241. <goal>jar</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. <plugin>
  247. <artifactId>maven-release-plugin</artifactId>
  248. <version>3.1.1</version>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.sonatype.plugins</groupId>
  252. <artifactId>nexus-staging-maven-plugin</artifactId>
  253. <version>1.7.0</version>
  254. <extensions>true</extensions>
  255. <configuration>
  256. <serverId>ossrh</serverId>
  257. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  258. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  259. </configuration>
  260. </plugin>
  261. <plugin>
  262. <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
  263. <artifactId>maven-java-formatter-plugin</artifactId>
  264. <version>0.4</version>
  265. <configuration>
  266. <configFile>${project.basedir}/hbase-formatter.xml</configFile>
  267. </configuration>
  268. </plugin>
  269. <plugin>
  270. <artifactId>maven-jar-plugin</artifactId>
  271. <version>3.4.2</version>
  272. <configuration>
  273. <archive>
  274. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  275. <manifestEntries>
  276. <Automatic-Module-Name>${jedis.module.name}</Automatic-Module-Name>
  277. </manifestEntries>
  278. </archive>
  279. </configuration>
  280. </plugin>
  281. <plugin>
  282. <groupId>org.apache.felix</groupId>
  283. <artifactId>maven-bundle-plugin</artifactId>
  284. <version>5.1.9</version>
  285. <executions>
  286. <execution>
  287. <id>bundle-manifest</id>
  288. <phase>process-classes</phase>
  289. <goals>
  290. <goal>manifest</goal>
  291. </goals>
  292. </execution>
  293. </executions>
  294. </plugin>
  295. </plugins>
  296. </build>
  297. <profiles>
  298. <profile>
  299. <id>release</id>
  300. <build>
  301. <plugins>
  302. <!--Sign the components - this is required by maven central for releases -->
  303. <plugin>
  304. <artifactId>maven-gpg-plugin</artifactId>
  305. <version>3.2.6</version>
  306. <configuration>
  307. <gpgArguments>
  308. <arg>--pinentry-mode</arg>
  309. <arg>loopback</arg>
  310. </gpgArguments>
  311. </configuration>
  312. <executions>
  313. <execution>
  314. <id>sign-artifacts</id>
  315. <phase>verify</phase>
  316. <goals>
  317. <goal>sign</goal>
  318. </goals>
  319. </execution>
  320. </executions>
  321. </plugin>
  322. </plugins>
  323. </build>
  324. </profile>
  325. <profile>
  326. <id>doctests</id>
  327. <build>
  328. <plugins>
  329. <plugin>
  330. <artifactId>maven-surefire-plugin</artifactId>
  331. <version>${maven.surefire.version}</version>
  332. <configuration>
  333. <test>**/examples/*Example.java</test>
  334. </configuration>
  335. </plugin>
  336. </plugins>
  337. </build>
  338. </profile>
  339. </profiles>
  340. </project>