metrics-parent-4.2.4.pom 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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.4</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-jetty9</module>
  37. <module>metrics-jetty10</module>
  38. <module>metrics-jetty11</module>
  39. <module>metrics-jmx</module>
  40. <module>metrics-json</module>
  41. <module>metrics-jvm</module>
  42. <module>metrics-log4j2</module>
  43. <module>metrics-logback</module>
  44. <module>metrics-servlet</module>
  45. <module>metrics-servlets</module>
  46. </modules>
  47. <properties>
  48. <project.build.outputTimestamp>2011-02-24T06:12:03Z</project.build.outputTimestamp>
  49. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  50. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  51. <jackson.version>2.12.3</jackson.version>
  52. <jetty9.version>9.4.44.v20210927</jetty9.version>
  53. <jetty10.version>10.0.6</jetty10.version>
  54. <jetty11.version>11.0.6</jetty11.version>
  55. <slf4j.version>1.7.32</slf4j.version>
  56. <assertj.version>3.21.0</assertj.version>
  57. <mockito.version>3.12.4</mockito.version>
  58. <junit.version>4.13.1</junit.version>
  59. <hamcrest.version>1.3</hamcrest.version>
  60. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  61. <errorprone.version>2.9.0</errorprone.version>
  62. <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
  63. <sonar.projectKey>dropwizard_metrics</sonar.projectKey>
  64. <sonar.organization>dropwizard</sonar.organization>
  65. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  66. <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
  67. </properties>
  68. <developers>
  69. <developer>
  70. <name>Coda Hale</name>
  71. <email>coda.hale@gmail.com</email>
  72. <timezone>America/Los_Angeles</timezone>
  73. <roles>
  74. <role>architect</role>
  75. </roles>
  76. </developer>
  77. <developer>
  78. <name>Ryan Tenney</name>
  79. <email>ryan@10e.us</email>
  80. <timezone>America/New_York</timezone>
  81. <roles>
  82. <role>committer</role>
  83. </roles>
  84. </developer>
  85. <developer>
  86. <name>Artem Prigoda</name>
  87. <email>prigoda.artem@ya.ru</email>
  88. <timezone>Europe/Berlin</timezone>
  89. <roles>
  90. <role>committer</role>
  91. </roles>
  92. </developer>
  93. </developers>
  94. <licenses>
  95. <license>
  96. <name>Apache License 2.0</name>
  97. <url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
  98. <distribution>repo</distribution>
  99. </license>
  100. </licenses>
  101. <scm>
  102. <connection>scm:git:git://github.com/dropwizard/metrics.git</connection>
  103. <developerConnection>scm:git:git@github.com:dropwizard/metrics.git</developerConnection>
  104. <url>https://github.com/dropwizard/metrics/</url>
  105. <tag>v4.2.4</tag>
  106. </scm>
  107. <issueManagement>
  108. <system>github</system>
  109. <url>https://github.com/dropwizard/metrics/issues/</url>
  110. </issueManagement>
  111. <distributionManagement>
  112. <snapshotRepository>
  113. <id>ossrh</id>
  114. <name>Sonatype Nexus Snapshots</name>
  115. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  116. </snapshotRepository>
  117. <repository>
  118. <id>ossrh</id>
  119. <name>Nexus Release Repository</name>
  120. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  121. </repository>
  122. </distributionManagement>
  123. <profiles>
  124. <profile>
  125. <id>jdk8</id>
  126. <activation>
  127. <jdk>1.8</jdk>
  128. </activation>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-compiler-plugin</artifactId>
  134. <version>${maven-compiler-plugin.version}</version>
  135. <configuration>
  136. <fork>true</fork>
  137. <compilerArgs combine.children="append">
  138. <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${errorprone.javac.version}/javac-${errorprone.javac.version}.jar</arg>
  139. </compilerArgs>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </profile>
  145. <profile>
  146. <id>jdk16</id>
  147. <activation>
  148. <jdk>16</jdk>
  149. </activation>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <version>${maven-compiler-plugin.version}</version>
  156. <configuration>
  157. <fork>true</fork>
  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.2.1</version>
  202. <executions>
  203. <execution>
  204. <id>attach-sources</id>
  205. <goals>
  206. <goal>jar</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.3.1</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.0.1</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.8</version>
  254. <configuration>
  255. <serverId>ossrh</serverId>
  256. <nexusUrl>https://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. </plugins>
  270. </build>
  271. </profile>
  272. </profiles>
  273. <build>
  274. <pluginManagement>
  275. <plugins>
  276. <plugin>
  277. <groupId>org.apache.maven.plugins</groupId>
  278. <artifactId>maven-compiler-plugin</artifactId>
  279. <version>${maven-compiler-plugin.version}</version>
  280. </plugin>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-deploy-plugin</artifactId>
  284. <version>2.8.2</version>
  285. </plugin>
  286. </plugins>
  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. <configuration>
  294. <source>1.8</source>
  295. <target>1.8</target>
  296. <showWarnings>true</showWarnings>
  297. <compilerArgs>
  298. <arg>-Xlint:all</arg>
  299. <arg>-XDcompilePolicy=simple</arg>
  300. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  301. </compilerArgs>
  302. <annotationProcessorPaths>
  303. <path>
  304. <groupId>com.google.errorprone</groupId>
  305. <artifactId>error_prone_core</artifactId>
  306. <version>${errorprone.version}</version>
  307. </path>
  308. </annotationProcessorPaths>
  309. </configuration>
  310. </plugin>
  311. <plugin>
  312. <groupId>org.apache.felix</groupId>
  313. <artifactId>maven-bundle-plugin</artifactId>
  314. <version>5.1.2</version>
  315. <extensions>true</extensions>
  316. <configuration>
  317. <instructions>
  318. <Import-Package><![CDATA[
  319. javax.servlet*;version="[2.5.0,4.0.0)",
  320. org.slf4j*;version="[1.6.0,2.0.0)",
  321. sun.misc.*;resolution:=optional,
  322. com.sun.management.*;resolution:=optional,
  323. *
  324. ]]>
  325. </Import-Package>
  326. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  327. <!-- https://stackoverflow.com/a/29853163/49505 -->
  328. <_removeheaders>Bnd-LastModified</_removeheaders>
  329. <_reproducible>true</_reproducible>
  330. </instructions>
  331. </configuration>
  332. </plugin>
  333. <plugin>
  334. <groupId>org.apache.maven.plugins</groupId>
  335. <artifactId>maven-surefire-plugin</artifactId>
  336. <version>2.22.2</version>
  337. <configuration>
  338. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  339. </configuration>
  340. </plugin>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-enforcer-plugin</artifactId>
  344. <version>1.4.1</version>
  345. <executions>
  346. <execution>
  347. <id>enforce</id>
  348. <configuration>
  349. <rules>
  350. <DependencyConvergence />
  351. </rules>
  352. </configuration>
  353. <goals>
  354. <goal>enforce</goal>
  355. </goals>
  356. </execution>
  357. </executions>
  358. </plugin>
  359. <plugin>
  360. <groupId>org.apache.maven.plugins</groupId>
  361. <artifactId>maven-dependency-plugin</artifactId>
  362. <version>3.1.2</version>
  363. <executions>
  364. <execution>
  365. <id>analyze</id>
  366. <goals>
  367. <goal>analyze-only</goal>
  368. <goal>analyze-dep-mgt</goal>
  369. <goal>analyze-duplicate</goal>
  370. </goals>
  371. <phase>verify</phase>
  372. <configuration>
  373. <failOnWarning>true</failOnWarning>
  374. <ignoreNonCompile>true</ignoreNonCompile>
  375. </configuration>
  376. </execution>
  377. </executions>
  378. </plugin>
  379. <plugin>
  380. <groupId>org.apache.maven.plugins</groupId>
  381. <artifactId>maven-release-plugin</artifactId>
  382. <version>2.5.3</version>
  383. <configuration>
  384. <autoVersionSubmodules>true</autoVersionSubmodules>
  385. <mavenExecutorId>forked-path</mavenExecutorId>
  386. <tagNameFormat>v@{project.version}</tagNameFormat>
  387. <preparationGoals>clean test</preparationGoals>
  388. </configuration>
  389. </plugin>
  390. <plugin>
  391. <groupId>org.apache.maven.plugins</groupId>
  392. <artifactId>maven-jar-plugin</artifactId>
  393. <version>3.2.0</version>
  394. <configuration>
  395. <archive>
  396. <manifest>
  397. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  398. </manifest>
  399. <manifestEntries>
  400. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  401. </manifestEntries>
  402. </archive>
  403. </configuration>
  404. </plugin>
  405. <plugin>
  406. <groupId>org.apache.maven.plugins</groupId>
  407. <artifactId>maven-checkstyle-plugin</artifactId>
  408. <version>3.1.2</version>
  409. <configuration>
  410. <configLocation>checkstyle.xml</configLocation>
  411. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  412. </configuration>
  413. </plugin>
  414. <plugin>
  415. <groupId>org.apache.maven.plugins</groupId>
  416. <artifactId>maven-site-plugin</artifactId>
  417. <version>3.9.1</version>
  418. </plugin>
  419. <plugin>
  420. <groupId>org.apache.maven.plugins</groupId>
  421. <artifactId>maven-project-info-reports-plugin</artifactId>
  422. <version>3.1.2</version>
  423. </plugin>
  424. <plugin>
  425. <groupId>org.jacoco</groupId>
  426. <artifactId>jacoco-maven-plugin</artifactId>
  427. <version>0.8.7</version>
  428. <executions>
  429. <execution>
  430. <id>prepare-agent</id>
  431. <goals>
  432. <goal>prepare-agent</goal>
  433. </goals>
  434. </execution>
  435. <execution>
  436. <id>report</id>
  437. <goals>
  438. <goal>report</goal>
  439. </goals>
  440. </execution>
  441. </executions>
  442. </plugin>
  443. </plugins>
  444. </build>
  445. </project>