metrics-parent-4.1.25.pom 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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.1.25</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-core</module>
  20. <module>metrics-collectd</module>
  21. <module>metrics-ehcache</module>
  22. <module>metrics-graphite</module>
  23. <module>metrics-healthchecks</module>
  24. <module>metrics-httpclient</module>
  25. <module>metrics-httpclient5</module>
  26. <module>metrics-httpasyncclient</module>
  27. <module>metrics-jcache</module>
  28. <module>metrics-jcstress</module>
  29. <module>metrics-jdbi</module>
  30. <module>metrics-jdbi3</module>
  31. <module>metrics-jersey2</module>
  32. <module>metrics-jetty9</module>
  33. <module>metrics-jmx</module>
  34. <module>metrics-json</module>
  35. <module>metrics-jvm</module>
  36. <module>metrics-log4j2</module>
  37. <module>metrics-logback</module>
  38. <module>metrics-servlet</module>
  39. <module>metrics-servlets</module>
  40. </modules>
  41. <properties>
  42. <project.build.outputTimestamp>2011-02-24T06:12:03Z</project.build.outputTimestamp>
  43. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  44. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  45. <jackson.version>2.9.10</jackson.version>
  46. <jetty9.version>9.4.43.v20210629</jetty9.version>
  47. <slf4j.version>1.7.31</slf4j.version>
  48. <assertj.version>3.20.2</assertj.version>
  49. <mockito.version>3.11.2</mockito.version>
  50. <junit.version>4.13.1</junit.version>
  51. <hamcrest.version>1.3</hamcrest.version>
  52. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  53. <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
  54. <sonar.projectKey>dropwizard_metrics</sonar.projectKey>
  55. <sonar.organization>dropwizard</sonar.organization>
  56. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  57. <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
  58. </properties>
  59. <developers>
  60. <developer>
  61. <name>Coda Hale</name>
  62. <email>coda.hale@gmail.com</email>
  63. <timezone>America/Los_Angeles</timezone>
  64. <roles>
  65. <role>architect</role>
  66. </roles>
  67. </developer>
  68. <developer>
  69. <name>Ryan Tenney</name>
  70. <email>ryan@10e.us</email>
  71. <timezone>America/New_York</timezone>
  72. <roles>
  73. <role>committer</role>
  74. </roles>
  75. </developer>
  76. <developer>
  77. <name>Artem Prigoda</name>
  78. <email>prigoda.artem@ya.ru</email>
  79. <timezone>Europe/Berlin</timezone>
  80. <roles>
  81. <role>committer</role>
  82. </roles>
  83. </developer>
  84. </developers>
  85. <licenses>
  86. <license>
  87. <name>Apache License 2.0</name>
  88. <url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
  89. <distribution>repo</distribution>
  90. </license>
  91. </licenses>
  92. <scm>
  93. <connection>scm:git:git://github.com/dropwizard/metrics.git</connection>
  94. <developerConnection>scm:git:git@github.com:dropwizard/metrics.git</developerConnection>
  95. <url>https://github.com/dropwizard/metrics/</url>
  96. <tag>v4.1.25</tag>
  97. </scm>
  98. <issueManagement>
  99. <system>github</system>
  100. <url>https://github.com/dropwizard/metrics/issues/</url>
  101. </issueManagement>
  102. <distributionManagement>
  103. <snapshotRepository>
  104. <id>ossrh</id>
  105. <name>Sonatype Nexus Snapshots</name>
  106. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  107. </snapshotRepository>
  108. <repository>
  109. <id>ossrh</id>
  110. <name>Nexus Release Repository</name>
  111. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  112. </repository>
  113. </distributionManagement>
  114. <profiles>
  115. <profile>
  116. <id>jdk8</id>
  117. <activation>
  118. <jdk>1.8</jdk>
  119. </activation>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <version>${maven-compiler-plugin.version}</version>
  126. <configuration>
  127. <fork>true</fork>
  128. <compilerArgs combine.children="append">
  129. <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${errorprone.javac.version}/javac-${errorprone.javac.version}.jar</arg>
  130. </compilerArgs>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. </profile>
  136. <profile>
  137. <id>release-sign-artifacts</id>
  138. <activation>
  139. <property>
  140. <name>performRelease</name>
  141. <value>true</value>
  142. </property>
  143. </activation>
  144. <properties>
  145. <gpg.keyname>EDA86E9FB607B5FC9223FB767D4868B53E31E7AD</gpg.keyname>
  146. </properties>
  147. <build>
  148. <plugins>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-source-plugin</artifactId>
  152. <version>3.2.1</version>
  153. <executions>
  154. <execution>
  155. <id>attach-sources</id>
  156. <goals>
  157. <goal>jar</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-javadoc-plugin</artifactId>
  165. <version>3.3.0</version>
  166. <configuration>
  167. <source>8</source>
  168. <doclint>none</doclint>
  169. <quiet>true</quiet>
  170. <notimestamp>true</notimestamp>
  171. </configuration>
  172. <executions>
  173. <execution>
  174. <id>attach-javadocs</id>
  175. <goals>
  176. <goal>jar</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-gpg-plugin</artifactId>
  184. <version>3.0.1</version>
  185. <configuration>
  186. <gpgArguments>
  187. <arg>--pinentry-mode</arg>
  188. <arg>loopback</arg>
  189. </gpgArguments>
  190. </configuration>
  191. <executions>
  192. <execution>
  193. <id>sign-artifacts</id>
  194. <phase>verify</phase>
  195. <goals>
  196. <goal>sign</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.sonatype.plugins</groupId>
  203. <artifactId>nexus-staging-maven-plugin</artifactId>
  204. <version>1.6.8</version>
  205. <configuration>
  206. <serverId>ossrh</serverId>
  207. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  208. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  209. </configuration>
  210. <executions>
  211. <execution>
  212. <id>nexus-deploy</id>
  213. <phase>deploy</phase>
  214. <goals>
  215. <goal>deploy</goal>
  216. </goals>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. </profile>
  223. </profiles>
  224. <build>
  225. <pluginManagement>
  226. <plugins>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-compiler-plugin</artifactId>
  230. <version>${maven-compiler-plugin.version}</version>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-deploy-plugin</artifactId>
  235. <version>2.8.2</version>
  236. </plugin>
  237. </plugins>
  238. </pluginManagement>
  239. <plugins>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-compiler-plugin</artifactId>
  243. <version>${maven-compiler-plugin.version}</version>
  244. <configuration>
  245. <source>1.8</source>
  246. <target>1.8</target>
  247. <showWarnings>true</showWarnings>
  248. <compilerArgs>
  249. <arg>-Xlint:all</arg>
  250. <arg>-XDcompilePolicy=simple</arg>
  251. <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.*</arg>
  252. </compilerArgs>
  253. <annotationProcessorPaths>
  254. <path>
  255. <groupId>com.google.errorprone</groupId>
  256. <artifactId>error_prone_core</artifactId>
  257. <version>2.7.1</version>
  258. </path>
  259. </annotationProcessorPaths>
  260. </configuration>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.felix</groupId>
  264. <artifactId>maven-bundle-plugin</artifactId>
  265. <version>5.1.2</version>
  266. <extensions>true</extensions>
  267. <configuration>
  268. <instructions>
  269. <Import-Package><![CDATA[
  270. javax.servlet*;version="[2.5.0,4.0.0)",
  271. org.slf4j*;version="[1.6.0,2.0.0)",
  272. sun.misc.*;resolution:=optional,
  273. com.sun.management.*;resolution:=optional,
  274. *
  275. ]]>
  276. </Import-Package>
  277. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  278. <!-- https://stackoverflow.com/a/29853163/49505 -->
  279. <_removeheaders>Bnd-LastModified</_removeheaders>
  280. <_reproducible>true</_reproducible>
  281. </instructions>
  282. </configuration>
  283. </plugin>
  284. <plugin>
  285. <groupId>org.apache.maven.plugins</groupId>
  286. <artifactId>maven-surefire-plugin</artifactId>
  287. <version>2.22.2</version>
  288. <configuration>
  289. <argLine>@{argLine} -Djava.net.preferIPv4Stack=true</argLine>
  290. </configuration>
  291. </plugin>
  292. <plugin>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-enforcer-plugin</artifactId>
  295. <version>1.4.1</version>
  296. <executions>
  297. <execution>
  298. <id>enforce</id>
  299. <configuration>
  300. <rules>
  301. <DependencyConvergence />
  302. </rules>
  303. </configuration>
  304. <goals>
  305. <goal>enforce</goal>
  306. </goals>
  307. </execution>
  308. </executions>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.apache.maven.plugins</groupId>
  312. <artifactId>maven-dependency-plugin</artifactId>
  313. <version>3.1.2</version>
  314. <executions>
  315. <execution>
  316. <id>analyze</id>
  317. <goals>
  318. <goal>analyze-only</goal>
  319. <goal>analyze-dep-mgt</goal>
  320. <goal>analyze-duplicate</goal>
  321. </goals>
  322. <phase>verify</phase>
  323. <configuration>
  324. <failOnWarning>true</failOnWarning>
  325. <ignoreNonCompile>true</ignoreNonCompile>
  326. </configuration>
  327. </execution>
  328. </executions>
  329. </plugin>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-release-plugin</artifactId>
  333. <version>2.5.3</version>
  334. <configuration>
  335. <autoVersionSubmodules>true</autoVersionSubmodules>
  336. <mavenExecutorId>forked-path</mavenExecutorId>
  337. <tagNameFormat>v@{project.version}</tagNameFormat>
  338. <preparationGoals>clean test</preparationGoals>
  339. </configuration>
  340. </plugin>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-jar-plugin</artifactId>
  344. <version>3.2.0</version>
  345. <configuration>
  346. <archive>
  347. <manifest>
  348. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  349. </manifest>
  350. <manifestEntries>
  351. <Automatic-Module-Name>${javaModuleName}</Automatic-Module-Name>
  352. </manifestEntries>
  353. </archive>
  354. </configuration>
  355. </plugin>
  356. <plugin>
  357. <groupId>org.apache.maven.plugins</groupId>
  358. <artifactId>maven-checkstyle-plugin</artifactId>
  359. <version>3.1.2</version>
  360. <configuration>
  361. <configLocation>checkstyle.xml</configLocation>
  362. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  363. </configuration>
  364. </plugin>
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-site-plugin</artifactId>
  368. <version>3.9.1</version>
  369. </plugin>
  370. <plugin>
  371. <groupId>org.apache.maven.plugins</groupId>
  372. <artifactId>maven-project-info-reports-plugin</artifactId>
  373. <version>3.1.2</version>
  374. </plugin>
  375. <plugin>
  376. <groupId>org.jacoco</groupId>
  377. <artifactId>jacoco-maven-plugin</artifactId>
  378. <version>0.8.7</version>
  379. <executions>
  380. <execution>
  381. <id>prepare-agent</id>
  382. <goals>
  383. <goal>prepare-agent</goal>
  384. </goals>
  385. </execution>
  386. <execution>
  387. <id>report</id>
  388. <goals>
  389. <goal>report</goal>
  390. </goals>
  391. </execution>
  392. </executions>
  393. </plugin>
  394. </plugins>
  395. </build>
  396. </project>