Advertisement
Guest User

Untitled

a guest
Jul 7th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.31 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4.  
  5. <parent>
  6. <groupId>org.openmrs.maven.parents</groupId>
  7. <artifactId>maven-parent-openmrs-module</artifactId>
  8. <version>1.1.1</version>
  9. </parent>
  10.  
  11. <groupId>org.openmrs.module</groupId>
  12. <artifactId>metrics</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <packaging>pom</packaging>
  15. <name>Metrics</name>
  16.  
  17. <url>https://wiki.openmrs.org/x/FQ4z</url>
  18.  
  19. <scm>
  20. <connection>scm:git:git@github.com:openmrs/openmrs-module-metrics.git</connection>
  21. <developerConnection>scm:git:git@github.com:openmrs/openmrs-module-metrics.git</developerConnection>
  22. <url>https://github.com/openmrs/openmrs-module-metrics/</url>
  23. </scm>
  24.  
  25. <modules>
  26. <module>api</module>
  27. <module>omod</module>
  28. </modules>
  29.  
  30. <dependencyManagement>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.openmrs.api</groupId>
  34. <artifactId>openmrs-api</artifactId>
  35. <version>${openmrsPlatformVersion}</version>
  36. <type>jar</type>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.openmrs.api</groupId>
  41. <artifactId>openmrs-api</artifactId>
  42. <version>${openmrsPlatformVersion}</version>
  43. <type>test-jar</type>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.openmrs.web</groupId>
  48. <artifactId>openmrs-web</artifactId>
  49. <version>${openmrsPlatformVersion}</version>
  50. <type>jar</type>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.openmrs.web</groupId>
  55. <artifactId>openmrs-web</artifactId>
  56. <version>${openmrsPlatformVersion}</version>
  57. <type>test-jar</type>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.openmrs.test</groupId>
  62. <artifactId>openmrs-test</artifactId>
  63. <version>${openmrsPlatformVersion}</version>
  64. <type>pom</type>
  65. <scope>test</scope>
  66. </dependency>
  67. <!-- Event module -->
  68. <dependency>
  69. <groupId>org.openmrs</groupId>
  70. <artifactId>event-api</artifactId>
  71. <version>${eventModuleVersion}</version>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.openmrs</groupId>
  76. <artifactId>event-api-1.x</artifactId>
  77. <version>${eventModuleVersion}</version>
  78. <scope>provided</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.openmrs</groupId>
  82. <artifactId>event-api-2.x</artifactId>
  83. <version>${eventModuleVersion}</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.dropwizard.metrics</groupId>
  88. <artifactId>metrics-core</artifactId>
  89. <version>${metrics.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.slf4j</groupId>
  93. <artifactId>slf4j-api</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.dropwizard.metrics</groupId>
  99. <artifactId>metrics-jmx</artifactId>
  100. <version>${metrics.version}</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.slf4j</groupId>
  104. <artifactId>slf4j-api</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>io.dropwizard.metrics</groupId>
  110. <artifactId>metrics-servlets</artifactId>
  111. <version>${metrics.version}</version>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-api</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>com.fasterxml.jackson.core</groupId>
  119. <artifactId>jackson-databind</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <dependency>
  124. <groupId>io.dropwizard.metrics</groupId>
  125. <artifactId>metrics-graphite</artifactId>
  126. <version>${metrics.version}</version>
  127. <exclusions>
  128. <exclusion>
  129. <groupId>org.slf4j</groupId>
  130. <artifactId>slf4j-api</artifactId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.prometheus</groupId>
  136. <artifactId>simpleclient_dropwizard</artifactId>
  137. <version>${prometheusclient.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.micrometer</groupId>
  141. <artifactId>micrometer-core</artifactId>
  142. <version>${micrometer.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.micrometer</groupId>
  146. <artifactId>micrometer-registry-jmx</artifactId>
  147. <version>${micrometer.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.micrometer</groupId>
  151. <artifactId>micrometer-registry-graphite</artifactId>
  152. <version>${micrometer.version}</version>
  153. </dependency>
  154.  
  155. <!-- Importing versions from refapp distro -->
  156. <dependency>
  157. <groupId>org.openmrs.distro</groupId>
  158. <artifactId>referenceapplication</artifactId>
  159. <version>${referenceapplication.version}</version>
  160. <type>pom</type>
  161. <scope>import</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.openmrs.module</groupId>
  165. <artifactId>legacyui-omod</artifactId>
  166. <version>${legacyuiVersion}</version>
  167. <scope>provided</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>javax.servlet</groupId>
  171. <artifactId>javax.servlet-api</artifactId>
  172. <version>${javax.servlet.version}</version>
  173. <scope>test</scope>
  174. </dependency>
  175.  
  176. </dependencies>
  177. </dependencyManagement>
  178.  
  179. <repositories>
  180. <repository>
  181. <id>openmrs-repo</id>
  182. <name>OpenMRS Nexus Repository</name>
  183. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  184. </repository>
  185. <repository>
  186. <id>central</id>
  187. <name>Maven Repository Switchboard</name>
  188. <layout>default</layout>
  189. <url>http://repo1.maven.org/maven2</url>
  190. </repository>
  191. </repositories>
  192. <pluginRepositories>
  193. <pluginRepository>
  194. <id>openmrs-repo</id>
  195. <name>OpenMRS Nexus Repository</name>
  196. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  197. <snapshots>
  198. <enabled>false</enabled>
  199. </snapshots>
  200. </pluginRepository>
  201. </pluginRepositories>
  202.  
  203. <build>
  204. <pluginManagement>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-checkstyle-plugin</artifactId>
  209. <version>${checkstylePluginVersion}</version>
  210. <configuration>
  211. <configLocation>checkstyle.xml</configLocation>
  212. </configuration>
  213. <executions>
  214. <execution>
  215. <id>verify-checkstyle</id>
  216. <phase>validate</phase>
  217. <configuration>
  218. <configLocation>checkstyle.xml</configLocation>
  219. <encoding>${project.build.sourceEncoding}</encoding>
  220. <consoleOutput>true</consoleOutput>
  221. <logViolationsToConsole>true</logViolationsToConsole>
  222. <failOnViolation>true</failOnViolation>
  223. <failsOnError>true</failsOnError>
  224. <includeTestSourceDirectory>false</includeTestSourceDirectory>
  225. </configuration>
  226. <goals>
  227. <goal>check</goal>
  228. </goals>
  229. </execution>
  230. </executions>
  231. </plugin>
  232.  
  233.  
  234.  
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-compiler-plugin</artifactId>
  238. <configuration>
  239. <source>${javaVersion}</source>
  240. <target>${javaVersion}</target>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. </pluginManagement>
  245.  
  246. <plugins>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-checkstyle-plugin</artifactId>
  250. </plugin>
  251. <plugin>
  252. <groupId>org.apache.maven.plugins</groupId>
  253. <artifactId>maven-compiler-plugin</artifactId>
  254. </plugin>
  255. </plugins>
  256. </build>
  257.  
  258. <properties>
  259. <javaVersion>1.8</javaVersion>
  260. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  261. <openmrsPlatformVersion>2.1.4</openmrsPlatformVersion>
  262. <eventModuleVersion>2.6.0</eventModuleVersion>
  263. <metrics.version>4.1.7</metrics.version>
  264. <prometheusclient.version>0.9.0</prometheusclient.version>
  265. <micrometer.version>1.5.1</micrometer.version>
  266. <referenceapplication.version>2.8.1</referenceapplication.version>
  267. <legacyuiVersion>1.4.0</legacyuiVersion>
  268. <javax.servlet.version>3.0.1</javax.servlet.version>
  269. <pmdPluginVersion>3.10.0</pmdPluginVersion>
  270. <checkstylePluginVersion>3.0.0</checkstylePluginVersion>
  271. </properties>
  272. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement