pom.xml 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239
  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. <project.build.outputTimestamp>1691130453</project.build.outputTimestamp>
  542. <dependency.locations.enabled>false</dependency.locations.enabled>
  543. <surefire.version>2.22.1</surefire.version>
  544. <surefire-forkcount>8</surefire-forkcount>
  545. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  546. <!-- dependency versions -->
  547. <slf4j.version>2.0.13</slf4j.version>
  548. <logback-version>1.3.15</logback-version>
  549. <audience-annotations.version>0.12.0</audience-annotations.version>
  550. <jmockit.version>1.48</jmockit.version>
  551. <junit.version>5.6.2</junit.version>
  552. <junit-platform.version>1.6.2</junit-platform.version>
  553. <mockito.version>4.9.0</mockito.version>
  554. <hamcrest.version>2.2</hamcrest.version>
  555. <commons-cli.version>1.5.0</commons-cli.version>
  556. <netty.version>4.1.119.Final</netty.version>
  557. <jetty.version>9.4.56.v20240826</jetty.version>
  558. <jackson.version>2.15.2</jackson.version>
  559. <jline.version>2.14.6</jline.version>
  560. <snappy.version>1.1.10.5</snappy.version>
  561. <kerby.version>2.0.0</kerby.version>
  562. <bouncycastle.version>1.78</bouncycastle.version>
  563. <commons-collections.version>4.4</commons-collections.version>
  564. <dropwizard.version>4.1.12.1</dropwizard.version>
  565. <spotbugsannotations.version>4.0.2</spotbugsannotations.version>
  566. <checkstyle.version>8.39</checkstyle.version>
  567. <enforcer.version>3.0.0-M3</enforcer.version>
  568. <commons-io.version>2.17.0</commons-io.version>
  569. <burningwave.mockdns.version>0.25.4</burningwave.mockdns.version>
  570. <clover-maven-plugin.version>4.4.1</clover-maven-plugin.version>
  571. <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
  572. <!-- parameters to pass to C client build -->
  573. <c-client-openssl>yes</c-client-openssl>
  574. <c-client-sasl>yes</c-client-sasl>
  575. </properties>
  576. <dependencyManagement>
  577. <dependencies>
  578. <dependency>
  579. <groupId>org.hamcrest</groupId>
  580. <artifactId>hamcrest-library</artifactId>
  581. <version>${hamcrest.version}</version>
  582. </dependency>
  583. <dependency>
  584. <groupId>org.apache.commons</groupId>
  585. <artifactId>commons-collections4</artifactId>
  586. <version>${commons-collections.version}</version>
  587. </dependency>
  588. <dependency>
  589. <groupId>org.apache.yetus</groupId>
  590. <artifactId>audience-annotations</artifactId>
  591. <version>${audience-annotations.version}</version>
  592. </dependency>
  593. <dependency>
  594. <groupId>commons-cli</groupId>
  595. <artifactId>commons-cli</artifactId>
  596. <version>${commons-cli.version}</version>
  597. </dependency>
  598. <dependency>
  599. <groupId>org.apache.kerby</groupId>
  600. <artifactId>kerb-core</artifactId>
  601. <version>${kerby.version}</version>
  602. <exclusions>
  603. <exclusion>
  604. <groupId>org.slf4j</groupId>
  605. <artifactId>slf4j-api</artifactId>
  606. </exclusion>
  607. </exclusions>
  608. </dependency>
  609. <dependency>
  610. <groupId>org.apache.kerby</groupId>
  611. <artifactId>kerb-simplekdc</artifactId>
  612. <version>${kerby.version}</version>
  613. <exclusions>
  614. <exclusion>
  615. <groupId>org.slf4j</groupId>
  616. <artifactId>slf4j-api</artifactId>
  617. </exclusion>
  618. </exclusions>
  619. </dependency>
  620. <dependency>
  621. <groupId>org.apache.kerby</groupId>
  622. <artifactId>kerby-config</artifactId>
  623. <version>${kerby.version}</version>
  624. <exclusions>
  625. <exclusion>
  626. <groupId>org.slf4j</groupId>
  627. <artifactId>slf4j-api</artifactId>
  628. </exclusion>
  629. <exclusion>
  630. <groupId>org.slf4j</groupId>
  631. <artifactId>slf4j-log4j12</artifactId>
  632. </exclusion>
  633. </exclusions>
  634. </dependency>
  635. <dependency>
  636. <groupId>org.bouncycastle</groupId>
  637. <artifactId>bcprov-jdk18on</artifactId>
  638. <version>${bouncycastle.version}</version>
  639. </dependency>
  640. <dependency>
  641. <groupId>org.bouncycastle</groupId>
  642. <artifactId>bcpkix-jdk18on</artifactId>
  643. <version>${bouncycastle.version}</version>
  644. </dependency>
  645. <dependency>
  646. <groupId>org.slf4j</groupId>
  647. <artifactId>slf4j-api</artifactId>
  648. <version>${slf4j.version}</version>
  649. </dependency>
  650. <dependency>
  651. <groupId>ch.qos.logback</groupId>
  652. <artifactId>logback-core</artifactId>
  653. <version>${logback-version}</version>
  654. </dependency>
  655. <dependency>
  656. <groupId>ch.qos.logback</groupId>
  657. <artifactId>logback-classic</artifactId>
  658. <version>${logback-version}</version>
  659. </dependency>
  660. <dependency>
  661. <groupId>org.jmockit</groupId>
  662. <artifactId>jmockit</artifactId>
  663. <version>${jmockit.version}</version>
  664. </dependency>
  665. <dependency>
  666. <groupId>org.junit.jupiter</groupId>
  667. <artifactId>junit-jupiter-api</artifactId>
  668. <version>${junit.version}</version>
  669. </dependency>
  670. <dependency>
  671. <groupId>org.junit.jupiter</groupId>
  672. <artifactId>junit-jupiter-engine</artifactId>
  673. <version>${junit.version}</version>
  674. </dependency>
  675. <dependency>
  676. <groupId>org.junit.jupiter</groupId>
  677. <artifactId>junit-jupiter-params</artifactId>
  678. <version>${junit.version}</version>
  679. <scope>test</scope>
  680. </dependency>
  681. <dependency>
  682. <groupId>org.junit.platform</groupId>
  683. <artifactId>junit-platform-runner</artifactId>
  684. <version>${junit-platform.version}</version>
  685. <scope>test</scope>
  686. </dependency>
  687. <dependency>
  688. <groupId>org.junit.vintage</groupId>
  689. <artifactId>junit-vintage-engine</artifactId>
  690. <version>${junit.version}</version>
  691. </dependency>
  692. <dependency>
  693. <groupId>org.mockito</groupId>
  694. <artifactId>mockito-core</artifactId>
  695. <version>${mockito.version}</version>
  696. </dependency>
  697. <dependency>
  698. <groupId>org.mockito</groupId>
  699. <artifactId>mockito-inline</artifactId>
  700. <version>${mockito.version}</version>
  701. <scope>test</scope>
  702. </dependency>
  703. <dependency>
  704. <groupId>io.netty</groupId>
  705. <artifactId>netty-bom</artifactId>
  706. <version>${netty.version}</version>
  707. <type>pom</type>
  708. <scope>import</scope>
  709. </dependency>
  710. <dependency>
  711. <groupId>org.eclipse.jetty</groupId>
  712. <artifactId>jetty-server</artifactId>
  713. <version>${jetty.version}</version>
  714. </dependency>
  715. <dependency>
  716. <groupId>org.eclipse.jetty</groupId>
  717. <artifactId>jetty-servlet</artifactId>
  718. <version>${jetty.version}</version>
  719. </dependency>
  720. <dependency>
  721. <groupId>org.eclipse.jetty</groupId>
  722. <artifactId>jetty-client</artifactId>
  723. <version>${jetty.version}</version>
  724. </dependency>
  725. <dependency>
  726. <groupId>io.dropwizard.metrics</groupId>
  727. <artifactId>metrics-core</artifactId>
  728. <version>${dropwizard.version}</version>
  729. <exclusions>
  730. <exclusion>
  731. <groupId>org.slf4j</groupId>
  732. <artifactId>slf4j-api</artifactId>
  733. </exclusion>
  734. </exclusions>
  735. </dependency>
  736. <dependency>
  737. <groupId>com.fasterxml.jackson.core</groupId>
  738. <artifactId>jackson-databind</artifactId>
  739. <version>${jackson.version}</version>
  740. </dependency>
  741. <dependency>
  742. <groupId>jline</groupId>
  743. <artifactId>jline</artifactId>
  744. <version>${jline.version}</version>
  745. </dependency>
  746. <dependency>
  747. <groupId>com.github.spotbugs</groupId>
  748. <artifactId>spotbugs-annotations</artifactId>
  749. <version>${spotbugsannotations.version}</version>
  750. <scope>provided</scope>
  751. <optional>true</optional>
  752. </dependency>
  753. <dependency>
  754. <groupId>org.xerial.snappy</groupId>
  755. <artifactId>snappy-java</artifactId>
  756. <version>${snappy.version}</version>
  757. </dependency>
  758. <dependency>
  759. <groupId>commons-io</groupId>
  760. <artifactId>commons-io</artifactId>
  761. <version>${commons-io.version}</version>
  762. </dependency>
  763. <dependency>
  764. <groupId>org.burningwave</groupId>
  765. <artifactId>tools</artifactId>
  766. <version>${burningwave.mockdns.version}</version>
  767. </dependency>
  768. </dependencies>
  769. </dependencyManagement>
  770. <build>
  771. <pluginManagement>
  772. <plugins>
  773. <plugin>
  774. <groupId>org.apache.maven.plugins</groupId>
  775. <artifactId>maven-compiler-plugin</artifactId>
  776. <configuration>
  777. <showWarnings>true</showWarnings>
  778. <compilerArgs>
  779. <compilerArg>-Werror</compilerArg>
  780. <compilerArg>-Xlint:deprecation</compilerArg>
  781. <compilerArg>-Xlint:unchecked</compilerArg>
  782. <compilerArg>-Xlint:-options</compilerArg>
  783. <compilerArg>-Xdoclint:-missing</compilerArg>
  784. <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
  785. <compilerArg>-Xpkginfo:always</compilerArg>
  786. </compilerArgs>
  787. </configuration>
  788. </plugin>
  789. <plugin>
  790. <groupId>org.apache.maven.plugins</groupId>
  791. <artifactId>maven-jar-plugin</artifactId>
  792. <configuration>
  793. <archive>
  794. <manifestEntries>
  795. <Implementation-Build>${mvngit.commit.id}</Implementation-Build>
  796. </manifestEntries>
  797. </archive>
  798. </configuration>
  799. </plugin>
  800. <plugin>
  801. <groupId>org.apache.maven.plugins</groupId>
  802. <artifactId>maven-source-plugin</artifactId>
  803. </plugin>
  804. <plugin>
  805. <groupId>org.apache.maven.plugins</groupId>
  806. <artifactId>maven-javadoc-plugin</artifactId>
  807. <version>3.1.1</version>
  808. <configuration>
  809. <quiet>true</quiet>
  810. <doclint>none</doclint>
  811. </configuration>
  812. </plugin>
  813. <plugin>
  814. <groupId>org.apache.maven.plugins</groupId>
  815. <artifactId>maven-assembly-plugin</artifactId>
  816. <version>3.6.0</version>
  817. </plugin>
  818. <plugin>
  819. <groupId>org.apache.maven.plugins</groupId>
  820. <artifactId>maven-release-plugin</artifactId>
  821. </plugin>
  822. <plugin>
  823. <groupId>org.apache.maven.plugins</groupId>
  824. <artifactId>maven-scm-plugin</artifactId>
  825. <version>1.11.2</version>
  826. </plugin>
  827. <plugin>
  828. <groupId>org.apache.maven.plugins</groupId>
  829. <artifactId>maven-surefire-plugin</artifactId>
  830. <configuration>
  831. <trimStackTrace>false</trimStackTrace>
  832. <redirectTestOutputToFile>${redirectTestOutputToFile}</redirectTestOutputToFile>
  833. </configuration>
  834. </plugin>
  835. <plugin>
  836. <groupId>org.apache.maven.plugins</groupId>
  837. <artifactId>maven-antrun-plugin</artifactId>
  838. </plugin>
  839. <plugin>
  840. <groupId>org.apache.maven.plugins</groupId>
  841. <artifactId>maven-dependency-plugin</artifactId>
  842. </plugin>
  843. <plugin>
  844. <groupId>org.codehaus.mojo</groupId>
  845. <artifactId>exec-maven-plugin</artifactId>
  846. <version>1.6.0</version>
  847. </plugin>
  848. <plugin>
  849. <groupId>com.github.koraktor</groupId>
  850. <artifactId>mavanagaiata</artifactId>
  851. <version>0.9.4</version>
  852. <configuration>
  853. <skipNoGit>true</skipNoGit>
  854. </configuration>
  855. </plugin>
  856. <plugin>
  857. <groupId>org.codehaus.mojo</groupId>
  858. <artifactId>build-helper-maven-plugin</artifactId>
  859. <version>3.0.0</version>
  860. </plugin>
  861. <plugin>
  862. <groupId>net.nicoulaj.maven.plugins</groupId>
  863. <artifactId>checksum-maven-plugin</artifactId>
  864. <version>1.8</version>
  865. </plugin>
  866. <plugin>
  867. <groupId>org.openclover</groupId>
  868. <artifactId>clover-maven-plugin</artifactId>
  869. <version>${clover-maven-plugin.version}</version>
  870. </plugin>
  871. <plugin>
  872. <groupId>com.github.spotbugs</groupId>
  873. <artifactId>spotbugs-maven-plugin</artifactId>
  874. <version>4.0.0</version>
  875. <configuration>
  876. <excludeFilterFile>excludeFindBugsFilter.xml</excludeFilterFile>
  877. </configuration>
  878. </plugin>
  879. <plugin>
  880. <groupId>org.owasp</groupId>
  881. <artifactId>dependency-check-maven</artifactId>
  882. <version>8.3.1</version>
  883. </plugin>
  884. <plugin>
  885. <groupId>org.apache.maven.plugins</groupId>
  886. <artifactId>maven-checkstyle-plugin</artifactId>
  887. <version>3.1.1</version>
  888. <dependencies>
  889. <dependency>
  890. <groupId>com.puppycrawl.tools</groupId>
  891. <artifactId>checkstyle</artifactId>
  892. <version>${checkstyle.version}</version>
  893. </dependency>
  894. </dependencies>
  895. <configuration>
  896. <configLocation>checkstyle-strict.xml</configLocation>
  897. <suppressionsLocation>checkstyleSuppressions.xml</suppressionsLocation>
  898. <encoding>UTF-8</encoding>
  899. <consoleOutput>true</consoleOutput>
  900. <failOnViolation>true</failOnViolation>
  901. <includeResources>false</includeResources>
  902. <includeTestResources>false</includeTestResources>
  903. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  904. </configuration>
  905. </plugin>
  906. <!-- we don't need this plugin-->
  907. <plugin>
  908. <artifactId>maven-remote-resources-plugin</artifactId>
  909. <executions>
  910. <execution>
  911. <id>process-resource-bundles</id>
  912. <phase>none</phase>
  913. </execution>
  914. </executions>
  915. </plugin>
  916. <plugin>
  917. <groupId>org.apache.felix</groupId>
  918. <artifactId>maven-bundle-plugin</artifactId>
  919. <version>5.1.9</version>
  920. </plugin>
  921. <plugin>
  922. <groupId>org.cyclonedx</groupId>
  923. <artifactId>cyclonedx-maven-plugin</artifactId>
  924. <version>2.7.9</version>
  925. </plugin>
  926. </plugins>
  927. </pluginManagement>
  928. <plugins>
  929. <plugin>
  930. <groupId>com.github.koraktor</groupId>
  931. <artifactId>mavanagaiata</artifactId>
  932. <executions>
  933. <execution>
  934. <id>find-current-git-revision</id>
  935. <goals>
  936. <goal>commit</goal>
  937. </goals>
  938. <phase>validate</phase>
  939. </execution>
  940. </executions>
  941. </plugin>
  942. <plugin>
  943. <groupId>org.apache.maven.plugins</groupId>
  944. <artifactId>maven-antrun-plugin</artifactId>
  945. <executions>
  946. <execution>
  947. <id>set-hostname-property</id>
  948. <phase>validate</phase>
  949. <goals>
  950. <goal>run</goal>
  951. </goals>
  952. <configuration>
  953. <exportAntProperties>true</exportAntProperties>
  954. <target>
  955. <property environment="env" />
  956. <exec executable="hostname" outputproperty="host.name" />
  957. </target>
  958. </configuration>
  959. </execution>
  960. </executions>
  961. </plugin>
  962. <plugin>
  963. <groupId>org.apache.maven.plugins</groupId>
  964. <artifactId>maven-jar-plugin</artifactId>
  965. <executions>
  966. <execution>
  967. <id>Jar Tests Package</id>
  968. <phase>package</phase>
  969. <goals>
  970. <goal>test-jar</goal>
  971. </goals>
  972. <configuration>
  973. <includes>
  974. <include>org/**</include>
  975. <include>META_INF/**</include>
  976. </includes>
  977. <skipIfEmpty>true</skipIfEmpty>
  978. </configuration>
  979. </execution>
  980. </executions>
  981. </plugin>
  982. <plugin>
  983. <groupId>org.apache.maven.plugins</groupId>
  984. <artifactId>maven-source-plugin</artifactId>
  985. <executions>
  986. <execution>
  987. <id>attach-sources</id>
  988. <goals>
  989. <goal>jar</goal>
  990. </goals>
  991. </execution>
  992. </executions>
  993. </plugin>
  994. <plugin>
  995. <groupId>org.apache.maven.plugins</groupId>
  996. <artifactId>maven-javadoc-plugin</artifactId>
  997. <executions>
  998. <execution>
  999. <id>attach-javadocs</id>
  1000. <goals>
  1001. <goal>jar</goal>
  1002. </goals>
  1003. </execution>
  1004. <execution>
  1005. <id>aggregate</id>
  1006. <phase>site</phase>
  1007. <goals>
  1008. <goal>aggregate</goal>
  1009. </goals>
  1010. </execution>
  1011. </executions>
  1012. <configuration>
  1013. <overview>zookeeper-server/src/main/resources/overview.html</overview>
  1014. <excludePackageNames>*.recipes.*</excludePackageNames>
  1015. </configuration>
  1016. </plugin>
  1017. <plugin>
  1018. <!-- Maven's deploy plugin only creates checksums during the deployment of the jar artifacts to repo. -->
  1019. <!-- We also want to sign tarballs. Nicoulaj's plugin is the recommended solution by the community. -->
  1020. <groupId>net.nicoulaj.maven.plugins</groupId>
  1021. <artifactId>checksum-maven-plugin</artifactId>
  1022. <executions>
  1023. <execution>
  1024. <goals>
  1025. <goal>artifacts</goal>
  1026. </goals>
  1027. </execution>
  1028. </executions>
  1029. <configuration>
  1030. <algorithms>
  1031. <algorithm>SHA-512</algorithm>
  1032. </algorithms>
  1033. <appendFilename>true</appendFilename>
  1034. </configuration>
  1035. </plugin>
  1036. <plugin>
  1037. <groupId>com.github.spotbugs</groupId>
  1038. <artifactId>spotbugs-maven-plugin</artifactId>
  1039. </plugin>
  1040. <plugin>
  1041. <groupId>org.owasp</groupId>
  1042. <artifactId>dependency-check-maven</artifactId>
  1043. <configuration>
  1044. <format>ALL</format>
  1045. <failBuildOnCVSS>0</failBuildOnCVSS>
  1046. <suppressionFiles>
  1047. <suppressionsFile>owaspSuppressions.xml</suppressionsFile>
  1048. </suppressionFiles>
  1049. </configuration>
  1050. </plugin>
  1051. <plugin>
  1052. <groupId>org.apache.rat</groupId>
  1053. <artifactId>apache-rat-plugin</artifactId>
  1054. <version>0.15</version>
  1055. <configuration>
  1056. <excludes>
  1057. <exclude>**/README.md</exclude>
  1058. <exclude>**/findbugsExcludeFile.xml</exclude>
  1059. <exclude>**/checkstyle-noframes-sorted.xsl</exclude>
  1060. <exclude>**/configure.ac</exclude>
  1061. <exclude>**/Makefile.am</exclude>
  1062. <exclude>conf/zoo_sample.cfg</exclude>
  1063. <exclude>conf/configuration.xsl</exclude>
  1064. <exclude>.travis.yml</exclude>
  1065. <exclude>excludeFindBugsFilter.xml</exclude>
  1066. <exclude>README_packaging.md</exclude>
  1067. <exclude>src/main/resources/markdown/skin/*</exclude>
  1068. <exclude>src/main/resources/markdown/html/*</exclude>
  1069. <exclude>src/main/resources/markdown/images/*</exclude>
  1070. <exclude>**/src/test/resources/embedded/*.conf</exclude>
  1071. <!-- contrib -->
  1072. <exclude>**/JMX-RESOURCES</exclude>
  1073. <exclude>**/src/main/resources/mainClasses</exclude>
  1074. <exclude>**/Changes</exclude>
  1075. <exclude>**/MANIFEST</exclude>
  1076. <exclude>**/src/test/zoo.cfg</exclude>
  1077. <exclude>**/src/main/resources/webapp/org/apache/zookeeper/graph/resources/*</exclude>
  1078. <exclude>**/src/main/java/com/nitido/utils/toaster/Toaster.java</exclude>
  1079. <exclude>**/TODO</exclude>
  1080. <!-- c client -->
  1081. <exclude>**/acinclude.m4</exclude>
  1082. <exclude>**/aminclude.am</exclude>
  1083. <exclude>**/src/hashtable/*</exclude>
  1084. <exclude>**/include/winconfig.h</exclude>
  1085. <exclude>**/tests/wrappers.opt</exclude>
  1086. <exclude>**/tests/zoo.cfg</exclude>
  1087. <exclude>**/tests/wrappers-mt.opt</exclude>
  1088. <exclude>**/c-doc.Doxyfile</exclude>
  1089. </excludes>
  1090. <consoleOutput>true</consoleOutput>
  1091. </configuration>
  1092. </plugin>
  1093. <plugin>
  1094. <groupId>org.apache.maven.plugins</groupId>
  1095. <artifactId>maven-release-plugin</artifactId>
  1096. <inherited>false</inherited>
  1097. <configuration>
  1098. <!-- update the version inside the C sources -->
  1099. <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>
  1100. <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>
  1101. <pushChanges>false</pushChanges>
  1102. <localCheckout>true</localCheckout>
  1103. <autoVersionSubmodules>true</autoVersionSubmodules>
  1104. <tagNameFormat>release-@{project.version}</tagNameFormat>
  1105. </configuration>
  1106. </plugin>
  1107. <plugin>
  1108. <groupId>org.apache.maven.plugins</groupId>
  1109. <artifactId>maven-scm-plugin</artifactId>
  1110. <inherited>false</inherited>
  1111. <executions>
  1112. <execution>
  1113. <id>add-cclient-files-during-release</id>
  1114. <phase>none</phase>
  1115. <goals>
  1116. <goal>add</goal>
  1117. </goals>
  1118. <configuration>
  1119. <pushChanges>false</pushChanges>
  1120. <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>
  1121. </configuration>
  1122. </execution>
  1123. <execution>
  1124. <id>commit-cclient-files-during-release</id>
  1125. <phase>none</phase>
  1126. <goals>
  1127. <!-- git commit -->
  1128. <goal>checkin</goal>
  1129. </goals>
  1130. <configuration>
  1131. <pushChanges>false</pushChanges>
  1132. <message>Prepared ${project.version}</message>
  1133. </configuration>
  1134. </execution>
  1135. </executions>
  1136. </plugin>
  1137. <plugin>
  1138. <groupId>org.apache.maven.plugins</groupId>
  1139. <artifactId>maven-enforcer-plugin</artifactId>
  1140. <version>${enforcer.version}</version>
  1141. <executions>
  1142. <execution>
  1143. <id>banned-commons-lang</id>
  1144. <goals>
  1145. <goal>enforce</goal>
  1146. </goals>
  1147. <configuration>
  1148. <rules>
  1149. <bannedDependencies>
  1150. <excludes>
  1151. <exclude>commons-lang:commons-lang</exclude>
  1152. </excludes>
  1153. <searchTransitive>false</searchTransitive>
  1154. <message>We don't use commons-lang anymore, so do not depend on it directly.</message>
  1155. </bannedDependencies>
  1156. </rules>
  1157. </configuration>
  1158. </execution>
  1159. <execution>
  1160. <id>banned-commons-lang3</id>
  1161. <goals>
  1162. <goal>enforce</goal>
  1163. </goals>
  1164. <configuration>
  1165. <rules>
  1166. <bannedDependencies>
  1167. <excludes>
  1168. <exclude>org.apache.commons:commons-lang3</exclude>
  1169. </excludes>
  1170. <searchTransitive>false</searchTransitive>
  1171. <message>We don't use commons-lang3, so do not depend on it directly.</message>
  1172. </bannedDependencies>
  1173. </rules>
  1174. </configuration>
  1175. </execution>
  1176. <execution>
  1177. <id>banned-json-simple</id>
  1178. <goals>
  1179. <goal>enforce</goal>
  1180. </goals>
  1181. <configuration>
  1182. <rules>
  1183. <bannedDependencies>
  1184. <excludes>
  1185. <exclude>com.googlecode.json-simple:json-simple</exclude>
  1186. </excludes>
  1187. <searchTransitive>false</searchTransitive>
  1188. <message>We don't use json-simple anymore, so do not depend on it directly.</message>
  1189. </bannedDependencies>
  1190. </rules>
  1191. </configuration>
  1192. </execution>
  1193. </executions>
  1194. </plugin>
  1195. <plugin>
  1196. <groupId>org.cyclonedx</groupId>
  1197. <artifactId>cyclonedx-maven-plugin</artifactId>
  1198. <executions>
  1199. <execution>
  1200. <goals>
  1201. <goal>makeBom</goal>
  1202. </goals>
  1203. <phase>package</phase>
  1204. </execution>
  1205. </executions>
  1206. </plugin>
  1207. </plugins>
  1208. <resources>
  1209. <resource>
  1210. <directory>${project.basedir}src/main/java/resources</directory>
  1211. <excludes>
  1212. <exclude>**/*.*</exclude>
  1213. </excludes>
  1214. </resource>
  1215. </resources>
  1216. </build>
  1217. <reporting>
  1218. <plugins>
  1219. <plugin>
  1220. <groupId>org.openclover</groupId>
  1221. <artifactId>clover-maven-plugin</artifactId>
  1222. </plugin>
  1223. </plugins>
  1224. </reporting>
  1225. </project>