lettuce-core-5.0.4.RELEASE.pom 31 KB

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