metrics-parent-4.2.17.pom 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  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.17</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>2011-02-24T06:12:03Z</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.50.v20221201</jetty9.version>
  56. <jetty10.version>10.0.13</jetty10.version>
  57. <jetty11.version>11.0.13</jetty11.version>
  58. <slf4j.version>1.7.36</slf4j.version>
  59. <assertj.version>3.24.2</assertj.version>
  60. <byte-buddy.version>1.14.0</byte-buddy.version>
  61. <mockito.version>5.1.1</mockito.version>
  62. <junit.version>4.13.1</junit.version>
  63. <hamcrest.version>1.3</hamcrest.version>
  64. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  65. <errorprone.version>2.18.0</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.17</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. <version>${maven-compiler-plugin.version}</version>
  139. <configuration>
  140. <fork>true</fork>
  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. <build>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-compiler-plugin</artifactId>
  159. <version>${maven-compiler-plugin.version}</version>
  160. <configuration>
  161. <fork>true</fork>
  162. <compilerArgs>
  163. <arg>-Xlint:all</arg>
  164. <arg>-XDcompilePolicy=simple</arg>
  165. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  166. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
  167. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
  168. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
  169. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
  170. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
  171. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
  172. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
  173. <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
  174. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
  175. <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
  176. </compilerArgs>
  177. <annotationProcessorPaths>
  178. <path>
  179. <groupId>com.google.errorprone</groupId>
  180. <artifactId>error_prone_core</artifactId>
  181. <version>${errorprone.version}</version>
  182. </path>
  183. </annotationProcessorPaths>
  184. </configuration>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </profile>
  189. <profile>
  190. <id>release-sign-artifacts</id>
  191. <activation>
  192. <property>
  193. <name>performRelease</name>
  194. <value>true</value>
  195. </property>
  196. </activation>
  197. <properties>
  198. <gpg.keyname>EDA86E9FB607B5FC9223FB767D4868B53E31E7AD</gpg.keyname>
  199. </properties>
  200. <build>
  201. <plugins>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-source-plugin</artifactId>
  205. <version>3.2.1</version>
  206. <executions>
  207. <execution>
  208. <id>attach-sources</id>
  209. <goals>
  210. <goal>jar</goal>
  211. </goals>
  212. </execution>
  213. </executions>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-javadoc-plugin</artifactId>
  218. <version>3.5.0</version>
  219. <configuration>
  220. <source>8</source>
  221. <doclint>none</doclint>
  222. <quiet>true</quiet>
  223. <notimestamp>true</notimestamp>
  224. </configuration>
  225. <executions>
  226. <execution>
  227. <id>attach-javadocs</id>
  228. <goals>
  229. <goal>jar</goal>
  230. </goals>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-gpg-plugin</artifactId>
  237. <version>3.0.1</version>
  238. <configuration>
  239. <gpgArguments>
  240. <arg>--pinentry-mode</arg>
  241. <arg>loopback</arg>
  242. </gpgArguments>
  243. </configuration>
  244. <executions>
  245. <execution>
  246. <id>sign-artifacts</id>
  247. <phase>verify</phase>
  248. <goals>
  249. <goal>sign</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.sonatype.plugins</groupId>
  256. <artifactId>nexus-staging-maven-plugin</artifactId>
  257. <version>1.6.13</version>
  258. <configuration>
  259. <serverId>ossrh</serverId>
  260. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  261. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  262. </configuration>
  263. <executions>
  264. <execution>
  265. <id>nexus-deploy</id>
  266. <phase>deploy</phase>
  267. <goals>
  268. <goal>deploy</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.cyclonedx</groupId>
  275. <artifactId>cyclonedx-maven-plugin</artifactId>
  276. <version>2.7.5</version>
  277. <executions>
  278. <execution>
  279. <phase>package</phase>
  280. <goals>
  281. <goal>makeAggregateBom</goal>
  282. </goals>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. </plugins>
  287. </build>
  288. </profile>
  289. </profiles>
  290. <build>
  291. <pluginManagement>
  292. <plugins>
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-compiler-plugin</artifactId>
  296. <version>${maven-compiler-plugin.version}</version>
  297. </plugin>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-deploy-plugin</artifactId>
  301. <version>3.1.0</version>
  302. </plugin>
  303. </plugins>
  304. </pluginManagement>
  305. <plugins>
  306. <plugin>
  307. <groupId>org.apache.maven.plugins</groupId>
  308. <artifactId>maven-compiler-plugin</artifactId>
  309. <version>${maven-compiler-plugin.version}</version>
  310. <configuration>
  311. <source>1.8</source>
  312. <target>1.8</target>
  313. <showWarnings>true</showWarnings>
  314. <compilerArgs>
  315. <arg>-Xlint:all</arg>
  316. <arg>-XDcompilePolicy=simple</arg>
  317. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  318. </compilerArgs>
  319. <annotationProcessorPaths>
  320. <path>
  321. <groupId>com.google.errorprone</groupId>
  322. <artifactId>error_prone_core</artifactId>
  323. <version>${errorprone.version}</version>
  324. </path>
  325. </annotationProcessorPaths>
  326. </configuration>
  327. </plugin>
  328. <plugin>
  329. <groupId>org.apache.felix</groupId>
  330. <artifactId>maven-bundle-plugin</artifactId>
  331. <version>5.1.8</version>
  332. <extensions>true</extensions>
  333. <configuration>
  334. <instructions>
  335. <Import-Package><![CDATA[
  336. javax.servlet*;version="[2.5.0,4.0.0)",
  337. org.slf4j*;version="[1.6.0,2.0.0)",
  338. sun.misc.*;resolution:=optional,
  339. com.sun.management.*;resolution:=optional,
  340. *
  341. ]]>
  342. </Import-Package>
  343. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  344. </instructions>
  345. </configuration>
  346. </plugin>
  347. <plugin>
  348. <groupId>org.apache.maven.plugins</groupId>
  349. <artifactId>maven-surefire-plugin</artifactId>
  350. <version>2.22.2</version>
  351. <configuration>
  352. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  353. </configuration>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-enforcer-plugin</artifactId>
  358. <version>1.4.1</version>
  359. <executions>
  360. <execution>
  361. <id>enforce</id>
  362. <configuration>
  363. <rules>
  364. <DependencyConvergence />
  365. </rules>
  366. </configuration>
  367. <goals>
  368. <goal>enforce</goal>
  369. </goals>
  370. </execution>
  371. </executions>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-dependency-plugin</artifactId>
  376. <version>3.5.0</version>
  377. <executions>
  378. <execution>
  379. <id>analyze</id>
  380. <goals>
  381. <goal>analyze-only</goal>
  382. <goal>analyze-dep-mgt</goal>
  383. <goal>analyze-duplicate</goal>
  384. </goals>
  385. <phase>verify</phase>
  386. <configuration>
  387. <failOnWarning>true</failOnWarning>
  388. <ignoreNonCompile>true</ignoreNonCompile>
  389. </configuration>
  390. </execution>
  391. </executions>
  392. </plugin>
  393. <plugin>
  394. <groupId>org.apache.maven.plugins</groupId>
  395. <artifactId>maven-release-plugin</artifactId>
  396. <version>2.5.3</version>
  397. <configuration>
  398. <autoVersionSubmodules>true</autoVersionSubmodules>
  399. <mavenExecutorId>forked-path</mavenExecutorId>
  400. <tagNameFormat>v@{project.version}</tagNameFormat>
  401. <preparationGoals>clean test</preparationGoals>
  402. </configuration>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.apache.maven.plugins</groupId>
  406. <artifactId>maven-jar-plugin</artifactId>
  407. <version>3.3.0</version>
  408. <configuration>
  409. <archive>
  410. <manifest>
  411. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  412. </manifest>
  413. <manifestEntries>
  414. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  415. </manifestEntries>
  416. </archive>
  417. </configuration>
  418. </plugin>
  419. <plugin>
  420. <groupId>org.apache.maven.plugins</groupId>
  421. <artifactId>maven-checkstyle-plugin</artifactId>
  422. <version>3.2.1</version>
  423. <configuration>
  424. <configLocation>checkstyle.xml</configLocation>
  425. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  426. </configuration>
  427. </plugin>
  428. <plugin>
  429. <groupId>org.apache.maven.plugins</groupId>
  430. <artifactId>maven-site-plugin</artifactId>
  431. <version>3.12.1</version>
  432. </plugin>
  433. <plugin>
  434. <groupId>org.apache.maven.plugins</groupId>
  435. <artifactId>maven-project-info-reports-plugin</artifactId>
  436. <version>3.4.2</version>
  437. </plugin>
  438. <plugin>
  439. <groupId>org.jacoco</groupId>
  440. <artifactId>jacoco-maven-plugin</artifactId>
  441. <version>0.8.8</version>
  442. <executions>
  443. <execution>
  444. <id>prepare-agent</id>
  445. <goals>
  446. <goal>prepare-agent</goal>
  447. </goals>
  448. </execution>
  449. <execution>
  450. <id>report</id>
  451. <goals>
  452. <goal>report</goal>
  453. </goals>
  454. </execution>
  455. </executions>
  456. </plugin>
  457. </plugins>
  458. </build>
  459. </project>