pom.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <!--
  4. /**
  5. * Licensed to the Apache Software Foundation (ASF) under one
  6. * or more contributor license agreements. See the NOTICE file
  7. * distributed with this work for additional information
  8. * regarding copyright ownership. The ASF licenses this file
  9. * to you under the Apache License, Version 2.0 (the
  10. * "License"); you may not use this file except in compliance
  11. * with the License. You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. */
  21. -->
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>org.apache</groupId>
  25. <artifactId>apache</artifactId>
  26. <version>18</version>
  27. <relativePath />
  28. <!-- no parent resolution -->
  29. </parent>
  30. <groupId>org.apache.zookeeper</groupId>
  31. <artifactId>zookeeper</artifactId>
  32. <packaging>pom</packaging>
  33. <!-- to change version: mvn -\-batch-mode release:update-versions -DdevelopmentVersion=3.6.0-SNAPSHOT -->
  34. <version>3.6.0-SNAPSHOT</version>
  35. <name>Apache ZooKeeper</name>
  36. <description>
  37. ZooKeeper is a centralized service for maintaining configuration information, naming,
  38. providing distributed synchronization, and providing group services. All of these kinds
  39. of services are used in some form or another by distributed applications. Each time they
  40. are implemented there is a lot of work that goes into fixing the bugs and race conditions
  41. that are inevitable. Because of the difficulty of implementing these kinds of services,
  42. applications initially usually skimp on them ,which make them brittle in the presence of
  43. change and difficult to manage. Even when done correctly, different implementations of
  44. these services lead to management complexity when the applications are deployed.
  45. </description>
  46. <url>http://zookeeper.apache.org</url>
  47. <inceptionYear>2008</inceptionYear>
  48. <!-- Set here so we can consistently use the correct name, even on branches with
  49. an ASF parent pom older than v15. Also uses the url from v18.
  50. -->
  51. <licenses>
  52. <license>
  53. <name>Apache License, Version 2.0</name>
  54. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  55. <distribution>repo</distribution>
  56. </license>
  57. </licenses>
  58. <modules>
  59. <module>zookeeper-docs</module>
  60. <module>zookeeper-jute</module>
  61. <module>zookeeper-server</module>
  62. <module>zookeeper-client</module>
  63. <module>zookeeper-recipes</module>
  64. <module>zookeeper-assembly</module>
  65. </modules>
  66. <scm>
  67. <connection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</connection>
  68. <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</developerConnection>
  69. <url>https://gitbox.apache.org/repos/asf/zookeeper.git</url>
  70. </scm>
  71. <issueManagement>
  72. <system>JIRA</system>
  73. <url>http://issues.apache.org/jira/browse/ZOOKEEPER</url>
  74. </issueManagement>
  75. <ciManagement>
  76. <system>hudson</system>
  77. <url>http://hudson.zones.apache.org/hudson/view/ZooKeeper/job/ZooKeeper-TRUNK/</url>
  78. </ciManagement>
  79. <mailingLists>
  80. <mailingList>
  81. <name>User List</name>
  82. <subscribe>user-subscribe@zookeeper.apache.org</subscribe>
  83. <unsubscribe>user-unsubscribe@zookeeper.apache.org</unsubscribe>
  84. <post>user@zookeeper.apache.org</post>
  85. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-user/</archive>
  86. </mailingList>
  87. <mailingList>
  88. <name>Developer List</name>
  89. <subscribe>dev-subscribe@zookeeper.apache.org</subscribe>
  90. <unsubscribe>dev-unsubscribe@zookeeper.apache.org</unsubscribe>
  91. <post>dev@zookeeper.apache.org</post>
  92. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-dev/</archive>
  93. </mailingList>
  94. <mailingList>
  95. <name>Commits List</name>
  96. <subscribe>commits-subscribe@zookeeper.apache.org</subscribe>
  97. <unsubscribe>commits-unsubscribe@zookeeper.apache.org</unsubscribe>
  98. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-commits/</archive>
  99. </mailingList>
  100. <mailingList>
  101. <name>Issues List</name>
  102. <subscribe>issues-subscribe@zookeeper.apache.org</subscribe>
  103. <unsubscribe>issues-unsubscribe@zookeeper.apache.org</unsubscribe>
  104. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-issues/</archive>
  105. </mailingList>
  106. <mailingList>
  107. <name>Builds List</name>
  108. <subscribe>builds-subscribe@zookeeper.apache.org</subscribe>
  109. <unsubscribe>builds-unsubscribe@zookeeper.apache.org</unsubscribe>
  110. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-builds/</archive>
  111. </mailingList>
  112. </mailingLists>
  113. <developers>
  114. <developer>
  115. <id>tdunning</id>
  116. <name>Ted Dunning </name>
  117. <email>tdunning@apache.org</email>
  118. <timezone>-8</timezone>
  119. </developer>
  120. <developer>
  121. <id>camille</id>
  122. <name>Camille Fournier</name>
  123. <email>camille@apache.org</email>
  124. <timezone>-5</timezone>
  125. </developer>
  126. <developer>
  127. <id>phunt</id>
  128. <name>Patrick Hunt</name>
  129. <email>phunt@apache.org</email>
  130. <timezone>-8</timezone>
  131. </developer>
  132. <developer>
  133. <id>fpj</id>
  134. <name>Flavio Junqueira</name>
  135. <email>fpj@apache.org</email>
  136. <timezone>+0</timezone>
  137. </developer>
  138. <developer>
  139. <id>ivank</id>
  140. <name>Ivan Kelly</name>
  141. <email>ivank@apache.org</email>
  142. <timezone>+2</timezone>
  143. </developer>
  144. <developer>
  145. <id>mahadev</id>
  146. <name>Mahadev Konar</name>
  147. <email>mahadev@apache.org</email>
  148. <timezone>-8</timezone>
  149. </developer>
  150. <developer>
  151. <id>michim</id>
  152. <name>Michi Mutsuzaki</name>
  153. <email>michim@apache.org</email>
  154. <timezone>-8</timezone>
  155. </developer>
  156. <developer>
  157. <id>cnauroth</id>
  158. <name>Chris Nauroth</name>
  159. <email>cnauroth@apache.org</email>
  160. <timezone>-8</timezone>
  161. </developer>
  162. <developer>
  163. <id>breed</id>
  164. <name>Benjamin Reed</name>
  165. <email>breed@apache.org</email>
  166. <timezone>-8</timezone>
  167. </developer>
  168. <developer>
  169. <id>henry</id>
  170. <name>Henry Robinson</name>
  171. <email>henry@apache.org</email>
  172. <timezone>-8</timezone>
  173. </developer>
  174. <developer>
  175. <id>rgs</id>
  176. <name>Raul Gutierrez Segales</name>
  177. <email>rgs@apache.org</email>
  178. <timezone>-8</timezone>
  179. </developer>
  180. <developer>
  181. <id>rakeshr</id>
  182. <name>Rakesh Radhakrishnan</name>
  183. <email>rakeshr@apache.org</email>
  184. <timezone>+5:30</timezone>
  185. </developer>
  186. <developer>
  187. <id>hanm</id>
  188. <name>Michael Han</name>
  189. <email>hanm@apache.org</email>
  190. <timezone>-8</timezone>
  191. </developer>
  192. <developer>
  193. <id>gkesavan</id>
  194. <name>Giridharan Kesavan</name>
  195. <email>gkesavan@apache.org</email>
  196. <timezone>-8</timezone>
  197. </developer>
  198. <developer>
  199. <id>akornev</id>
  200. <name>Andrew Kornev</name>
  201. <email>akornev@apache.org</email>
  202. </developer>
  203. <developer>
  204. <id>shralex</id>
  205. <name>Alex Shraer</name>
  206. <email>shralex@apache.org</email>
  207. <timezone>-8</timezone>
  208. </developer>
  209. <developer>
  210. <id>thawan</id>
  211. <name>Thawan Kooburat</name>
  212. <email>thawan@apache.org</email>
  213. <timezone>-8</timezone>
  214. </developer>
  215. <developer>
  216. <id>hdeng</id>
  217. <name>Hongchao Deng</name>
  218. <email>hdeng@apache.org</email>
  219. <timezone>-8</timezone>
  220. </developer>
  221. <developer>
  222. <id>arshad</id>
  223. <name>Mohammad Arshad</name>
  224. <email>arshad@apache.org</email>
  225. <timezone>+5:30</timezone>
  226. </developer>
  227. <developer>
  228. <id>afine</id>
  229. <name>Abraham Fine</name>
  230. <email>afine@apache.org</email>
  231. <timezone>-8</timezone>
  232. </developer>
  233. <developer>
  234. <id>andor</id>
  235. <name>Andor Molnar</name>
  236. <email>andor@apache.org</email>
  237. <timezone>+1</timezone>
  238. </developer>
  239. <developer>
  240. <id>lvfangmin</id>
  241. <name>Allan Lyu</name>
  242. <email>fangmin@apache.org</email>
  243. <timezone>-8</timezone>
  244. </developer>
  245. </developers>
  246. <profiles>
  247. <profile>
  248. <id>full-build</id>
  249. <modules>
  250. <module>zookeeper-contrib</module>
  251. </modules>
  252. </profile>
  253. <profile>
  254. <id>java-build</id>
  255. <activation>
  256. <activeByDefault>true</activeByDefault>
  257. </activation>
  258. </profile>
  259. </profiles>
  260. <properties>
  261. <!-- maven properties -->
  262. <maven.compiler.source>1.8</maven.compiler.source>
  263. <maven.compiler.target>1.8</maven.compiler.target>
  264. <dependency.locations.enabled>false</dependency.locations.enabled>
  265. <surefire-forkcount>8</surefire-forkcount>
  266. <!-- dependency versions -->
  267. <slf4j.version>1.7.25</slf4j.version>
  268. <audience-annotations.version>0.5.0</audience-annotations.version>
  269. <junit.version>4.12</junit.version>
  270. <log4j.version>1.2.17</log4j.version>
  271. <mockito.version>1.8.5</mockito.version>
  272. <hamcrest.version>1.3</hamcrest.version>
  273. <commons-cli.version>1.2</commons-cli.version>
  274. <netty.version>4.1.29.Final</netty.version>
  275. <jetty.version>9.4.15.v20190215</jetty.version>
  276. <jackson.version>2.9.8</jackson.version>
  277. <json.version>1.1.1</json.version>
  278. <jline.version>2.11</jline.version>
  279. <kerby.version>1.1.0</kerby.version>
  280. <bouncycastle.version>1.60</bouncycastle.version>
  281. <commons-collections.version>3.2.2</commons-collections.version>
  282. <commons-lang.version>2.6</commons-lang.version>
  283. <dropwizard.version>3.2.5</dropwizard.version>
  284. <spotbugsannotations.version>3.1.9</spotbugsannotations.version>
  285. </properties>
  286. <dependencyManagement>
  287. <dependencies>
  288. <dependency>
  289. <groupId>org.hamcrest</groupId>
  290. <artifactId>hamcrest-all</artifactId>
  291. <version>${hamcrest.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>commons-collections</groupId>
  295. <artifactId>commons-collections</artifactId>
  296. <version>${commons-collections.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>commons-lang</groupId>
  300. <artifactId>commons-lang</artifactId>
  301. <version>${commons-lang.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.yetus</groupId>
  305. <artifactId>audience-annotations</artifactId>
  306. <version>${audience-annotations.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>commons-cli</groupId>
  310. <artifactId>commons-cli</artifactId>
  311. <version>${commons-cli.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.kerby</groupId>
  315. <artifactId>kerb-core</artifactId>
  316. <version>${kerby.version}</version>
  317. <exclusions>
  318. <exclusion>
  319. <groupId>org.slf4j</groupId>
  320. <artifactId>slf4j-api</artifactId>
  321. </exclusion>
  322. </exclusions>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.apache.kerby</groupId>
  326. <artifactId>kerb-simplekdc</artifactId>
  327. <version>${kerby.version}</version>
  328. <exclusions>
  329. <exclusion>
  330. <groupId>org.slf4j</groupId>
  331. <artifactId>slf4j-api</artifactId>
  332. </exclusion>
  333. </exclusions>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.apache.kerby</groupId>
  337. <artifactId>kerby-config</artifactId>
  338. <version>${kerby.version}</version>
  339. <exclusions>
  340. <exclusion>
  341. <groupId>org.slf4j</groupId>
  342. <artifactId>slf4j-api</artifactId>
  343. </exclusion>
  344. <exclusion>
  345. <groupId>org.slf4j</groupId>
  346. <artifactId>slf4j-log4j12</artifactId>
  347. </exclusion>
  348. </exclusions>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.bouncycastle</groupId>
  352. <artifactId>bcprov-jdk15on</artifactId>
  353. <version>${bouncycastle.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.bouncycastle</groupId>
  357. <artifactId>bcpkix-jdk15on</artifactId>
  358. <version>${bouncycastle.version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>org.slf4j</groupId>
  362. <artifactId>slf4j-api</artifactId>
  363. <version>${slf4j.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.slf4j</groupId>
  367. <artifactId>slf4j-log4j12</artifactId>
  368. <version>${slf4j.version}</version>
  369. <exclusions>
  370. <exclusion>
  371. <groupId>*</groupId>
  372. <artifactId>*</artifactId>
  373. </exclusion>
  374. </exclusions>
  375. </dependency>
  376. <dependency>
  377. <groupId>log4j</groupId>
  378. <artifactId>log4j</artifactId>
  379. <version>${log4j.version}</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>junit</groupId>
  383. <artifactId>junit</artifactId>
  384. <version>${junit.version}</version>
  385. </dependency>
  386. <dependency>
  387. <groupId>org.mockito</groupId>
  388. <artifactId>mockito-all</artifactId>
  389. <version>${mockito.version}</version>
  390. </dependency>
  391. <dependency>
  392. <groupId>io.netty</groupId>
  393. <artifactId>netty-all</artifactId>
  394. <version>${netty.version}</version>
  395. </dependency>
  396. <dependency>
  397. <groupId>org.eclipse.jetty</groupId>
  398. <artifactId>jetty-server</artifactId>
  399. <version>${jetty.version}</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>org.eclipse.jetty</groupId>
  403. <artifactId>jetty-servlet</artifactId>
  404. <version>${jetty.version}</version>
  405. </dependency>
  406. <dependency>
  407. <groupId>io.dropwizard.metrics</groupId>
  408. <artifactId>metrics-core</artifactId>
  409. <version>${dropwizard.version}</version>
  410. <exclusions>
  411. <exclusion>
  412. <groupId>org.slf4j</groupId>
  413. <artifactId>slf4j-api</artifactId>
  414. </exclusion>
  415. </exclusions>
  416. </dependency>
  417. <dependency>
  418. <groupId>com.fasterxml.jackson.core</groupId>
  419. <artifactId>jackson-databind</artifactId>
  420. <version>${jackson.version}</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>com.googlecode.json-simple</groupId>
  424. <artifactId>json-simple</artifactId>
  425. <version>${json.version}</version>
  426. </dependency>
  427. <dependency>
  428. <groupId>jline</groupId>
  429. <artifactId>jline</artifactId>
  430. <version>${jline.version}</version>
  431. </dependency>
  432. <dependency>
  433. <groupId>com.github.spotbugs</groupId>
  434. <artifactId>spotbugs-annotations</artifactId>
  435. <version>${spotbugsannotations.version}</version>
  436. <scope>provided</scope>
  437. <optional>true</optional>
  438. </dependency>
  439. </dependencies>
  440. </dependencyManagement>
  441. <build>
  442. <pluginManagement>
  443. <plugins>
  444. <plugin>
  445. <groupId>org.codehaus.mojo</groupId>
  446. <artifactId>properties-maven-plugin</artifactId>
  447. <version>1.0.0</version>
  448. </plugin>
  449. <plugin>
  450. <groupId>org.apache.maven.plugins</groupId>
  451. <artifactId>maven-compiler-plugin</artifactId>
  452. <version>3.8.0</version>
  453. </plugin>
  454. <plugin>
  455. <groupId>org.apache.maven.plugins</groupId>
  456. <artifactId>maven-jar-plugin</artifactId>
  457. <version>3.1.0</version>
  458. </plugin>
  459. <plugin>
  460. <groupId>org.apache.maven.plugins</groupId>
  461. <artifactId>maven-source-plugin</artifactId>
  462. <version>3.0.1</version>
  463. </plugin>
  464. <plugin>
  465. <groupId>org.apache.maven.plugins</groupId>
  466. <artifactId>maven-javadoc-plugin</artifactId>
  467. <version>3.0.1</version>
  468. <configuration>
  469. <doclint>none</doclint>
  470. </configuration>
  471. </plugin>
  472. <plugin>
  473. <groupId>org.apache.maven.plugins</groupId>
  474. <artifactId>maven-assembly-plugin</artifactId>
  475. <version>3.1.0</version>
  476. </plugin>
  477. <plugin>
  478. <groupId>org.apache.maven.plugins</groupId>
  479. <artifactId>maven-release-plugin</artifactId>
  480. <version>2.5.3</version>
  481. <configuration>
  482. <releaseProfiles>apache-release</releaseProfiles>
  483. <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
  484. </configuration>
  485. </plugin>
  486. <plugin>
  487. <groupId>org.apache.maven.plugins</groupId>
  488. <artifactId>maven-surefire-plugin</artifactId>
  489. <version>2.22.1</version>
  490. </plugin>
  491. <plugin>
  492. <groupId>org.apache.maven.plugins</groupId>
  493. <artifactId>maven-antrun-plugin</artifactId>
  494. <version>1.8</version>
  495. </plugin>
  496. <plugin>
  497. <groupId>org.apache.maven.plugins</groupId>
  498. <artifactId>maven-dependency-plugin</artifactId>
  499. <version>3.1.1</version>
  500. </plugin>
  501. <plugin>
  502. <groupId>org.codehaus.mojo</groupId>
  503. <artifactId>exec-maven-plugin</artifactId>
  504. <version>1.6.0</version>
  505. </plugin>
  506. <plugin>
  507. <groupId>pl.project13.maven</groupId>
  508. <artifactId>git-commit-id-plugin</artifactId>
  509. <version>2.2.5</version>
  510. <inherited>false</inherited>
  511. </plugin>
  512. <plugin>
  513. <groupId>org.codehaus.mojo</groupId>
  514. <artifactId>build-helper-maven-plugin</artifactId>
  515. <version>3.0.0</version>
  516. </plugin>
  517. <plugin>
  518. <groupId>net.nicoulaj.maven.plugins</groupId>
  519. <artifactId>checksum-maven-plugin</artifactId>
  520. <version>1.8</version>
  521. </plugin>
  522. <plugin>
  523. <groupId>org.openclover</groupId>
  524. <artifactId>clover-maven-plugin</artifactId>
  525. <version>4.3.1</version>
  526. </plugin>
  527. <plugin>
  528. <groupId>com.github.spotbugs</groupId>
  529. <artifactId>spotbugs-maven-plugin</artifactId>
  530. <version>3.1.9</version>
  531. <configuration>
  532. <excludeFilterFile>excludeFindBugsFilter.xml</excludeFilterFile>
  533. </configuration>
  534. </plugin>
  535. <plugin>
  536. <groupId>org.owasp</groupId>
  537. <artifactId>dependency-check-maven</artifactId>
  538. <version>4.0.2</version>
  539. </plugin>
  540. </plugins>
  541. </pluginManagement>
  542. <plugins>
  543. <plugin>
  544. <groupId>pl.project13.maven</groupId>
  545. <artifactId>git-commit-id-plugin</artifactId>
  546. <executions>
  547. <execution>
  548. <id>find-current-git-revision</id>
  549. <goals>
  550. <goal>revision</goal>
  551. </goals>
  552. <phase>validate</phase>
  553. </execution>
  554. </executions>
  555. <configuration>
  556. <skipPoms>false</skipPoms>
  557. <runOnlyOnce>true</runOnlyOnce>
  558. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  559. <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
  560. <prefix>git</prefix>
  561. <verbose>false</verbose>
  562. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  563. <generateGitPropertiesFilename>${project.basedir}/zookeeper-server/src/main/resources/git.properties</generateGitPropertiesFilename>
  564. <format>properties</format>
  565. <gitDescribe>
  566. <skip>false</skip>
  567. <always>false</always>
  568. <dirty>-dirty</dirty>
  569. </gitDescribe>
  570. </configuration>
  571. </plugin>
  572. <plugin>
  573. <groupId>org.openclover</groupId>
  574. <artifactId>clover-maven-plugin</artifactId>
  575. <configuration>
  576. <generateHtml>true</generateHtml>
  577. <generateXml>true</generateXml>
  578. <includes>
  579. <include>org/apache/zookeeper/**/*</include>
  580. </includes>
  581. <excludes>
  582. <exclude>org/apache/zookeeper/version/**/*</exclude>
  583. </excludes>
  584. </configuration>
  585. <executions>
  586. <execution>
  587. <phase>pre-site</phase>
  588. <goals>
  589. <goal>instrument</goal>
  590. <goal>aggregate</goal>
  591. </goals>
  592. </execution>
  593. </executions>
  594. </plugin>
  595. <plugin>
  596. <groupId>org.apache.maven.plugins</groupId>
  597. <artifactId>maven-antrun-plugin</artifactId>
  598. <executions>
  599. <execution>
  600. <phase>validate</phase>
  601. <goals>
  602. <goal>run</goal>
  603. </goals>
  604. <configuration>
  605. <exportAntProperties>true</exportAntProperties>
  606. <target>
  607. <property environment="env"/>
  608. <exec executable="hostname" outputproperty="host.name"/>
  609. </target>
  610. </configuration>
  611. </execution>
  612. </executions>
  613. </plugin>
  614. <plugin>
  615. <groupId>org.apache.maven.plugins</groupId>
  616. <artifactId>maven-jar-plugin</artifactId>
  617. <executions>
  618. <execution>
  619. <id>Jar Tests Package</id>
  620. <phase>package</phase>
  621. <goals>
  622. <goal>test-jar</goal>
  623. </goals>
  624. <configuration>
  625. <includes>
  626. <include>org/**</include>
  627. <include>META_INF/**</include>
  628. </includes>
  629. <skipIfEmpty>true</skipIfEmpty>
  630. </configuration>
  631. </execution>
  632. </executions>
  633. </plugin>
  634. <plugin>
  635. <groupId>org.apache.maven.plugins</groupId>
  636. <artifactId>maven-source-plugin</artifactId>
  637. <executions>
  638. <execution>
  639. <id>attach-sources</id>
  640. <goals>
  641. <goal>jar</goal>
  642. </goals>
  643. </execution>
  644. </executions>
  645. </plugin>
  646. <plugin>
  647. <groupId>org.apache.maven.plugins</groupId>
  648. <artifactId>maven-javadoc-plugin</artifactId>
  649. <executions>
  650. <execution>
  651. <id>attach-javadocs</id>
  652. <goals>
  653. <goal>jar</goal>
  654. </goals>
  655. </execution>
  656. </executions>
  657. </plugin>
  658. <plugin>
  659. <!-- Maven's deploy plugin only creates checksums during the deployment of the jar artifacts to repo. -->
  660. <!-- We also want to sign tarballs. Nicoulaj's plugin is the recommended solution by the community. -->
  661. <groupId>net.nicoulaj.maven.plugins</groupId>
  662. <artifactId>checksum-maven-plugin</artifactId>
  663. <executions>
  664. <execution>
  665. <goals>
  666. <goal>artifacts</goal>
  667. </goals>
  668. </execution>
  669. </executions>
  670. <configuration>
  671. <algorithms>
  672. <algorithm>SHA-512</algorithm>
  673. </algorithms>
  674. </configuration>
  675. </plugin>
  676. <plugin>
  677. <groupId>com.github.spotbugs</groupId>
  678. <artifactId>spotbugs-maven-plugin</artifactId>
  679. </plugin>
  680. <plugin>
  681. <groupId>org.owasp</groupId>
  682. <artifactId>dependency-check-maven</artifactId>
  683. <configuration>
  684. <format>ALL</format>
  685. <failBuildOnCVSS>0</failBuildOnCVSS>
  686. <suppressionFiles>
  687. <suppressionsFile>owaspSuppressions.xml</suppressionsFile>
  688. </suppressionFiles>
  689. </configuration>
  690. </plugin>
  691. </plugins>
  692. <resources>
  693. <resource>
  694. <directory>${project.basedir}src/main/java/resources</directory>
  695. <excludes>
  696. <exclude>**/*.*</exclude>
  697. </excludes>
  698. </resource>
  699. </resources>
  700. </build>
  701. <reporting>
  702. <plugins>
  703. <plugin>
  704. <groupId>org.openclover</groupId>
  705. <artifactId>clover-maven-plugin</artifactId>
  706. </plugin>
  707. </plugins>
  708. </reporting>
  709. </project>