metrics-parent-4.2.23.pom 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>io.dropwizard.metrics</groupId>
  5. <artifactId>metrics-parent</artifactId>
  6. <version>4.2.23</version>
  7. <packaging>pom</packaging>
  8. <name>Metrics Parent</name>
  9. <description>
  10. The Metrics library.
  11. </description>
  12. <url>https://metrics.dropwizard.io</url>
  13. <modules>
  14. <module>docs</module>
  15. <module>metrics-bom</module>
  16. <module>metrics-annotation</module>
  17. <module>metrics-benchmarks</module>
  18. <module>metrics-caffeine</module>
  19. <module>metrics-caffeine3</module>
  20. <module>metrics-core</module>
  21. <module>metrics-collectd</module>
  22. <module>metrics-ehcache</module>
  23. <module>metrics-graphite</module>
  24. <module>metrics-healthchecks</module>
  25. <module>metrics-httpclient</module>
  26. <module>metrics-httpclient5</module>
  27. <module>metrics-httpasyncclient</module>
  28. <module>metrics-jakarta-servlet</module>
  29. <module>metrics-jakarta-servlet6</module>
  30. <module>metrics-jakarta-servlets</module>
  31. <module>metrics-jcache</module>
  32. <module>metrics-jcstress</module>
  33. <module>metrics-jdbi</module>
  34. <module>metrics-jdbi3</module>
  35. <module>metrics-jersey2</module>
  36. <module>metrics-jersey3</module>
  37. <module>metrics-jersey31</module>
  38. <module>metrics-jetty9</module>
  39. <module>metrics-jetty10</module>
  40. <module>metrics-jetty11</module>
  41. <module>metrics-jmx</module>
  42. <module>metrics-json</module>
  43. <module>metrics-jvm</module>
  44. <module>metrics-log4j2</module>
  45. <module>metrics-logback</module>
  46. <module>metrics-logback13</module>
  47. <module>metrics-logback14</module>
  48. <module>metrics-servlet</module>
  49. <module>metrics-servlets</module>
  50. </modules>
  51. <properties>
  52. <project.build.outputTimestamp>2023-12-05T23:04:33Z</project.build.outputTimestamp>
  53. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  54. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  55. <jetty9.version>9.4.53.v20231009</jetty9.version>
  56. <jetty10.version>10.0.18</jetty10.version>
  57. <jetty11.version>11.0.18</jetty11.version>
  58. <jetty12.version>12.0.4</jetty12.version>
  59. <slf4j.version>1.7.36</slf4j.version>
  60. <assertj.version>3.24.2</assertj.version>
  61. <byte-buddy.version>1.14.10</byte-buddy.version>
  62. <mockito.version>5.8.0</mockito.version>
  63. <junit.version>4.13.1</junit.version>
  64. <hamcrest.version>1.3</hamcrest.version>
  65. <commons-lang3.version>3.14.0</commons-lang3.version>
  66. <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  67. <errorprone.version>2.23.0</errorprone.version>
  68. <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
  69. <servlet6.version>6.0.0</servlet6.version>
  70. <sonar.projectKey>dropwizard_metrics</sonar.projectKey>
  71. <sonar.organization>dropwizard</sonar.organization>
  72. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  73. <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
  74. </properties>
  75. <developers>
  76. <developer>
  77. <name>Coda Hale</name>
  78. <email>coda.hale@gmail.com</email>
  79. <timezone>America/Los_Angeles</timezone>
  80. <roles>
  81. <role>architect</role>
  82. </roles>
  83. </developer>
  84. <developer>
  85. <name>Ryan Tenney</name>
  86. <email>ryan@10e.us</email>
  87. <timezone>America/New_York</timezone>
  88. <roles>
  89. <role>committer</role>
  90. </roles>
  91. </developer>
  92. <developer>
  93. <name>Artem Prigoda</name>
  94. <email>prigoda.artem@ya.ru</email>
  95. <timezone>Europe/Berlin</timezone>
  96. <roles>
  97. <role>committer</role>
  98. </roles>
  99. </developer>
  100. </developers>
  101. <licenses>
  102. <license>
  103. <name>Apache License 2.0</name>
  104. <url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
  105. <distribution>repo</distribution>
  106. </license>
  107. </licenses>
  108. <scm>
  109. <connection>scm:git:git://github.com/dropwizard/metrics.git</connection>
  110. <developerConnection>scm:git:git@github.com:dropwizard/metrics.git</developerConnection>
  111. <url>https://github.com/dropwizard/metrics/</url>
  112. <tag>v4.2.23</tag>
  113. </scm>
  114. <issueManagement>
  115. <system>github</system>
  116. <url>https://github.com/dropwizard/metrics/issues/</url>
  117. </issueManagement>
  118. <distributionManagement>
  119. <snapshotRepository>
  120. <id>ossrh</id>
  121. <name>Sonatype Nexus Snapshots</name>
  122. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  123. </snapshotRepository>
  124. <repository>
  125. <id>ossrh</id>
  126. <name>Nexus Release Repository</name>
  127. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  128. </repository>
  129. </distributionManagement>
  130. <profiles>
  131. <profile>
  132. <id>jdk8</id>
  133. <activation>
  134. <jdk>1.8</jdk>
  135. </activation>
  136. <build>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-compiler-plugin</artifactId>
  141. <configuration>
  142. <compilerArgs combine.children="append">
  143. <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${errorprone.javac.version}/javac-${errorprone.javac.version}.jar</arg>
  144. </compilerArgs>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </profile>
  150. <profile>
  151. <id>jdk17</id>
  152. <activation>
  153. <jdk>[17,)</jdk>
  154. </activation>
  155. <modules>
  156. <module>metrics-jetty12</module>
  157. <module>metrics-jetty12-ee10</module>
  158. </modules>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-compiler-plugin</artifactId>
  164. <configuration>
  165. <compilerArgs>
  166. <arg>-Xlint:all</arg>
  167. <arg>-XDcompilePolicy=simple</arg>
  168. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  169. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
  170. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
  171. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
  172. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
  173. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
  174. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
  175. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
  176. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
  177. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
  178. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
  179. </compilerArgs>
  180. <annotationProcessorPaths>
  181. <path>
  182. <groupId>com.google.errorprone</groupId>
  183. <artifactId>error_prone_core</artifactId>
  184. <version>${errorprone.version}</version>
  185. </path>
  186. </annotationProcessorPaths>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </profile>
  192. <profile>
  193. <id>release-sign-artifacts</id>
  194. <activation>
  195. <property>
  196. <name>performRelease</name>
  197. <value>true</value>
  198. </property>
  199. </activation>
  200. <properties>
  201. <gpg.keyname>EDA86E9FB607B5FC9223FB767D4868B53E31E7AD</gpg.keyname>
  202. </properties>
  203. <build>
  204. <plugins>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-source-plugin</artifactId>
  208. <version>3.3.0</version>
  209. <executions>
  210. <execution>
  211. <id>attach-sources</id>
  212. <goals>
  213. <goal>jar-no-fork</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-javadoc-plugin</artifactId>
  221. <executions>
  222. <execution>
  223. <id>attach-javadocs</id>
  224. <goals>
  225. <goal>jar</goal>
  226. </goals>
  227. </execution>
  228. </executions>
  229. </plugin>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-gpg-plugin</artifactId>
  233. <version>3.1.0</version>
  234. <configuration>
  235. <gpgArguments>
  236. <arg>--pinentry-mode</arg>
  237. <arg>loopback</arg>
  238. </gpgArguments>
  239. </configuration>
  240. <executions>
  241. <execution>
  242. <id>sign-artifacts</id>
  243. <phase>verify</phase>
  244. <goals>
  245. <goal>sign</goal>
  246. </goals>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.sonatype.plugins</groupId>
  252. <artifactId>nexus-staging-maven-plugin</artifactId>
  253. <version>1.6.13</version>
  254. <configuration>
  255. <serverId>ossrh</serverId>
  256. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  257. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  258. </configuration>
  259. <executions>
  260. <execution>
  261. <id>nexus-deploy</id>
  262. <phase>deploy</phase>
  263. <goals>
  264. <goal>deploy</goal>
  265. </goals>
  266. </execution>
  267. </executions>
  268. </plugin>
  269. <plugin>
  270. <groupId>org.cyclonedx</groupId>
  271. <artifactId>cyclonedx-maven-plugin</artifactId>
  272. <version>2.7.10</version>
  273. <executions>
  274. <execution>
  275. <phase>package</phase>
  276. <goals>
  277. <goal>makeAggregateBom</goal>
  278. </goals>
  279. </execution>
  280. </executions>
  281. </plugin>
  282. </plugins>
  283. </build>
  284. </profile>
  285. </profiles>
  286. <build>
  287. <pluginManagement>
  288. <plugins>
  289. <plugin>
  290. <groupId>org.apache.maven.plugins</groupId>
  291. <artifactId>maven-compiler-plugin</artifactId>
  292. <version>${maven-compiler-plugin.version}</version>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-deploy-plugin</artifactId>
  297. <version>3.1.1</version>
  298. </plugin>
  299. <plugin>
  300. <groupId>org.apache.maven.plugins</groupId>
  301. <artifactId>maven-javadoc-plugin</artifactId>
  302. <version>3.6.3</version>
  303. <configuration>
  304. <source>8</source>
  305. <doclint>none</doclint>
  306. <quiet>true</quiet>
  307. <notimestamp>true</notimestamp>
  308. <legacyMode>true</legacyMode>
  309. </configuration>
  310. </plugin>
  311. </plugins>
  312. </pluginManagement>
  313. <plugins>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-compiler-plugin</artifactId>
  317. <configuration>
  318. <release>8</release>
  319. <fork>true</fork>
  320. <parameters>true</parameters>
  321. <showWarnings>true</showWarnings>
  322. <compilerArgs>
  323. <arg>-Xlint:all</arg>
  324. <arg>-XDcompilePolicy=simple</arg>
  325. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  326. </compilerArgs>
  327. <annotationProcessorPaths>
  328. <path>
  329. <groupId>com.google.errorprone</groupId>
  330. <artifactId>error_prone_core</artifactId>
  331. <version>${errorprone.version}</version>
  332. </path>
  333. </annotationProcessorPaths>
  334. </configuration>
  335. </plugin>
  336. <plugin>
  337. <groupId>org.apache.felix</groupId>
  338. <artifactId>maven-bundle-plugin</artifactId>
  339. <version>5.1.9</version>
  340. <extensions>true</extensions>
  341. <configuration>
  342. <instructions>
  343. <Import-Package><![CDATA[
  344. javax.servlet*;version="[2.5.0,4.0.0)",
  345. org.slf4j*;version="[1.6.0,2.0.0)",
  346. sun.misc.*;resolution:=optional,
  347. com.sun.management.*;resolution:=optional,
  348. *
  349. ]]>
  350. </Import-Package>
  351. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  352. </instructions>
  353. </configuration>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-surefire-plugin</artifactId>
  358. <version>3.2.2</version>
  359. <configuration>
  360. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.apache.maven.plugins</groupId>
  365. <artifactId>maven-enforcer-plugin</artifactId>
  366. <version>3.4.1</version>
  367. <executions>
  368. <execution>
  369. <id>enforce</id>
  370. <configuration>
  371. <rules>
  372. <DependencyConvergence />
  373. </rules>
  374. </configuration>
  375. <goals>
  376. <goal>enforce</goal>
  377. </goals>
  378. </execution>
  379. </executions>
  380. </plugin>
  381. <plugin>
  382. <groupId>org.apache.maven.plugins</groupId>
  383. <artifactId>maven-dependency-plugin</artifactId>
  384. <version>3.6.1</version>
  385. <executions>
  386. <execution>
  387. <id>analyze</id>
  388. <goals>
  389. <goal>analyze-only</goal>
  390. <goal>analyze-dep-mgt</goal>
  391. <goal>analyze-duplicate</goal>
  392. </goals>
  393. <phase>verify</phase>
  394. <configuration>
  395. <failOnWarning>true</failOnWarning>
  396. <ignoreNonCompile>true</ignoreNonCompile>
  397. </configuration>
  398. </execution>
  399. </executions>
  400. </plugin>
  401. <plugin>
  402. <groupId>org.apache.maven.plugins</groupId>
  403. <artifactId>maven-release-plugin</artifactId>
  404. <version>3.0.1</version>
  405. <configuration>
  406. <autoVersionSubmodules>true</autoVersionSubmodules>
  407. <mavenExecutorId>forked-path</mavenExecutorId>
  408. <tagNameFormat>v@{project.version}</tagNameFormat>
  409. <preparationGoals>clean test</preparationGoals>
  410. </configuration>
  411. </plugin>
  412. <plugin>
  413. <groupId>org.apache.maven.plugins</groupId>
  414. <artifactId>maven-jar-plugin</artifactId>
  415. <version>3.3.0</version>
  416. <configuration>
  417. <archive>
  418. <manifest>
  419. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  420. </manifest>
  421. <manifestEntries>
  422. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  423. </manifestEntries>
  424. </archive>
  425. </configuration>
  426. </plugin>
  427. <plugin>
  428. <groupId>org.apache.maven.plugins</groupId>
  429. <artifactId>maven-checkstyle-plugin</artifactId>
  430. <version>3.3.1</version>
  431. <configuration>
  432. <configLocation>checkstyle.xml</configLocation>
  433. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  434. </configuration>
  435. </plugin>
  436. <plugin>
  437. <groupId>org.apache.maven.plugins</groupId>
  438. <artifactId>maven-site-plugin</artifactId>
  439. <version>3.12.1</version>
  440. </plugin>
  441. <plugin>
  442. <groupId>org.apache.maven.plugins</groupId>
  443. <artifactId>maven-project-info-reports-plugin</artifactId>
  444. <version>3.5.0</version>
  445. </plugin>
  446. <plugin>
  447. <groupId>org.jacoco</groupId>
  448. <artifactId>jacoco-maven-plugin</artifactId>
  449. <version>0.8.11</version>
  450. <executions>
  451. <execution>
  452. <id>prepare-agent</id>
  453. <goals>
  454. <goal>prepare-agent</goal>
  455. </goals>
  456. </execution>
  457. <execution>
  458. <id>report</id>
  459. <goals>
  460. <goal>report</goal>
  461. </goals>
  462. </execution>
  463. </executions>
  464. </plugin>
  465. </plugins>
  466. </build>
  467. </project>