metrics-parent-4.2.13.pom 20 KB

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