metrics-parent-4.1.7.pom 15 KB

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