metrics-parent-4.2.9.pom 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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.9</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.45.v20220203</jetty9.version>
  53. <jetty10.version>10.0.8</jetty10.version>
  54. <jetty11.version>11.0.8</jetty11.version>
  55. <slf4j.version>1.7.36</slf4j.version>
  56. <assertj.version>3.22.0</assertj.version>
  57. <mockito.version>4.4.0</mockito.version>
  58. <junit.version>4.13.1</junit.version>
  59. <hamcrest.version>1.3</hamcrest.version>
  60. <maven-compiler-plugin.version>3.10.0</maven-compiler-plugin.version>
  61. <errorprone.version>2.11.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.9</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://s01.oss.sonatype.org/content/repositories/snapshots</url>
  116. </snapshotRepository>
  117. <repository>
  118. <id>ossrh</id>
  119. <name>Nexus Release Repository</name>
  120. <url>https://s01.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>jdk17</id>
  147. <activation>
  148. <jdk>[17,)</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.2</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.12</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. </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.4</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. </instructions>
  328. </configuration>
  329. </plugin>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-surefire-plugin</artifactId>
  333. <version>2.22.2</version>
  334. <configuration>
  335. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  336. </configuration>
  337. </plugin>
  338. <plugin>
  339. <groupId>org.apache.maven.plugins</groupId>
  340. <artifactId>maven-enforcer-plugin</artifactId>
  341. <version>1.4.1</version>
  342. <executions>
  343. <execution>
  344. <id>enforce</id>
  345. <configuration>
  346. <rules>
  347. <DependencyConvergence />
  348. </rules>
  349. </configuration>
  350. <goals>
  351. <goal>enforce</goal>
  352. </goals>
  353. </execution>
  354. </executions>
  355. </plugin>
  356. <plugin>
  357. <groupId>org.apache.maven.plugins</groupId>
  358. <artifactId>maven-dependency-plugin</artifactId>
  359. <version>3.1.2</version>
  360. <executions>
  361. <execution>
  362. <id>analyze</id>
  363. <goals>
  364. <goal>analyze-only</goal>
  365. <goal>analyze-dep-mgt</goal>
  366. <goal>analyze-duplicate</goal>
  367. </goals>
  368. <phase>verify</phase>
  369. <configuration>
  370. <failOnWarning>true</failOnWarning>
  371. <ignoreNonCompile>true</ignoreNonCompile>
  372. </configuration>
  373. </execution>
  374. </executions>
  375. </plugin>
  376. <plugin>
  377. <groupId>org.apache.maven.plugins</groupId>
  378. <artifactId>maven-release-plugin</artifactId>
  379. <version>2.5.3</version>
  380. <configuration>
  381. <autoVersionSubmodules>true</autoVersionSubmodules>
  382. <mavenExecutorId>forked-path</mavenExecutorId>
  383. <tagNameFormat>v@{project.version}</tagNameFormat>
  384. <preparationGoals>clean test</preparationGoals>
  385. </configuration>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-jar-plugin</artifactId>
  390. <version>3.2.2</version>
  391. <configuration>
  392. <archive>
  393. <manifest>
  394. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  395. </manifest>
  396. <manifestEntries>
  397. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  398. </manifestEntries>
  399. </archive>
  400. </configuration>
  401. </plugin>
  402. <plugin>
  403. <groupId>org.apache.maven.plugins</groupId>
  404. <artifactId>maven-checkstyle-plugin</artifactId>
  405. <version>3.1.2</version>
  406. <configuration>
  407. <configLocation>checkstyle.xml</configLocation>
  408. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  409. </configuration>
  410. </plugin>
  411. <plugin>
  412. <groupId>org.apache.maven.plugins</groupId>
  413. <artifactId>maven-site-plugin</artifactId>
  414. <version>3.11.0</version>
  415. </plugin>
  416. <plugin>
  417. <groupId>org.apache.maven.plugins</groupId>
  418. <artifactId>maven-project-info-reports-plugin</artifactId>
  419. <version>3.2.2</version>
  420. </plugin>
  421. <plugin>
  422. <groupId>org.jacoco</groupId>
  423. <artifactId>jacoco-maven-plugin</artifactId>
  424. <version>0.8.7</version>
  425. <executions>
  426. <execution>
  427. <id>prepare-agent</id>
  428. <goals>
  429. <goal>prepare-agent</goal>
  430. </goals>
  431. </execution>
  432. <execution>
  433. <id>report</id>
  434. <goals>
  435. <goal>report</goal>
  436. </goals>
  437. </execution>
  438. </executions>
  439. </plugin>
  440. </plugins>
  441. </build>
  442. </project>