metrics-parent-4.2.19.pom 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  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.19</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-servlets</module>
  30. <module>metrics-jcache</module>
  31. <module>metrics-jcstress</module>
  32. <module>metrics-jdbi</module>
  33. <module>metrics-jdbi3</module>
  34. <module>metrics-jersey2</module>
  35. <module>metrics-jersey3</module>
  36. <module>metrics-jersey31</module>
  37. <module>metrics-jetty9</module>
  38. <module>metrics-jetty10</module>
  39. <module>metrics-jetty11</module>
  40. <module>metrics-jmx</module>
  41. <module>metrics-json</module>
  42. <module>metrics-jvm</module>
  43. <module>metrics-log4j2</module>
  44. <module>metrics-logback</module>
  45. <module>metrics-logback13</module>
  46. <module>metrics-logback14</module>
  47. <module>metrics-servlet</module>
  48. <module>metrics-servlets</module>
  49. </modules>
  50. <properties>
  51. <project.build.outputTimestamp>2023-06-01T21:00:23Z</project.build.outputTimestamp>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  54. <jackson.version>2.12.3</jackson.version>
  55. <jetty9.version>9.4.51.v20230217</jetty9.version>
  56. <jetty10.version>10.0.15</jetty10.version>
  57. <jetty11.version>11.0.15</jetty11.version>
  58. <slf4j.version>1.7.36</slf4j.version>
  59. <assertj.version>3.24.2</assertj.version>
  60. <byte-buddy.version>1.14.4</byte-buddy.version>
  61. <mockito.version>5.3.1</mockito.version>
  62. <junit.version>4.13.1</junit.version>
  63. <hamcrest.version>1.3</hamcrest.version>
  64. <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  65. <errorprone.version>2.19.1</errorprone.version>
  66. <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
  67. <sonar.projectKey>dropwizard_metrics</sonar.projectKey>
  68. <sonar.organization>dropwizard</sonar.organization>
  69. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  70. <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
  71. </properties>
  72. <developers>
  73. <developer>
  74. <name>Coda Hale</name>
  75. <email>coda.hale@gmail.com</email>
  76. <timezone>America/Los_Angeles</timezone>
  77. <roles>
  78. <role>architect</role>
  79. </roles>
  80. </developer>
  81. <developer>
  82. <name>Ryan Tenney</name>
  83. <email>ryan@10e.us</email>
  84. <timezone>America/New_York</timezone>
  85. <roles>
  86. <role>committer</role>
  87. </roles>
  88. </developer>
  89. <developer>
  90. <name>Artem Prigoda</name>
  91. <email>prigoda.artem@ya.ru</email>
  92. <timezone>Europe/Berlin</timezone>
  93. <roles>
  94. <role>committer</role>
  95. </roles>
  96. </developer>
  97. </developers>
  98. <licenses>
  99. <license>
  100. <name>Apache License 2.0</name>
  101. <url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
  102. <distribution>repo</distribution>
  103. </license>
  104. </licenses>
  105. <scm>
  106. <connection>scm:git:git://github.com/dropwizard/metrics.git</connection>
  107. <developerConnection>scm:git:git@github.com:dropwizard/metrics.git</developerConnection>
  108. <url>https://github.com/dropwizard/metrics/</url>
  109. <tag>v4.2.19</tag>
  110. </scm>
  111. <issueManagement>
  112. <system>github</system>
  113. <url>https://github.com/dropwizard/metrics/issues/</url>
  114. </issueManagement>
  115. <distributionManagement>
  116. <snapshotRepository>
  117. <id>ossrh</id>
  118. <name>Sonatype Nexus Snapshots</name>
  119. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  120. </snapshotRepository>
  121. <repository>
  122. <id>ossrh</id>
  123. <name>Nexus Release Repository</name>
  124. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  125. </repository>
  126. </distributionManagement>
  127. <profiles>
  128. <profile>
  129. <id>jdk8</id>
  130. <activation>
  131. <jdk>1.8</jdk>
  132. </activation>
  133. <build>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-compiler-plugin</artifactId>
  138. <configuration>
  139. <compilerArgs combine.children="append">
  140. <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${errorprone.javac.version}/javac-${errorprone.javac.version}.jar</arg>
  141. </compilerArgs>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </profile>
  147. <profile>
  148. <id>jdk17</id>
  149. <activation>
  150. <jdk>[17,)</jdk>
  151. </activation>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-compiler-plugin</artifactId>
  157. <configuration>
  158. <compilerArgs>
  159. <arg>-Xlint:all</arg>
  160. <arg>-XDcompilePolicy=simple</arg>
  161. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  162. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
  163. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
  164. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
  165. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
  166. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
  167. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
  168. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
  169. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
  170. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
  171. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
  172. </compilerArgs>
  173. <annotationProcessorPaths>
  174. <path>
  175. <groupId>com.google.errorprone</groupId>
  176. <artifactId>error_prone_core</artifactId>
  177. <version>${errorprone.version}</version>
  178. </path>
  179. </annotationProcessorPaths>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </profile>
  185. <profile>
  186. <id>release-sign-artifacts</id>
  187. <activation>
  188. <property>
  189. <name>performRelease</name>
  190. <value>true</value>
  191. </property>
  192. </activation>
  193. <properties>
  194. <gpg.keyname>EDA86E9FB607B5FC9223FB767D4868B53E31E7AD</gpg.keyname>
  195. </properties>
  196. <build>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-source-plugin</artifactId>
  201. <version>3.3.0</version>
  202. <executions>
  203. <execution>
  204. <id>attach-sources</id>
  205. <goals>
  206. <goal>jar-no-fork</goal>
  207. </goals>
  208. </execution>
  209. </executions>
  210. </plugin>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-javadoc-plugin</artifactId>
  214. <version>3.5.0</version>
  215. <configuration>
  216. <source>8</source>
  217. <doclint>none</doclint>
  218. <quiet>true</quiet>
  219. <notimestamp>true</notimestamp>
  220. </configuration>
  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.9</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. </plugins>
  300. </pluginManagement>
  301. <plugins>
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-compiler-plugin</artifactId>
  305. <configuration>
  306. <source>1.8</source>
  307. <target>1.8</target>
  308. <fork>true</fork>
  309. <parameters>true</parameters>
  310. <showWarnings>true</showWarnings>
  311. <compilerArgs>
  312. <arg>-Xlint:all</arg>
  313. <arg>-XDcompilePolicy=simple</arg>
  314. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  315. </compilerArgs>
  316. <annotationProcessorPaths>
  317. <path>
  318. <groupId>com.google.errorprone</groupId>
  319. <artifactId>error_prone_core</artifactId>
  320. <version>${errorprone.version}</version>
  321. </path>
  322. </annotationProcessorPaths>
  323. </configuration>
  324. </plugin>
  325. <plugin>
  326. <groupId>org.apache.felix</groupId>
  327. <artifactId>maven-bundle-plugin</artifactId>
  328. <version>5.1.9</version>
  329. <extensions>true</extensions>
  330. <configuration>
  331. <instructions>
  332. <Import-Package><![CDATA[
  333. javax.servlet*;version="[2.5.0,4.0.0)",
  334. org.slf4j*;version="[1.6.0,2.0.0)",
  335. sun.misc.*;resolution:=optional,
  336. com.sun.management.*;resolution:=optional,
  337. *
  338. ]]>
  339. </Import-Package>
  340. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  341. </instructions>
  342. </configuration>
  343. </plugin>
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-surefire-plugin</artifactId>
  347. <version>3.1.0</version>
  348. <configuration>
  349. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  350. </configuration>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.apache.maven.plugins</groupId>
  354. <artifactId>maven-enforcer-plugin</artifactId>
  355. <version>3.3.0</version>
  356. <executions>
  357. <execution>
  358. <id>enforce</id>
  359. <configuration>
  360. <rules>
  361. <DependencyConvergence />
  362. </rules>
  363. </configuration>
  364. <goals>
  365. <goal>enforce</goal>
  366. </goals>
  367. </execution>
  368. </executions>
  369. </plugin>
  370. <plugin>
  371. <groupId>org.apache.maven.plugins</groupId>
  372. <artifactId>maven-dependency-plugin</artifactId>
  373. <version>3.6.0</version>
  374. <executions>
  375. <execution>
  376. <id>analyze</id>
  377. <goals>
  378. <goal>analyze-only</goal>
  379. <goal>analyze-dep-mgt</goal>
  380. <goal>analyze-duplicate</goal>
  381. </goals>
  382. <phase>verify</phase>
  383. <configuration>
  384. <failOnWarning>true</failOnWarning>
  385. <ignoreNonCompile>true</ignoreNonCompile>
  386. </configuration>
  387. </execution>
  388. </executions>
  389. </plugin>
  390. <plugin>
  391. <groupId>org.apache.maven.plugins</groupId>
  392. <artifactId>maven-release-plugin</artifactId>
  393. <version>3.0.0</version>
  394. <configuration>
  395. <autoVersionSubmodules>true</autoVersionSubmodules>
  396. <mavenExecutorId>forked-path</mavenExecutorId>
  397. <tagNameFormat>v@{project.version}</tagNameFormat>
  398. <preparationGoals>clean test</preparationGoals>
  399. </configuration>
  400. </plugin>
  401. <plugin>
  402. <groupId>org.apache.maven.plugins</groupId>
  403. <artifactId>maven-jar-plugin</artifactId>
  404. <version>3.3.0</version>
  405. <configuration>
  406. <archive>
  407. <manifest>
  408. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  409. </manifest>
  410. <manifestEntries>
  411. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  412. </manifestEntries>
  413. </archive>
  414. </configuration>
  415. </plugin>
  416. <plugin>
  417. <groupId>org.apache.maven.plugins</groupId>
  418. <artifactId>maven-checkstyle-plugin</artifactId>
  419. <version>3.3.0</version>
  420. <configuration>
  421. <configLocation>checkstyle.xml</configLocation>
  422. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  423. </configuration>
  424. </plugin>
  425. <plugin>
  426. <groupId>org.apache.maven.plugins</groupId>
  427. <artifactId>maven-site-plugin</artifactId>
  428. <version>3.12.1</version>
  429. </plugin>
  430. <plugin>
  431. <groupId>org.apache.maven.plugins</groupId>
  432. <artifactId>maven-project-info-reports-plugin</artifactId>
  433. <version>3.4.4</version>
  434. </plugin>
  435. <plugin>
  436. <groupId>org.jacoco</groupId>
  437. <artifactId>jacoco-maven-plugin</artifactId>
  438. <version>0.8.10</version>
  439. <executions>
  440. <execution>
  441. <id>prepare-agent</id>
  442. <goals>
  443. <goal>prepare-agent</goal>
  444. </goals>
  445. </execution>
  446. <execution>
  447. <id>report</id>
  448. <goals>
  449. <goal>report</goal>
  450. </goals>
  451. </execution>
  452. </executions>
  453. </plugin>
  454. </plugins>
  455. </build>
  456. </project>