pom.xml 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231
  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>23</version>
  27. <relativePath />
  28. <!-- no parent resolution -->
  29. </parent>
  30. <groupId>org.apache.zookeeper</groupId>
  31. <artifactId>parent</artifactId>
  32. <packaging>pom</packaging>
  33. <!-- to change version: mvn -B release:update-versions -DdevelopmentVersion=3.6.0-SNAPSHOT -->
  34. <version>3.10.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-metrics-providers</module>
  63. <module>zookeeper-client</module>
  64. <module>zookeeper-recipes</module>
  65. <module>zookeeper-assembly</module>
  66. <module>zookeeper-compatibility-tests</module>
  67. </modules>
  68. <scm>
  69. <connection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</connection>
  70. <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/zookeeper.git</developerConnection>
  71. <url>https://gitbox.apache.org/repos/asf/zookeeper.git</url>
  72. <tag>HEAD</tag>
  73. </scm>
  74. <issueManagement>
  75. <system>JIRA</system>
  76. <url>http://issues.apache.org/jira/browse/ZOOKEEPER</url>
  77. </issueManagement>
  78. <ciManagement>
  79. <system>jenkins</system>
  80. <url>https://ci-hadoop.apache.org/view/ZooKeeper/</url>
  81. </ciManagement>
  82. <mailingLists>
  83. <mailingList>
  84. <name>User List</name>
  85. <subscribe>user-subscribe@zookeeper.apache.org</subscribe>
  86. <unsubscribe>user-unsubscribe@zookeeper.apache.org</unsubscribe>
  87. <post>user@zookeeper.apache.org</post>
  88. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-user/</archive>
  89. </mailingList>
  90. <mailingList>
  91. <name>Developer List</name>
  92. <subscribe>dev-subscribe@zookeeper.apache.org</subscribe>
  93. <unsubscribe>dev-unsubscribe@zookeeper.apache.org</unsubscribe>
  94. <post>dev@zookeeper.apache.org</post>
  95. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-dev/</archive>
  96. </mailingList>
  97. <mailingList>
  98. <name>Commits List</name>
  99. <subscribe>commits-subscribe@zookeeper.apache.org</subscribe>
  100. <unsubscribe>commits-unsubscribe@zookeeper.apache.org</unsubscribe>
  101. <archive>http://mail-archives.apache.org/mod_mbox/zookeeper-commits/</archive>
  102. </mailingList>
  103. <mailingList>
  104. <name>Issues List</name>
  105. <subscribe>issues-subscribe@zookeeper.apache.org</subscribe>
  106. <unsubscribe>issues-unsubscribe@zookeeper.apache.org</unsubscribe>
  107. <archive>https://lists.apache.org/list.html?issues@zookeeper.apache.org</archive>
  108. </mailingList>
  109. <mailingList>
  110. <name>Notifications List</name>
  111. <subscribe>notifications-subscribe@zookeeper.apache.org</subscribe>
  112. <unsubscribe>notifications-unsubscribe@zookeeper.apache.org</unsubscribe>
  113. <archive>https://lists.apache.org/list.html?notifications@zookeeper.apache.org</archive>
  114. </mailingList>
  115. </mailingLists>
  116. <developers>
  117. <developer>
  118. <id>tdunning</id>
  119. <name>Ted Dunning</name>
  120. <email>tdunning@apache.org</email>
  121. <timezone>-8</timezone>
  122. </developer>
  123. <developer>
  124. <id>camille</id>
  125. <name>Camille Fournier</name>
  126. <email>camille@apache.org</email>
  127. <timezone>-5</timezone>
  128. </developer>
  129. <developer>
  130. <id>phunt</id>
  131. <name>Patrick Hunt</name>
  132. <email>phunt@apache.org</email>
  133. <timezone>-8</timezone>
  134. </developer>
  135. <developer>
  136. <id>fpj</id>
  137. <name>Flavio Junqueira</name>
  138. <email>fpj@apache.org</email>
  139. <timezone>+0</timezone>
  140. </developer>
  141. <developer>
  142. <id>ivank</id>
  143. <name>Ivan Kelly</name>
  144. <email>ivank@apache.org</email>
  145. <timezone>+2</timezone>
  146. </developer>
  147. <developer>
  148. <id>mahadev</id>
  149. <name>Mahadev Konar</name>
  150. <email>mahadev@apache.org</email>
  151. <timezone>-8</timezone>
  152. </developer>
  153. <developer>
  154. <id>michim</id>
  155. <name>Michi Mutsuzaki</name>
  156. <email>michim@apache.org</email>
  157. <timezone>-8</timezone>
  158. </developer>
  159. <developer>
  160. <id>cnauroth</id>
  161. <name>Chris Nauroth</name>
  162. <email>cnauroth@apache.org</email>
  163. <timezone>-8</timezone>
  164. </developer>
  165. <developer>
  166. <id>breed</id>
  167. <name>Benjamin Reed</name>
  168. <email>breed@apache.org</email>
  169. <timezone>-8</timezone>
  170. </developer>
  171. <developer>
  172. <id>henry</id>
  173. <name>Henry Robinson</name>
  174. <email>henry@apache.org</email>
  175. <timezone>-8</timezone>
  176. </developer>
  177. <developer>
  178. <id>rgs</id>
  179. <name>Raul Gutierrez Segales</name>
  180. <email>rgs@apache.org</email>
  181. <timezone>-8</timezone>
  182. </developer>
  183. <developer>
  184. <id>rakeshr</id>
  185. <name>Rakesh Radhakrishnan</name>
  186. <email>rakeshr@apache.org</email>
  187. <timezone>+5:30</timezone>
  188. </developer>
  189. <developer>
  190. <id>hanm</id>
  191. <name>Michael Han</name>
  192. <email>hanm@apache.org</email>
  193. <timezone>-8</timezone>
  194. </developer>
  195. <developer>
  196. <id>gkesavan</id>
  197. <name>Giridharan Kesavan</name>
  198. <email>gkesavan@apache.org</email>
  199. <timezone>-8</timezone>
  200. </developer>
  201. <developer>
  202. <id>akornev</id>
  203. <name>Andrew Kornev</name>
  204. <email>akornev@apache.org</email>
  205. </developer>
  206. <developer>
  207. <id>shralex</id>
  208. <name>Alex Shraer</name>
  209. <email>shralex@apache.org</email>
  210. <timezone>-8</timezone>
  211. </developer>
  212. <developer>
  213. <id>thawan</id>
  214. <name>Thawan Kooburat</name>
  215. <email>thawan@apache.org</email>
  216. <timezone>-8</timezone>
  217. </developer>
  218. <developer>
  219. <id>hdeng</id>
  220. <name>Hongchao Deng</name>
  221. <email>hdeng@apache.org</email>
  222. <timezone>-8</timezone>
  223. </developer>
  224. <developer>
  225. <id>arshad</id>
  226. <name>Mohammad Arshad</name>
  227. <email>arshad@apache.org</email>
  228. <timezone>+5:30</timezone>
  229. </developer>
  230. <developer>
  231. <id>afine</id>
  232. <name>Abraham Fine</name>
  233. <email>afine@apache.org</email>
  234. <timezone>-8</timezone>
  235. </developer>
  236. <developer>
  237. <id>andor</id>
  238. <name>Andor Molnar</name>
  239. <email>andor@apache.org</email>
  240. <timezone>+1</timezone>
  241. </developer>
  242. <developer>
  243. <id>lvfangmin</id>
  244. <name>Allan Lyu</name>
  245. <email>fangmin@apache.org</email>
  246. <timezone>-8</timezone>
  247. </developer>
  248. <developer>
  249. <id>eolivelli</id>
  250. <name>Enrico Olivelli</name>
  251. <email>eolivelli@apache.org</email>
  252. <timezone>+1</timezone>
  253. </developer>
  254. <developer>
  255. <id>nkalmar</id>
  256. <name>Norbert Kalmar</name>
  257. <email>nkalmar@apache.org</email>
  258. <timezone>+1</timezone>
  259. </developer>
  260. <developer>
  261. <id>enixon</id>
  262. <name>Brian Nixon</name>
  263. <email>enixon@apache.org</email>
  264. <timezone>-8</timezone>
  265. </developer>
  266. <developer>
  267. <id>symat</id>
  268. <name>Mate Szalay-Beko</name>
  269. <email>symat@apache.org</email>
  270. <timezone>+1</timezone>
  271. </developer>
  272. <developer>
  273. <id>ddiederen</id>
  274. <name>Damien Diederen</name>
  275. <email>ddiederen@apache.org</email>
  276. <timezone>Europe/Berlin</timezone>
  277. </developer>
  278. <developer>
  279. <id>maoling</id>
  280. <name>Ling Mao</name>
  281. <email>maoling@apache.org</email>
  282. <timezone>+8</timezone>
  283. </developer>
  284. </developers>
  285. <profiles>
  286. <profile>
  287. <id>full-build</id>
  288. <modules>
  289. <module>zookeeper-contrib</module>
  290. <!-- zookeeper-it needed by fatjar contrib -->
  291. <module>zookeeper-it</module>
  292. </modules>
  293. </profile>
  294. <profile>
  295. <!-- fatjar only profile; zookeeper-contrib will activate the fatjar in its pom -->
  296. <id>fatjar</id>
  297. <modules>
  298. <module>zookeeper-contrib</module>
  299. <!-- zookeeper-it needed by fatjar contrib -->
  300. <module>zookeeper-it</module>
  301. </modules>
  302. </profile>
  303. <profile>
  304. <id>apache-release</id>
  305. <build>
  306. <plugins>
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-assembly-plugin</artifactId>
  310. <dependencies>
  311. <dependency>
  312. <groupId>org.apache.apache.resources</groupId>
  313. <artifactId>apache-source-release-assembly-descriptor</artifactId>
  314. <version>1.0.6</version>
  315. </dependency>
  316. </dependencies>
  317. <executions>
  318. <execution>
  319. <id>source-release-assembly-tar-gz</id>
  320. <phase>initialize</phase>
  321. <goals>
  322. <goal>single</goal>
  323. </goals>
  324. <configuration>
  325. <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
  326. <descriptorRefs>
  327. <!-- defined in Apache Parent Pom -->
  328. <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
  329. </descriptorRefs>
  330. <finalName>apache-zookeeper-${project.version}</finalName>
  331. <appendAssemblyId>false</appendAssemblyId>
  332. <formats>
  333. <format>tar.gz</format>
  334. </formats>
  335. <tarLongFileMode>posix</tarLongFileMode>
  336. </configuration>
  337. </execution>
  338. </executions>
  339. </plugin>
  340. </plugins>
  341. </build>
  342. </profile>
  343. <profile>
  344. <id>m2e</id>
  345. <activation>
  346. <property>
  347. <name>m2e.version</name>
  348. </property>
  349. </activation>
  350. <properties>
  351. <maven.compiler.release>8</maven.compiler.release>
  352. </properties>
  353. <build>
  354. <pluginManagement>
  355. <plugins>
  356. <plugin>
  357. <groupId>org.eclipse.m2e</groupId>
  358. <artifactId>lifecycle-mapping</artifactId>
  359. <version>1.0.0</version>
  360. <configuration>
  361. <lifecycleMappingMetadata>
  362. <pluginExecutions>
  363. <pluginExecution>
  364. <pluginExecutionFilter>
  365. <groupId>org.codehaus.mojo</groupId>
  366. <artifactId>exec-maven-plugin</artifactId>
  367. <versionRange>[0,)</versionRange>
  368. <goals>
  369. <goal>exec</goal>
  370. </goals>
  371. </pluginExecutionFilter>
  372. <action>
  373. <ignore />
  374. </action>
  375. </pluginExecution>
  376. <pluginExecution>
  377. <pluginExecutionFilter>
  378. <groupId>org.apache.maven.plugins</groupId>
  379. <artifactId>maven-antrun-plugin</artifactId>
  380. <versionRange>[0,)</versionRange>
  381. <goals>
  382. <goal>run</goal>
  383. </goals>
  384. </pluginExecutionFilter>
  385. <action>
  386. <ignore />
  387. </action>
  388. </pluginExecution>
  389. <pluginExecution>
  390. <pluginExecutionFilter>
  391. <groupId>com.ruleoftech</groupId>
  392. <artifactId>markdown-page-generator-plugin</artifactId>
  393. <versionRange>[0,)</versionRange>
  394. <goals>
  395. <goal>generate</goal>
  396. </goals>
  397. </pluginExecutionFilter>
  398. <action>
  399. <ignore />
  400. </action>
  401. </pluginExecution>
  402. <pluginExecution>
  403. <pluginExecutionFilter>
  404. <groupId>org.codehaus.mojo</groupId>
  405. <artifactId>javacc-maven-plugin</artifactId>
  406. <versionRange>[0,)</versionRange>
  407. <goals>
  408. <goal>javacc</goal>
  409. </goals>
  410. </pluginExecutionFilter>
  411. <action>
  412. <ignore />
  413. </action>
  414. </pluginExecution>
  415. <pluginExecution>
  416. <pluginExecutionFilter>
  417. <groupId>com.github.koraktor</groupId>
  418. <artifactId>mavanagaiata</artifactId>
  419. <versionRange>[0,)</versionRange>
  420. <goals>
  421. <goal>commit</goal>
  422. </goals>
  423. </pluginExecutionFilter>
  424. <action>
  425. <ignore />
  426. </action>
  427. </pluginExecution>
  428. </pluginExecutions>
  429. </lifecycleMappingMetadata>
  430. </configuration>
  431. </plugin>
  432. </plugins>
  433. </pluginManagement>
  434. </build>
  435. </profile>
  436. <profile>
  437. <id>jdk-release-flag</id>
  438. <activation>
  439. <jdk>[9,)</jdk>
  440. </activation>
  441. <properties>
  442. <maven.compiler.release>8</maven.compiler.release>
  443. </properties>
  444. </profile>
  445. <profile>
  446. <id>clover</id>
  447. <activation>
  448. <activeByDefault>false</activeByDefault>
  449. <property>
  450. <name>clover</name>
  451. </property>
  452. </activation>
  453. <properties>
  454. <cloverDatabase>${project.build.directory}/clover/zookeeper-coverage.db</cloverDatabase>
  455. </properties>
  456. <build>
  457. <plugins>
  458. <plugin>
  459. <groupId>org.openclover</groupId>
  460. <artifactId>clover-maven-plugin</artifactId>
  461. <configuration>
  462. <includesAllSourceRoots>false</includesAllSourceRoots>
  463. <includesTestSourceRoots>true</includesTestSourceRoots>
  464. <cloverDatabase>${cloverDatabase}</cloverDatabase>
  465. <targetPercentage>50%</targetPercentage>
  466. <outputDirectory>${project.build.directory}/clover</outputDirectory>
  467. <alwaysReport>true</alwaysReport>
  468. <generateHistorical>false</generateHistorical>
  469. <cloverDatabase>${project.build.directory}/clover/zookeeper-coverage.db</cloverDatabase>
  470. <cloverMergeDatabase>${project.build.directory}/clover/zookeeper-coverage.db</cloverMergeDatabase>
  471. <outputDirectory>${project.build.directory}/clover</outputDirectory>
  472. <generateHtml>true</generateHtml>
  473. <generateXml>true</generateXml>
  474. <includesAllSourceRoots>false</includesAllSourceRoots>
  475. <includesTestSourceRoots>true</includesTestSourceRoots>
  476. <includes>
  477. <include>org/apache/zookeeper/**/*</include>
  478. </includes>
  479. <excludes>
  480. <exclude>org/apache/zookeeper/version/**/*</exclude>
  481. <exclude>**/ReadOnlyModeTest.java</exclude>
  482. <exclude>**/KeeperStateTest.java</exclude>
  483. </excludes>
  484. </configuration>
  485. <executions>
  486. <execution>
  487. <id>clover-setup</id>
  488. <phase>process-sources</phase>
  489. <goals>
  490. <goal>setup</goal>
  491. </goals>
  492. </execution>
  493. <execution>
  494. <id>clover</id>
  495. <phase>test</phase>
  496. <goals>
  497. <goal>clover</goal>
  498. </goals>
  499. </execution>
  500. </executions>
  501. </plugin>
  502. </plugins>
  503. </build>
  504. </profile>
  505. <profile>
  506. <id>sonar</id>
  507. <properties>
  508. <sonar.php.coverage.reportPaths>${project.build.directory}/clover/clover.xml</sonar.php.coverage.reportPaths>
  509. </properties>
  510. <build>
  511. <plugins>
  512. <plugin>
  513. <groupId>org.sonarsource.scanner.maven</groupId>
  514. <artifactId>sonar-maven-plugin</artifactId>
  515. </plugin>
  516. </plugins>
  517. <pluginManagement>
  518. <plugins>
  519. <plugin>
  520. <groupId>org.sonarsource.scanner.maven</groupId>
  521. <artifactId>sonar-maven-plugin</artifactId>
  522. <version>${sonar-maven-plugin.version}</version>
  523. <configuration>
  524. <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
  525. <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>
  526. <sonar.clover.reportPath>${project.build.directory}/clover/clover.xml</sonar.clover.reportPath>
  527. <sonar.surefire.reportsPath>target/surefire-reports</sonar.surefire.reportsPath>
  528. <sonar.core.codeCoveragePlugin>clover</sonar.core.codeCoveragePlugin>
  529. <sonar.clover.version>${clover-maven-plugin.version}</sonar.clover.version>
  530. </configuration>
  531. </plugin>
  532. </plugins>
  533. </pluginManagement>
  534. </build>
  535. </profile>
  536. </profiles>
  537. <properties>
  538. <!-- maven properties -->
  539. <maven.compiler.source>1.8</maven.compiler.source>
  540. <maven.compiler.target>1.8</maven.compiler.target>
  541. <dependency.locations.enabled>false</dependency.locations.enabled>
  542. <surefire.version>2.22.1</surefire.version>
  543. <surefire-forkcount>8</surefire-forkcount>
  544. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  545. <!-- dependency versions -->
  546. <slf4j.version>1.7.30</slf4j.version>
  547. <logback-version>1.2.10</logback-version>
  548. <audience-annotations.version>0.12.0</audience-annotations.version>
  549. <jmockit.version>1.48</jmockit.version>
  550. <junit.version>5.6.2</junit.version>
  551. <junit-platform.version>1.6.2</junit-platform.version>
  552. <mockito.version>4.9.0</mockito.version>
  553. <hamcrest.version>2.2</hamcrest.version>
  554. <commons-cli.version>1.5.0</commons-cli.version>
  555. <netty.version>4.1.94.Final</netty.version>
  556. <jetty.version>9.4.51.v20230217</jetty.version>
  557. <jackson.version>2.15.2</jackson.version>
  558. <jline.version>2.14.6</jline.version>
  559. <snappy.version>1.1.10.1</snappy.version>
  560. <kerby.version>2.0.0</kerby.version>
  561. <bouncycastle.version>1.75</bouncycastle.version>
  562. <commons-collections.version>4.4</commons-collections.version>
  563. <dropwizard.version>4.1.12.1</dropwizard.version>
  564. <spotbugsannotations.version>4.0.2</spotbugsannotations.version>
  565. <checkstyle.version>8.39</checkstyle.version>
  566. <enforcer.version>3.0.0-M3</enforcer.version>
  567. <commons-io.version>2.11.0</commons-io.version>
  568. <burningwave.mockdns.version>0.25.4</burningwave.mockdns.version>
  569. <clover-maven-plugin.version>4.4.1</clover-maven-plugin.version>
  570. <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
  571. <!-- parameters to pass to C client build -->
  572. <c-client-openssl>yes</c-client-openssl>
  573. <c-client-sasl>yes</c-client-sasl>
  574. </properties>
  575. <dependencyManagement>
  576. <dependencies>
  577. <dependency>
  578. <groupId>org.hamcrest</groupId>
  579. <artifactId>hamcrest-library</artifactId>
  580. <version>${hamcrest.version}</version>
  581. </dependency>
  582. <dependency>
  583. <groupId>org.apache.commons</groupId>
  584. <artifactId>commons-collections4</artifactId>
  585. <version>${commons-collections.version}</version>
  586. </dependency>
  587. <dependency>
  588. <groupId>org.apache.yetus</groupId>
  589. <artifactId>audience-annotations</artifactId>
  590. <version>${audience-annotations.version}</version>
  591. </dependency>
  592. <dependency>
  593. <groupId>commons-cli</groupId>
  594. <artifactId>commons-cli</artifactId>
  595. <version>${commons-cli.version}</version>
  596. </dependency>
  597. <dependency>
  598. <groupId>org.apache.kerby</groupId>
  599. <artifactId>kerb-core</artifactId>
  600. <version>${kerby.version}</version>
  601. <exclusions>
  602. <exclusion>
  603. <groupId>org.slf4j</groupId>
  604. <artifactId>slf4j-api</artifactId>
  605. </exclusion>
  606. </exclusions>
  607. </dependency>
  608. <dependency>
  609. <groupId>org.apache.kerby</groupId>
  610. <artifactId>kerb-simplekdc</artifactId>
  611. <version>${kerby.version}</version>
  612. <exclusions>
  613. <exclusion>
  614. <groupId>org.slf4j</groupId>
  615. <artifactId>slf4j-api</artifactId>
  616. </exclusion>
  617. </exclusions>
  618. </dependency>
  619. <dependency>
  620. <groupId>org.apache.kerby</groupId>
  621. <artifactId>kerby-config</artifactId>
  622. <version>${kerby.version}</version>
  623. <exclusions>
  624. <exclusion>
  625. <groupId>org.slf4j</groupId>
  626. <artifactId>slf4j-api</artifactId>
  627. </exclusion>
  628. <exclusion>
  629. <groupId>org.slf4j</groupId>
  630. <artifactId>slf4j-log4j12</artifactId>
  631. </exclusion>
  632. </exclusions>
  633. </dependency>
  634. <dependency>
  635. <groupId>org.bouncycastle</groupId>
  636. <artifactId>bcprov-jdk18on</artifactId>
  637. <version>${bouncycastle.version}</version>
  638. </dependency>
  639. <dependency>
  640. <groupId>org.bouncycastle</groupId>
  641. <artifactId>bcpkix-jdk18on</artifactId>
  642. <version>${bouncycastle.version}</version>
  643. </dependency>
  644. <dependency>
  645. <groupId>org.slf4j</groupId>
  646. <artifactId>slf4j-api</artifactId>
  647. <version>${slf4j.version}</version>
  648. </dependency>
  649. <dependency>
  650. <groupId>ch.qos.logback</groupId>
  651. <artifactId>logback-core</artifactId>
  652. <version>${logback-version}</version>
  653. </dependency>
  654. <dependency>
  655. <groupId>ch.qos.logback</groupId>
  656. <artifactId>logback-classic</artifactId>
  657. <version>${logback-version}</version>
  658. </dependency>
  659. <dependency>
  660. <groupId>org.jmockit</groupId>
  661. <artifactId>jmockit</artifactId>
  662. <version>${jmockit.version}</version>
  663. </dependency>
  664. <dependency>
  665. <groupId>org.junit.jupiter</groupId>
  666. <artifactId>junit-jupiter-api</artifactId>
  667. <version>${junit.version}</version>
  668. </dependency>
  669. <dependency>
  670. <groupId>org.junit.jupiter</groupId>
  671. <artifactId>junit-jupiter-engine</artifactId>
  672. <version>${junit.version}</version>
  673. </dependency>
  674. <dependency>
  675. <groupId>org.junit.jupiter</groupId>
  676. <artifactId>junit-jupiter-params</artifactId>
  677. <version>${junit.version}</version>
  678. <scope>test</scope>
  679. </dependency>
  680. <dependency>
  681. <groupId>org.junit.platform</groupId>
  682. <artifactId>junit-platform-runner</artifactId>
  683. <version>${junit-platform.version}</version>
  684. <scope>test</scope>
  685. </dependency>
  686. <dependency>
  687. <groupId>org.junit.vintage</groupId>
  688. <artifactId>junit-vintage-engine</artifactId>
  689. <version>${junit.version}</version>
  690. </dependency>
  691. <dependency>
  692. <groupId>org.mockito</groupId>
  693. <artifactId>mockito-core</artifactId>
  694. <version>${mockito.version}</version>
  695. </dependency>
  696. <dependency>
  697. <groupId>io.netty</groupId>
  698. <artifactId>netty-bom</artifactId>
  699. <version>${netty.version}</version>
  700. <type>pom</type>
  701. <scope>import</scope>
  702. </dependency>
  703. <dependency>
  704. <groupId>org.eclipse.jetty</groupId>
  705. <artifactId>jetty-server</artifactId>
  706. <version>${jetty.version}</version>
  707. </dependency>
  708. <dependency>
  709. <groupId>org.eclipse.jetty</groupId>
  710. <artifactId>jetty-servlet</artifactId>
  711. <version>${jetty.version}</version>
  712. </dependency>
  713. <dependency>
  714. <groupId>org.eclipse.jetty</groupId>
  715. <artifactId>jetty-client</artifactId>
  716. <version>${jetty.version}</version>
  717. </dependency>
  718. <dependency>
  719. <groupId>io.dropwizard.metrics</groupId>
  720. <artifactId>metrics-core</artifactId>
  721. <version>${dropwizard.version}</version>
  722. <exclusions>
  723. <exclusion>
  724. <groupId>org.slf4j</groupId>
  725. <artifactId>slf4j-api</artifactId>
  726. </exclusion>
  727. </exclusions>
  728. </dependency>
  729. <dependency>
  730. <groupId>com.fasterxml.jackson.core</groupId>
  731. <artifactId>jackson-databind</artifactId>
  732. <version>${jackson.version}</version>
  733. </dependency>
  734. <dependency>
  735. <groupId>jline</groupId>
  736. <artifactId>jline</artifactId>
  737. <version>${jline.version}</version>
  738. </dependency>
  739. <dependency>
  740. <groupId>com.github.spotbugs</groupId>
  741. <artifactId>spotbugs-annotations</artifactId>
  742. <version>${spotbugsannotations.version}</version>
  743. <scope>provided</scope>
  744. <optional>true</optional>
  745. </dependency>
  746. <dependency>
  747. <groupId>org.xerial.snappy</groupId>
  748. <artifactId>snappy-java</artifactId>
  749. <version>${snappy.version}</version>
  750. </dependency>
  751. <dependency>
  752. <groupId>commons-io</groupId>
  753. <artifactId>commons-io</artifactId>
  754. <version>${commons-io.version}</version>
  755. </dependency>
  756. <dependency>
  757. <groupId>org.burningwave</groupId>
  758. <artifactId>tools</artifactId>
  759. <version>${burningwave.mockdns.version}</version>
  760. </dependency>
  761. </dependencies>
  762. </dependencyManagement>
  763. <build>
  764. <pluginManagement>
  765. <plugins>
  766. <plugin>
  767. <groupId>org.apache.maven.plugins</groupId>
  768. <artifactId>maven-compiler-plugin</artifactId>
  769. <configuration>
  770. <showWarnings>true</showWarnings>
  771. <compilerArgs>
  772. <compilerArg>-Werror</compilerArg>
  773. <compilerArg>-Xlint:deprecation</compilerArg>
  774. <compilerArg>-Xlint:unchecked</compilerArg>
  775. <compilerArg>-Xlint:-options</compilerArg>
  776. <compilerArg>-Xdoclint:-missing</compilerArg>
  777. <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
  778. <compilerArg>-Xpkginfo:always</compilerArg>
  779. </compilerArgs>
  780. </configuration>
  781. </plugin>
  782. <plugin>
  783. <groupId>org.apache.maven.plugins</groupId>
  784. <artifactId>maven-jar-plugin</artifactId>
  785. <configuration>
  786. <archive>
  787. <manifestEntries>
  788. <Implementation-Build>${mvngit.commit.id}</Implementation-Build>
  789. </manifestEntries>
  790. </archive>
  791. </configuration>
  792. </plugin>
  793. <plugin>
  794. <groupId>org.apache.maven.plugins</groupId>
  795. <artifactId>maven-source-plugin</artifactId>
  796. </plugin>
  797. <plugin>
  798. <groupId>org.apache.maven.plugins</groupId>
  799. <artifactId>maven-javadoc-plugin</artifactId>
  800. <version>3.1.1</version>
  801. <configuration>
  802. <quiet>true</quiet>
  803. <doclint>none</doclint>
  804. </configuration>
  805. </plugin>
  806. <plugin>
  807. <groupId>org.apache.maven.plugins</groupId>
  808. <artifactId>maven-assembly-plugin</artifactId>
  809. <version>3.1.0</version>
  810. </plugin>
  811. <plugin>
  812. <groupId>org.apache.maven.plugins</groupId>
  813. <artifactId>maven-release-plugin</artifactId>
  814. </plugin>
  815. <plugin>
  816. <groupId>org.apache.maven.plugins</groupId>
  817. <artifactId>maven-scm-plugin</artifactId>
  818. <version>1.11.2</version>
  819. </plugin>
  820. <plugin>
  821. <groupId>org.apache.maven.plugins</groupId>
  822. <artifactId>maven-surefire-plugin</artifactId>
  823. <configuration>
  824. <trimStackTrace>false</trimStackTrace>
  825. <redirectTestOutputToFile>${redirectTestOutputToFile}</redirectTestOutputToFile>
  826. </configuration>
  827. </plugin>
  828. <plugin>
  829. <groupId>org.apache.maven.plugins</groupId>
  830. <artifactId>maven-antrun-plugin</artifactId>
  831. </plugin>
  832. <plugin>
  833. <groupId>org.apache.maven.plugins</groupId>
  834. <artifactId>maven-dependency-plugin</artifactId>
  835. </plugin>
  836. <plugin>
  837. <groupId>org.codehaus.mojo</groupId>
  838. <artifactId>exec-maven-plugin</artifactId>
  839. <version>1.6.0</version>
  840. </plugin>
  841. <plugin>
  842. <groupId>com.github.koraktor</groupId>
  843. <artifactId>mavanagaiata</artifactId>
  844. <version>0.9.4</version>
  845. <configuration>
  846. <skipNoGit>true</skipNoGit>
  847. </configuration>
  848. </plugin>
  849. <plugin>
  850. <groupId>org.codehaus.mojo</groupId>
  851. <artifactId>build-helper-maven-plugin</artifactId>
  852. <version>3.0.0</version>
  853. </plugin>
  854. <plugin>
  855. <groupId>net.nicoulaj.maven.plugins</groupId>
  856. <artifactId>checksum-maven-plugin</artifactId>
  857. <version>1.8</version>
  858. </plugin>
  859. <plugin>
  860. <groupId>org.openclover</groupId>
  861. <artifactId>clover-maven-plugin</artifactId>
  862. <version>${clover-maven-plugin.version}</version>
  863. </plugin>
  864. <plugin>
  865. <groupId>com.github.spotbugs</groupId>
  866. <artifactId>spotbugs-maven-plugin</artifactId>
  867. <version>4.0.0</version>
  868. <configuration>
  869. <excludeFilterFile>excludeFindBugsFilter.xml</excludeFilterFile>
  870. </configuration>
  871. </plugin>
  872. <plugin>
  873. <groupId>org.owasp</groupId>
  874. <artifactId>dependency-check-maven</artifactId>
  875. <version>7.1.0</version>
  876. </plugin>
  877. <plugin>
  878. <groupId>org.apache.maven.plugins</groupId>
  879. <artifactId>maven-checkstyle-plugin</artifactId>
  880. <version>3.1.1</version>
  881. <dependencies>
  882. <dependency>
  883. <groupId>com.puppycrawl.tools</groupId>
  884. <artifactId>checkstyle</artifactId>
  885. <version>${checkstyle.version}</version>
  886. </dependency>
  887. </dependencies>
  888. <configuration>
  889. <configLocation>checkstyle-strict.xml</configLocation>
  890. <suppressionsLocation>checkstyleSuppressions.xml</suppressionsLocation>
  891. <encoding>UTF-8</encoding>
  892. <consoleOutput>true</consoleOutput>
  893. <failOnViolation>true</failOnViolation>
  894. <includeResources>false</includeResources>
  895. <includeTestResources>false</includeTestResources>
  896. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  897. </configuration>
  898. </plugin>
  899. <!-- we don't need this plugin-->
  900. <plugin>
  901. <artifactId>maven-remote-resources-plugin</artifactId>
  902. <executions>
  903. <execution>
  904. <id>process-resource-bundles</id>
  905. <phase>none</phase>
  906. </execution>
  907. </executions>
  908. </plugin>
  909. <plugin>
  910. <groupId>org.apache.felix</groupId>
  911. <artifactId>maven-bundle-plugin</artifactId>
  912. <version>5.1.1</version>
  913. </plugin>
  914. <plugin>
  915. <groupId>org.cyclonedx</groupId>
  916. <artifactId>cyclonedx-maven-plugin</artifactId>
  917. <version>2.7.6</version>
  918. </plugin>
  919. </plugins>
  920. </pluginManagement>
  921. <plugins>
  922. <plugin>
  923. <groupId>com.github.koraktor</groupId>
  924. <artifactId>mavanagaiata</artifactId>
  925. <executions>
  926. <execution>
  927. <id>find-current-git-revision</id>
  928. <goals>
  929. <goal>commit</goal>
  930. </goals>
  931. <phase>validate</phase>
  932. </execution>
  933. </executions>
  934. </plugin>
  935. <plugin>
  936. <groupId>org.apache.maven.plugins</groupId>
  937. <artifactId>maven-antrun-plugin</artifactId>
  938. <executions>
  939. <execution>
  940. <id>set-hostname-property</id>
  941. <phase>validate</phase>
  942. <goals>
  943. <goal>run</goal>
  944. </goals>
  945. <configuration>
  946. <exportAntProperties>true</exportAntProperties>
  947. <target>
  948. <property environment="env" />
  949. <exec executable="hostname" outputproperty="host.name" />
  950. </target>
  951. </configuration>
  952. </execution>
  953. </executions>
  954. </plugin>
  955. <plugin>
  956. <groupId>org.apache.maven.plugins</groupId>
  957. <artifactId>maven-jar-plugin</artifactId>
  958. <executions>
  959. <execution>
  960. <id>Jar Tests Package</id>
  961. <phase>package</phase>
  962. <goals>
  963. <goal>test-jar</goal>
  964. </goals>
  965. <configuration>
  966. <includes>
  967. <include>org/**</include>
  968. <include>META_INF/**</include>
  969. </includes>
  970. <skipIfEmpty>true</skipIfEmpty>
  971. </configuration>
  972. </execution>
  973. </executions>
  974. </plugin>
  975. <plugin>
  976. <groupId>org.apache.maven.plugins</groupId>
  977. <artifactId>maven-source-plugin</artifactId>
  978. <executions>
  979. <execution>
  980. <id>attach-sources</id>
  981. <goals>
  982. <goal>jar</goal>
  983. </goals>
  984. </execution>
  985. </executions>
  986. </plugin>
  987. <plugin>
  988. <groupId>org.apache.maven.plugins</groupId>
  989. <artifactId>maven-javadoc-plugin</artifactId>
  990. <executions>
  991. <execution>
  992. <id>attach-javadocs</id>
  993. <goals>
  994. <goal>jar</goal>
  995. </goals>
  996. </execution>
  997. <execution>
  998. <id>aggregate</id>
  999. <phase>site</phase>
  1000. <goals>
  1001. <goal>aggregate</goal>
  1002. </goals>
  1003. </execution>
  1004. </executions>
  1005. <configuration>
  1006. <overview>zookeeper-server/src/main/resources/overview.html</overview>
  1007. <excludePackageNames>*.recipes.*</excludePackageNames>
  1008. </configuration>
  1009. </plugin>
  1010. <plugin>
  1011. <!-- Maven's deploy plugin only creates checksums during the deployment of the jar artifacts to repo. -->
  1012. <!-- We also want to sign tarballs. Nicoulaj's plugin is the recommended solution by the community. -->
  1013. <groupId>net.nicoulaj.maven.plugins</groupId>
  1014. <artifactId>checksum-maven-plugin</artifactId>
  1015. <executions>
  1016. <execution>
  1017. <goals>
  1018. <goal>artifacts</goal>
  1019. </goals>
  1020. </execution>
  1021. </executions>
  1022. <configuration>
  1023. <algorithms>
  1024. <algorithm>SHA-512</algorithm>
  1025. </algorithms>
  1026. <appendFilename>true</appendFilename>
  1027. </configuration>
  1028. </plugin>
  1029. <plugin>
  1030. <groupId>com.github.spotbugs</groupId>
  1031. <artifactId>spotbugs-maven-plugin</artifactId>
  1032. </plugin>
  1033. <plugin>
  1034. <groupId>org.owasp</groupId>
  1035. <artifactId>dependency-check-maven</artifactId>
  1036. <configuration>
  1037. <format>ALL</format>
  1038. <failBuildOnCVSS>0</failBuildOnCVSS>
  1039. <suppressionFiles>
  1040. <suppressionsFile>owaspSuppressions.xml</suppressionsFile>
  1041. </suppressionFiles>
  1042. </configuration>
  1043. </plugin>
  1044. <plugin>
  1045. <groupId>org.apache.rat</groupId>
  1046. <artifactId>apache-rat-plugin</artifactId>
  1047. <configuration>
  1048. <excludes>
  1049. <exclude>**/README.md</exclude>
  1050. <exclude>**/findbugsExcludeFile.xml</exclude>
  1051. <exclude>**/checkstyle-noframes-sorted.xsl</exclude>
  1052. <exclude>**/configure.ac</exclude>
  1053. <exclude>**/Makefile.am</exclude>
  1054. <exclude>conf/zoo_sample.cfg</exclude>
  1055. <exclude>conf/configuration.xsl</exclude>
  1056. <exclude>.travis.yml</exclude>
  1057. <exclude>excludeFindBugsFilter.xml</exclude>
  1058. <exclude>README_packaging.md</exclude>
  1059. <exclude>src/main/resources/markdown/skin/*</exclude>
  1060. <exclude>src/main/resources/markdown/html/*</exclude>
  1061. <exclude>src/main/resources/markdown/images/*</exclude>
  1062. <exclude>**/src/test/resources/embedded/*.conf</exclude>
  1063. <!-- contrib -->
  1064. <exclude>**/JMX-RESOURCES</exclude>
  1065. <exclude>**/src/main/resources/mainClasses</exclude>
  1066. <exclude>**/Changes</exclude>
  1067. <exclude>**/MANIFEST</exclude>
  1068. <exclude>**/src/test/zoo.cfg</exclude>
  1069. <exclude>**/src/main/resources/webapp/org/apache/zookeeper/graph/resources/*</exclude>
  1070. <exclude>**/src/main/java/com/nitido/utils/toaster/Toaster.java</exclude>
  1071. <exclude>**/TODO</exclude>
  1072. <!-- c client -->
  1073. <exclude>**/acinclude.m4</exclude>
  1074. <exclude>**/aminclude.am</exclude>
  1075. <exclude>**/src/hashtable/*</exclude>
  1076. <exclude>**/include/winconfig.h</exclude>
  1077. <exclude>**/tests/wrappers.opt</exclude>
  1078. <exclude>**/tests/zoo.cfg</exclude>
  1079. <exclude>**/tests/wrappers-mt.opt</exclude>
  1080. <exclude>**/c-doc.Doxyfile</exclude>
  1081. </excludes>
  1082. <consoleOutput>true</consoleOutput>
  1083. </configuration>
  1084. </plugin>
  1085. <plugin>
  1086. <groupId>org.apache.maven.plugins</groupId>
  1087. <artifactId>maven-release-plugin</artifactId>
  1088. <inherited>false</inherited>
  1089. <configuration>
  1090. <!-- update the version inside the C sources -->
  1091. <preparationGoals>clean verify -DskipTests antrun:run@replace-cclient-files-during-release scm:add@add-cclient-files-during-release scm:checkin@commit-cclient-files-during-release</preparationGoals>
  1092. <completionGoals>clean verify -DskipTests antrun:run@replace-cclient-files-during-release scm:add@add-cclient-files-during-release scm:checkin@commit-cclient-files-during-release</completionGoals>
  1093. <pushChanges>false</pushChanges>
  1094. <localCheckout>true</localCheckout>
  1095. <autoVersionSubmodules>true</autoVersionSubmodules>
  1096. <tagNameFormat>release-@{project.version}</tagNameFormat>
  1097. </configuration>
  1098. </plugin>
  1099. <plugin>
  1100. <groupId>org.apache.maven.plugins</groupId>
  1101. <artifactId>maven-scm-plugin</artifactId>
  1102. <inherited>false</inherited>
  1103. <executions>
  1104. <execution>
  1105. <id>add-cclient-files-during-release</id>
  1106. <phase>none</phase>
  1107. <goals>
  1108. <goal>add</goal>
  1109. </goals>
  1110. <configuration>
  1111. <pushChanges>false</pushChanges>
  1112. <includes>zookeeper-client/zookeeper-client-c/CMakeLists.txt,zookeeper-client/zookeeper-client-c/configure.ac,zookeeper-client/zookeeper-client-c/include/zookeeper_version.h</includes>
  1113. </configuration>
  1114. </execution>
  1115. <execution>
  1116. <id>commit-cclient-files-during-release</id>
  1117. <phase>none</phase>
  1118. <goals>
  1119. <!-- git commit -->
  1120. <goal>checkin</goal>
  1121. </goals>
  1122. <configuration>
  1123. <pushChanges>false</pushChanges>
  1124. <message>Prepared ${project.version}</message>
  1125. </configuration>
  1126. </execution>
  1127. </executions>
  1128. </plugin>
  1129. <plugin>
  1130. <groupId>org.apache.maven.plugins</groupId>
  1131. <artifactId>maven-enforcer-plugin</artifactId>
  1132. <version>${enforcer.version}</version>
  1133. <executions>
  1134. <execution>
  1135. <id>banned-commons-lang</id>
  1136. <goals>
  1137. <goal>enforce</goal>
  1138. </goals>
  1139. <configuration>
  1140. <rules>
  1141. <bannedDependencies>
  1142. <excludes>
  1143. <exclude>commons-lang:commons-lang</exclude>
  1144. </excludes>
  1145. <searchTransitive>false</searchTransitive>
  1146. <message>We don't use commons-lang anymore, so do not depend on it directly.</message>
  1147. </bannedDependencies>
  1148. </rules>
  1149. </configuration>
  1150. </execution>
  1151. <execution>
  1152. <id>banned-commons-lang3</id>
  1153. <goals>
  1154. <goal>enforce</goal>
  1155. </goals>
  1156. <configuration>
  1157. <rules>
  1158. <bannedDependencies>
  1159. <excludes>
  1160. <exclude>org.apache.commons:commons-lang3</exclude>
  1161. </excludes>
  1162. <searchTransitive>false</searchTransitive>
  1163. <message>We don't use commons-lang3, so do not depend on it directly.</message>
  1164. </bannedDependencies>
  1165. </rules>
  1166. </configuration>
  1167. </execution>
  1168. <execution>
  1169. <id>banned-json-simple</id>
  1170. <goals>
  1171. <goal>enforce</goal>
  1172. </goals>
  1173. <configuration>
  1174. <rules>
  1175. <bannedDependencies>
  1176. <excludes>
  1177. <exclude>com.googlecode.json-simple:json-simple</exclude>
  1178. </excludes>
  1179. <searchTransitive>false</searchTransitive>
  1180. <message>We don't use json-simple anymore, so do not depend on it directly.</message>
  1181. </bannedDependencies>
  1182. </rules>
  1183. </configuration>
  1184. </execution>
  1185. </executions>
  1186. </plugin>
  1187. <plugin>
  1188. <groupId>org.cyclonedx</groupId>
  1189. <artifactId>cyclonedx-maven-plugin</artifactId>
  1190. <executions>
  1191. <execution>
  1192. <goals>
  1193. <goal>makeBom</goal>
  1194. </goals>
  1195. <phase>package</phase>
  1196. </execution>
  1197. </executions>
  1198. </plugin>
  1199. </plugins>
  1200. <resources>
  1201. <resource>
  1202. <directory>${project.basedir}src/main/java/resources</directory>
  1203. <excludes>
  1204. <exclude>**/*.*</exclude>
  1205. </excludes>
  1206. </resource>
  1207. </resources>
  1208. </build>
  1209. <reporting>
  1210. <plugins>
  1211. <plugin>
  1212. <groupId>org.openclover</groupId>
  1213. <artifactId>clover-maven-plugin</artifactId>
  1214. </plugin>
  1215. </plugins>
  1216. </reporting>
  1217. </project>