metrics-parent-4.1.21.pom 17 KB

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