lettuce-core-5.2.1.RELEASE.pom 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055
  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/xsd/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>9</version>
  7. </parent>
  8. <groupId>io.lettuce</groupId>
  9. <artifactId>lettuce-core</artifactId>
  10. <version>5.2.1.RELEASE</version>
  11. <packaging>jar</packaging>
  12. <name>Lettuce</name>
  13. <description>Advanced and thread-safe Java Redis client for synchronous, asynchronous, and
  14. reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs
  15. and much more.
  16. </description>
  17. <url>http://github.com/lettuce-io/lettuce-core</url>
  18. <organization>
  19. <name>lettuce.io</name>
  20. <url>https://lettuce.io</url>
  21. </organization>
  22. <licenses>
  23. <license>
  24. <name>Apache License, Version 2.0</name>
  25. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  26. <distribution>repo</distribution>
  27. </license>
  28. </licenses>
  29. <ciManagement>
  30. <system>Travis CI</system>
  31. <url>https://travis-ci.org/lettuce-io/lettuce-core</url>
  32. </ciManagement>
  33. <issueManagement>
  34. <system>Github</system>
  35. <url>https://github.com/lettuce-io/lettuce-core/issues</url>
  36. </issueManagement>
  37. <developers>
  38. <developer>
  39. <id>will</id>
  40. <name>Will Glozer</name>
  41. </developer>
  42. <developer>
  43. <id>mp911de</id>
  44. <name>Mark Paluch</name>
  45. </developer>
  46. </developers>
  47. <properties>
  48. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  49. <assertj-core.version>3.13.2</assertj-core.version>
  50. <brave-version>5.7.0</brave-version>
  51. <junit-version>5.5.2</junit-version>
  52. <log4j2-version>2.11.2</log4j2-version>
  53. <mockito.version>3.0.0</mockito.version>
  54. <netty-version>4.1.43.Final</netty-version>
  55. <reactor-version>3.3.0.RELEASE</reactor-version>
  56. <reactive-streams-tck.version>1.0.3</reactive-streams-tck.version>
  57. <slf4j.version>1.7.25</slf4j.version>
  58. <spring-version>4.3.20.RELEASE</spring-version>
  59. <!-- You need a running redis+sentinel for all tests, therefore disabled by default -->
  60. <skipITs>true</skipITs>
  61. </properties>
  62. <scm>
  63. <connection>scm:git:https://github.com/lettuce-io/lettuce-core.git</connection>
  64. <developerConnection>scm:git:https://github.com/lettuce-io/lettuce-core.git</developerConnection>
  65. <url>http://github.com/lettuce-io/lettuce-core</url>
  66. <tag>5.2.1.RELEASE</tag>
  67. </scm>
  68. <dependencyManagement>
  69. <dependencies>
  70. <dependency>
  71. <groupId>io.netty</groupId>
  72. <artifactId>netty-bom</artifactId>
  73. <version>${netty-version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework</groupId>
  79. <artifactId>spring-framework-bom</artifactId>
  80. <version>${spring-version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.zipkin.brave</groupId>
  86. <artifactId>brave-bom</artifactId>
  87. <version>${brave-version}</version>
  88. <type>pom</type>
  89. <scope>import</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.junit</groupId>
  93. <artifactId>junit-bom</artifactId>
  94. <version>${junit-version}</version>
  95. <type>pom</type>
  96. <scope>import</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.logging.log4j</groupId>
  100. <artifactId>log4j-bom</artifactId>
  101. <version>${log4j2-version}</version>
  102. <type>pom</type>
  103. <scope>import</scope>
  104. </dependency>
  105. </dependencies>
  106. </dependencyManagement>
  107. <dependencies>
  108. <!-- Start of core dependencies -->
  109. <dependency>
  110. <groupId>io.netty</groupId>
  111. <artifactId>netty-common</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>io.netty</groupId>
  115. <artifactId>netty-handler</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.netty</groupId>
  119. <artifactId>netty-transport</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>io.projectreactor</groupId>
  123. <artifactId>reactor-core</artifactId>
  124. <version>${reactor-version}</version>
  125. </dependency>
  126. <!-- End of core dependencies -->
  127. <!-- Start of optional dependencies -->
  128. <dependency>
  129. <groupId>org.apache.commons</groupId>
  130. <artifactId>commons-pool2</artifactId>
  131. <version>2.7.0</version>
  132. <optional>true</optional>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.netty</groupId>
  136. <artifactId>netty-tcnative</artifactId>
  137. <version>1.1.33.Fork26</version>
  138. <classifier>${os.detected.classifier}</classifier>
  139. <optional>true</optional>
  140. </dependency>
  141. <!-- OS-native transports -->
  142. <dependency>
  143. <groupId>io.netty</groupId>
  144. <artifactId>netty-transport-native-epoll</artifactId>
  145. <classifier>linux-x86_64</classifier>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>io.netty</groupId>
  150. <artifactId>netty-transport-native-kqueue</artifactId>
  151. <classifier>osx-x86_64</classifier>
  152. <optional>true</optional>
  153. </dependency>
  154. <!-- Metrics/Tracing -->
  155. <dependency>
  156. <groupId>io.zipkin.brave</groupId>
  157. <artifactId>brave</artifactId>
  158. <optional>true</optional>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.latencyutils</groupId>
  162. <artifactId>LatencyUtils</artifactId>
  163. <version>2.0.3</version>
  164. <optional>true</optional>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.hdrhistogram</groupId>
  168. <artifactId>HdrHistogram</artifactId>
  169. <version>2.1.11</version>
  170. <optional>true</optional>
  171. </dependency>
  172. <!-- Reactive Dependencies -->
  173. <dependency>
  174. <groupId>io.reactivex</groupId>
  175. <artifactId>rxjava</artifactId>
  176. <version>1.3.8</version>
  177. <optional>true</optional>
  178. </dependency>
  179. <dependency>
  180. <groupId>io.reactivex</groupId>
  181. <artifactId>rxjava-reactive-streams</artifactId>
  182. <version>1.2.1</version>
  183. <optional>true</optional>
  184. </dependency>
  185. <dependency>
  186. <groupId>io.reactivex.rxjava2</groupId>
  187. <artifactId>rxjava</artifactId>
  188. <version>2.2.13</version>
  189. <optional>true</optional>
  190. </dependency>
  191. <!-- Spring -->
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-beans</artifactId>
  195. <optional>true</optional>
  196. <exclusions>
  197. <exclusion>
  198. <groupId>commons-logging</groupId>
  199. <artifactId>commons-logging</artifactId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.springframework</groupId>
  205. <artifactId>spring-context</artifactId>
  206. <optional>true</optional>
  207. </dependency>
  208. <!-- CDI -->
  209. <dependency>
  210. <groupId>javax.enterprise</groupId>
  211. <artifactId>cdi-api</artifactId>
  212. <version>2.0</version>
  213. <optional>true</optional>
  214. </dependency>
  215. <dependency>
  216. <groupId>javax.inject</groupId>
  217. <artifactId>javax.inject</artifactId>
  218. <version>1</version>
  219. <optional>true</optional>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.google.code.findbugs</groupId>
  223. <artifactId>jsr305</artifactId>
  224. <version>3.0.2</version>
  225. <optional>true</optional>
  226. </dependency>
  227. <!-- End of optional dependencies -->
  228. <!-- Test -->
  229. <dependency>
  230. <groupId>org.assertj</groupId>
  231. <artifactId>assertj-core</artifactId>
  232. <version>${assertj-core.version}</version>
  233. <scope>test</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hamcrest</groupId>
  237. <artifactId>hamcrest-library</artifactId>
  238. <version>1.3</version>
  239. <scope>test</scope>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.apache.commons</groupId>
  243. <artifactId>commons-lang3</artifactId>
  244. <version>3.8</version>
  245. <scope>test</scope>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.github.javaparser</groupId>
  249. <artifactId>javaparser-core</artifactId>
  250. <version>3.6.3</version>
  251. <scope>test</scope>
  252. </dependency>
  253. <!-- CDI -->
  254. <dependency>
  255. <groupId>org.apache.openwebbeans</groupId>
  256. <artifactId>openwebbeans-se</artifactId>
  257. <version>2.0.11</version>
  258. <scope>test</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>javax.annotation</groupId>
  262. <artifactId>javax.annotation-api</artifactId>
  263. <version>1.3.2</version>
  264. <scope>test</scope>
  265. </dependency>
  266. <dependency>
  267. <groupId>javax.servlet</groupId>
  268. <artifactId>javax.servlet-api</artifactId>
  269. <version>3.1.0</version>
  270. <scope>test</scope>
  271. </dependency>
  272. <!-- JUnit -->
  273. <dependency>
  274. <groupId>junit</groupId>
  275. <artifactId>junit</artifactId>
  276. <version>4.12</version>
  277. <scope>test</scope>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.junit.jupiter</groupId>
  281. <artifactId>junit-jupiter-api</artifactId>
  282. <scope>test</scope>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.junit.jupiter</groupId>
  286. <artifactId>junit-jupiter-engine</artifactId>
  287. <scope>test</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.junit.vintage</groupId>
  291. <artifactId>junit-vintage-engine</artifactId>
  292. <scope>test</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.junit.jupiter</groupId>
  296. <artifactId>junit-jupiter-params</artifactId>
  297. <scope>test</scope>
  298. </dependency>
  299. <!-- Logging -->
  300. <dependency>
  301. <groupId>org.apache.logging.log4j</groupId>
  302. <artifactId>log4j-core</artifactId>
  303. <scope>test</scope>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.apache.logging.log4j</groupId>
  307. <artifactId>log4j-slf4j-impl</artifactId>
  308. <scope>test</scope>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.slf4j</groupId>
  312. <artifactId>jcl-over-slf4j</artifactId>
  313. <version>${slf4j.version}</version>
  314. <scope>test</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.mockito</groupId>
  318. <artifactId>mockito-core</artifactId>
  319. <version>${mockito.version}</version>
  320. <scope>test</scope>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.mockito</groupId>
  324. <artifactId>mockito-junit-jupiter</artifactId>
  325. <version>${mockito.version}</version>
  326. <scope>test</scope>
  327. </dependency>
  328. <dependency>
  329. <groupId>com.googlecode.multithreadedtc</groupId>
  330. <artifactId>multithreadedtc</artifactId>
  331. <version>1.01</version>
  332. <scope>test</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.reactivestreams</groupId>
  336. <artifactId>reactive-streams-tck</artifactId>
  337. <version>${reactive-streams-tck.version}</version>
  338. <scope>test</scope>
  339. </dependency>
  340. <dependency>
  341. <groupId>io.projectreactor</groupId>
  342. <artifactId>reactor-test</artifactId>
  343. <version>${reactor-version}</version>
  344. <scope>test</scope>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.springframework</groupId>
  348. <artifactId>spring-core</artifactId>
  349. <scope>test</scope>
  350. </dependency>
  351. <dependency>
  352. <groupId>org.springframework</groupId>
  353. <artifactId>spring-aop</artifactId>
  354. <scope>test</scope>
  355. </dependency>
  356. <dependency>
  357. <groupId>org.springframework</groupId>
  358. <artifactId>spring-test</artifactId>
  359. <scope>test</scope>
  360. </dependency>
  361. <dependency>
  362. <groupId>org.springframework</groupId>
  363. <artifactId>spring-expression</artifactId>
  364. <version>${spring-version}</version>
  365. <scope>test</scope>
  366. </dependency>
  367. </dependencies>
  368. <build>
  369. <resources>
  370. <resource>
  371. <directory>src/main/resources</directory>
  372. <filtering>true</filtering>
  373. </resource>
  374. </resources>
  375. <extensions>
  376. <extension>
  377. <groupId>kr.motd.maven</groupId>
  378. <artifactId>os-maven-plugin</artifactId>
  379. <version>1.6.2</version>
  380. </extension>
  381. </extensions>
  382. <pluginManagement>
  383. <plugins>
  384. <plugin>
  385. <groupId>org.apache.maven.plugins</groupId>
  386. <artifactId>maven-assembly-plugin</artifactId>
  387. <version>3.1.1</version>
  388. </plugin>
  389. <plugin>
  390. <groupId>org.apache.maven.plugins</groupId>
  391. <artifactId>maven-antrun-plugin</artifactId>
  392. <version>1.8</version>
  393. </plugin>
  394. <plugin>
  395. <groupId>org.apache.maven.plugins</groupId>
  396. <artifactId>maven-compiler-plugin</artifactId>
  397. <version>3.8.1</version>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.apache.maven.plugins</groupId>
  401. <artifactId>maven-jar-plugin</artifactId>
  402. <version>3.1.2</version>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.apache.maven.plugins</groupId>
  406. <artifactId>maven-gpg-plugin</artifactId>
  407. <version>1.6</version>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.apache.maven.plugins</groupId>
  411. <artifactId>maven-javadoc-plugin</artifactId>
  412. <version>3.1.1</version>
  413. </plugin>
  414. <plugin>
  415. <groupId>org.apache.maven.plugins</groupId>
  416. <artifactId>maven-release-plugin</artifactId>
  417. <version>2.5.3</version>
  418. </plugin>
  419. <plugin>
  420. <groupId>org.apache.maven.plugins</groupId>
  421. <artifactId>maven-surefire-plugin</artifactId>
  422. <version>2.22.2</version>
  423. <dependencies>
  424. <dependency>
  425. <groupId>org.apache.maven.surefire</groupId>
  426. <artifactId>surefire-junit-platform</artifactId>
  427. <version>2.22.2</version>
  428. </dependency>
  429. </dependencies>
  430. </plugin>
  431. <plugin>
  432. <groupId>org.apache.maven.plugins</groupId>
  433. <artifactId>maven-failsafe-plugin</artifactId>
  434. <version>2.22.2</version>
  435. <dependencies>
  436. <dependency>
  437. <groupId>org.apache.maven.surefire</groupId>
  438. <artifactId>surefire-junit-platform</artifactId>
  439. <version>2.22.2</version>
  440. </dependency>
  441. </dependencies>
  442. </plugin>
  443. <plugin>
  444. <groupId>org.apache.maven.plugins</groupId>
  445. <artifactId>maven-source-plugin</artifactId>
  446. <version>3.1.0</version>
  447. </plugin>
  448. <plugin>
  449. <groupId>org.codehaus.mojo</groupId>
  450. <artifactId>build-helper-maven-plugin</artifactId>
  451. <version>3.0.0</version>
  452. </plugin>
  453. <plugin>
  454. <groupId>org.codehaus.mojo</groupId>
  455. <artifactId>exec-maven-plugin</artifactId>
  456. <version>1.6.0</version>
  457. </plugin>
  458. <plugin>
  459. <groupId>org.jacoco</groupId>
  460. <artifactId>jacoco-maven-plugin</artifactId>
  461. <version>0.8.4</version>
  462. </plugin>
  463. <plugin>
  464. <groupId>net.nicoulaj.maven.plugins</groupId>
  465. <artifactId>checksum-maven-plugin</artifactId>
  466. <version>1.8</version>
  467. </plugin>
  468. </plugins>
  469. </pluginManagement>
  470. <plugins>
  471. <plugin>
  472. <groupId>org.apache.maven.plugins</groupId>
  473. <artifactId>maven-compiler-plugin</artifactId>
  474. <configuration>
  475. <compilerArgument>-Xlint:all,-deprecation,-unchecked</compilerArgument>
  476. <testCompilerArgument>-Xlint:none</testCompilerArgument>
  477. <showWarnings>true</showWarnings>
  478. <showDeprecation>false</showDeprecation>
  479. <source>1.8</source>
  480. <target>1.8</target>
  481. </configuration>
  482. </plugin>
  483. <plugin>
  484. <groupId>org.apache.maven.plugins</groupId>
  485. <artifactId>maven-jar-plugin</artifactId>
  486. <configuration>
  487. <archive>
  488. <manifest>
  489. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  490. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  491. </manifest>
  492. <manifestEntries>
  493. <Automatic-Module-Name>lettuce.core</Automatic-Module-Name>
  494. </manifestEntries>
  495. </archive>
  496. </configuration>
  497. </plugin>
  498. <plugin>
  499. <groupId>org.apache.maven.plugins</groupId>
  500. <artifactId>maven-surefire-plugin</artifactId>
  501. <configuration>
  502. <systemProperties>
  503. <io.netty.eventLoopThreads>4</io.netty.eventLoopThreads>
  504. </systemProperties>
  505. <includes>
  506. <include>**/*UnitTests</include>
  507. <include>**/*Tests</include>
  508. </includes>
  509. <excludes>
  510. <exclude>**/*Test</exclude>
  511. <exclude>**/*IntegrationTests</exclude>
  512. </excludes>
  513. </configuration>
  514. </plugin>
  515. <plugin>
  516. <groupId>org.apache.maven.plugins</groupId>
  517. <artifactId>maven-failsafe-plugin</artifactId>
  518. <configuration>
  519. <systemProperties>
  520. <io.netty.eventLoopThreads>4</io.netty.eventLoopThreads>
  521. </systemProperties>
  522. <includes>
  523. <include>**/*IntegrationTests</include>
  524. <include>**/*Test</include>
  525. </includes>
  526. <excludes>
  527. <exclude>**/*UnitTests</exclude>
  528. </excludes>
  529. </configuration>
  530. <executions>
  531. <execution>
  532. <phase>integration-test</phase>
  533. <goals>
  534. <goal>integration-test</goal>
  535. </goals>
  536. </execution>
  537. </executions>
  538. </plugin>
  539. <plugin>
  540. <groupId>org.apache.maven.plugins</groupId>
  541. <artifactId>maven-release-plugin</artifactId>
  542. <configuration>
  543. <releaseProfiles>sonatype-oss-release,documentation</releaseProfiles>
  544. <goals>deploy</goals>
  545. <autoVersionSubmodules>true</autoVersionSubmodules>
  546. <tagNameFormat>@{project.version}</tagNameFormat>
  547. </configuration>
  548. </plugin>
  549. <plugin>
  550. <groupId>org.apache.maven.plugins</groupId>
  551. <artifactId>maven-source-plugin</artifactId>
  552. <executions>
  553. <execution>
  554. <id>attach-sources</id>
  555. <goals>
  556. <goal>jar</goal>
  557. </goals>
  558. </execution>
  559. </executions>
  560. </plugin>
  561. <plugin>
  562. <groupId>org.jacoco</groupId>
  563. <artifactId>jacoco-maven-plugin</artifactId>
  564. <executions>
  565. <execution>
  566. <id>prepare-agent</id>
  567. <goals>
  568. <goal>prepare-agent</goal>
  569. </goals>
  570. </execution>
  571. </executions>
  572. </plugin>
  573. </plugins>
  574. </build>
  575. <profiles>
  576. <profile>
  577. <id>ci</id>
  578. </profile>
  579. <profile>
  580. <id>sonatype-oss-release</id>
  581. <build>
  582. <plugins>
  583. <plugin>
  584. <groupId>org.apache.maven.plugins</groupId>
  585. <artifactId>maven-javadoc-plugin</artifactId>
  586. <version>3.1.1</version>
  587. <executions>
  588. <execution>
  589. <id>attach-javadocs</id>
  590. <goals>
  591. <goal>jar</goal>
  592. </goals>
  593. </execution>
  594. </executions>
  595. <configuration>
  596. <level>public</level>
  597. <author>true</author>
  598. <header>Lettuce</header>
  599. <stylesheetfile>src/main/javadoc/stylesheet.css</stylesheetfile>
  600. <links>
  601. <link>https://netty.io/4.1/api/</link>
  602. <link>https://commons.apache.org/proper/commons-pool/api-2.7.0/</link>
  603. <link>http://reactivex.io/RxJava/1.x/javadoc/</link>
  604. <link>http://reactivex.io/RxJava/javadoc/</link>
  605. <link>https://projectreactor.io/docs/core/release/api/</link>
  606. <link>https://docs.spring.io/spring/docs/current/javadoc-api/</link>
  607. </links>
  608. <doclint>none</doclint>
  609. <quiet>true</quiet>
  610. <tags>
  611. <tag>
  612. <name>generated</name>
  613. <placement>a</placement>
  614. <head>Generated class:</head>
  615. </tag>
  616. </tags>
  617. </configuration>
  618. </plugin>
  619. <plugin>
  620. <groupId>org.apache.maven.plugins</groupId>
  621. <artifactId>maven-gpg-plugin</artifactId>
  622. <executions>
  623. <execution>
  624. <id>sign-artifacts</id>
  625. <phase>verify</phase>
  626. <goals>
  627. <goal>sign</goal>
  628. </goals>
  629. </execution>
  630. </executions>
  631. </plugin>
  632. <plugin>
  633. <groupId>org.apache.maven.plugins</groupId>
  634. <artifactId>maven-assembly-plugin</artifactId>
  635. <version>3.1.1</version>
  636. <executions>
  637. <execution>
  638. <id>bin</id>
  639. <configuration>
  640. <descriptors>
  641. <descriptor>src/assembly/bin.xml</descriptor>
  642. </descriptors>
  643. <tarLongFileMode>gnu</tarLongFileMode>
  644. <attach>false</attach>
  645. </configuration>
  646. <goals>
  647. <goal>single</goal>
  648. </goals>
  649. <phase>package</phase>
  650. </execution>
  651. </executions>
  652. </plugin>
  653. <plugin>
  654. <groupId>net.nicoulaj.maven.plugins</groupId>
  655. <artifactId>checksum-maven-plugin</artifactId>
  656. <configuration>
  657. <algorithms>
  658. <algorithm>MD5</algorithm>
  659. <algorithm>SHA-1</algorithm>
  660. </algorithms>
  661. </configuration>
  662. <executions>
  663. <execution>
  664. <id>artifacts</id>
  665. <goals>
  666. <goal>artifacts</goal>
  667. </goals>
  668. <phase>package</phase>
  669. </execution>
  670. <execution>
  671. <id>files</id>
  672. <goals>
  673. <goal>files</goal>
  674. </goals>
  675. <phase>package</phase>
  676. <configuration>
  677. <fileSets>
  678. <fileSet>
  679. <directory>${project.build.directory}</directory>
  680. <includes>
  681. <include>*.gz</include>
  682. <include>*.zip</include>
  683. </includes>
  684. </fileSet>
  685. </fileSets>
  686. </configuration>
  687. </execution>
  688. </executions>
  689. </plugin>
  690. </plugins>
  691. </build>
  692. </profile>
  693. <profile>
  694. <id>jmh</id>
  695. <dependencies>
  696. <dependency>
  697. <groupId>org.openjdk.jmh</groupId>
  698. <artifactId>jmh-core</artifactId>
  699. <version>1.21</version>
  700. <scope>test</scope>
  701. </dependency>
  702. <dependency>
  703. <groupId>org.openjdk.jmh</groupId>
  704. <artifactId>jmh-generator-annprocess</artifactId>
  705. <version>1.21</version>
  706. <scope>test</scope>
  707. </dependency>
  708. </dependencies>
  709. <build>
  710. <plugins>
  711. <plugin>
  712. <artifactId>maven-surefire-plugin</artifactId>
  713. <configuration>
  714. <skip>true</skip>
  715. </configuration>
  716. </plugin>
  717. <plugin>
  718. <artifactId>maven-failsafe-plugin</artifactId>
  719. <configuration>
  720. <skip>true</skip>
  721. </configuration>
  722. </plugin>
  723. <plugin>
  724. <groupId>org.codehaus.mojo</groupId>
  725. <artifactId>build-helper-maven-plugin</artifactId>
  726. <executions>
  727. <execution>
  728. <id>add-source</id>
  729. <phase>generate-test-sources</phase>
  730. <goals>
  731. <goal>add-test-source</goal>
  732. </goals>
  733. <configuration>
  734. <sources>
  735. <source>src/test/jmh</source>
  736. </sources>
  737. </configuration>
  738. </execution>
  739. </executions>
  740. </plugin>
  741. <plugin>
  742. <groupId>org.codehaus.mojo</groupId>
  743. <artifactId>exec-maven-plugin</artifactId>
  744. <executions>
  745. <execution>
  746. <id>run-benchmarks</id>
  747. <phase>test</phase>
  748. <goals>
  749. <goal>exec</goal>
  750. </goals>
  751. <configuration>
  752. <executable>java</executable>
  753. <classpathScope>test</classpathScope>
  754. <arguments>
  755. <argument>-Xmx2G</argument>
  756. <argument>-classpath</argument>
  757. <classpath />
  758. <argument>org.openjdk.jmh.Main</argument>
  759. <argument>.*</argument>
  760. <argument>-tu</argument>
  761. <argument>ns</argument>
  762. <argument>-f</argument>
  763. <argument>1</argument>
  764. <argument>-wi</argument>
  765. <argument>10</argument>
  766. <argument>-w</argument>
  767. <argument>1</argument>
  768. <argument>-r</argument>
  769. <argument>1</argument>
  770. <argument>-i</argument>
  771. <argument>10</argument>
  772. <argument>-bm</argument>
  773. <argument>avgt</argument>
  774. </arguments>
  775. </configuration>
  776. </execution>
  777. </executions>
  778. </plugin>
  779. </plugins>
  780. </build>
  781. </profile>
  782. <profile>
  783. <id>no-install</id>
  784. <properties>
  785. <maven.install.skip>true</maven.install.skip>
  786. <skipTests>true</skipTests>
  787. </properties>
  788. <build>
  789. <plugins>
  790. <plugin>
  791. <groupId>org.apache.maven.plugins</groupId>
  792. <artifactId>maven-install-plugin</artifactId>
  793. <configuration>
  794. <skip>true</skip>
  795. </configuration>
  796. </plugin>
  797. <plugin>
  798. <groupId>org.apache.maven.plugins</groupId>
  799. <artifactId>maven-deploy-plugin</artifactId>
  800. <configuration>
  801. <skip>true</skip>
  802. <uniqueVersion>false</uniqueVersion>
  803. </configuration>
  804. </plugin>
  805. </plugins>
  806. </build>
  807. </profile>
  808. <profile>
  809. <id>documentation</id>
  810. <build>
  811. <plugins>
  812. <plugin>
  813. <groupId>org.apache.maven.plugins</groupId>
  814. <artifactId>maven-antrun-plugin</artifactId>
  815. <executions>
  816. <execution>
  817. <id>rename-reference-docs</id>
  818. <phase>process-resources</phase>
  819. <configuration>
  820. <target>
  821. <copy failonerror="false" file="${project.build.directory}/generated-docs/index.pdf" tofile="target/site/reference/pdf/lettuce-reference.pdf" />
  822. </target>
  823. </configuration>
  824. <goals>
  825. <goal>run</goal>
  826. </goals>
  827. </execution>
  828. </executions>
  829. </plugin>
  830. <plugin>
  831. <groupId>org.asciidoctor</groupId>
  832. <artifactId>asciidoctor-maven-plugin</artifactId>
  833. <version>2.0.0-RC.1</version>
  834. <dependencies>
  835. <dependency>
  836. <groupId>org.asciidoctor</groupId>
  837. <artifactId>asciidoctorj-pdf</artifactId>
  838. <version>1.5.0-beta.5</version>
  839. </dependency>
  840. </dependencies>
  841. <executions>
  842. <execution>
  843. <id>html</id>
  844. <phase>generate-resources</phase>
  845. <goals>
  846. <goal>process-asciidoc</goal>
  847. </goals>
  848. <configuration>
  849. <backend>html5</backend>
  850. <outputDirectory>${project.build.directory}/site/reference/html
  851. </outputDirectory>
  852. <doctype>book</doctype>
  853. <attributes>
  854. <linkcss>true</linkcss>
  855. <sectanchors>true</sectanchors>
  856. <stylesdir>stylesheets</stylesdir>
  857. <stylesheet>golo.css</stylesheet>
  858. </attributes>
  859. </configuration>
  860. </execution>
  861. <execution>
  862. <id>pdf</id>
  863. <phase>generate-resources</phase>
  864. <goals>
  865. <goal>process-asciidoc</goal>
  866. </goals>
  867. <configuration>
  868. <backend>pdf</backend>
  869. </configuration>
  870. </execution>
  871. </executions>
  872. <configuration>
  873. <sourceDirectory>src/main/asciidoc</sourceDirectory>
  874. <sourceDocumentName>index.asciidoc</sourceDocumentName>
  875. <doctype>book</doctype>
  876. <attributes>
  877. <version>${project.version}</version>
  878. <allow-uri-read>true</allow-uri-read>
  879. <toclevels>3</toclevels>
  880. <numbered>true</numbered>
  881. <ext-doc>https://raw.githubusercontent.com/wiki/lettuce-io/lettuce-core/</ext-doc>
  882. <allow-uri-read />
  883. <docinfo />
  884. <toc2 />
  885. <icons>font</icons>
  886. <source-highlighter>coderay</source-highlighter>
  887. </attributes>
  888. </configuration>
  889. </plugin>
  890. <plugin>
  891. <groupId>org.apache.maven.plugins</groupId>
  892. <artifactId>maven-assembly-plugin</artifactId>
  893. <executions>
  894. <execution>
  895. <id>docs</id>
  896. <phase>package</phase>
  897. <goals>
  898. <goal>single</goal>
  899. </goals>
  900. <configuration>
  901. <descriptors>
  902. <descriptor>src/assembly/docs.xml</descriptor>
  903. </descriptors>
  904. <tarLongFileMode>gnu</tarLongFileMode>
  905. <attach>true</attach>
  906. </configuration>
  907. </execution>
  908. </executions>
  909. </plugin>
  910. </plugins>
  911. </build>
  912. </profile>
  913. </profiles>
  914. </project>