metrics-parent-4.1.12.1.pom 14 KB

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