metrics-parent-4.2.25.pom 20 KB

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