lettuce-core-5.1.3.RELEASE.pom 35 KB

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