metrics-parent-4.2.15.pom 20 KB

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