georgejr

Untitled

May 27th, 2019
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.12 KB | None | 0 0
  1. <!--
  2.  
  3. This Source Code Form is subject to the terms of the Mozilla Public License,
  4. v. 2.0. If a copy of the MPL was not distributed with this file, You can
  5. obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
  6. the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
  7.  
  8. Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
  9. graphic logo is a trademark of OpenMRS Inc.
  10.  
  11. -->
  12. <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/maven-v4_0_0.xsd">
  13.  
  14. <modelVersion>4.0.0</modelVersion>
  15. <groupId>org.openmrs</groupId>
  16. <artifactId>openmrs</artifactId>
  17. <version>2.3.0-SNAPSHOT</version>
  18. <packaging>pom</packaging>
  19. <name>OpenMRS</name>
  20. <description>Master project for the modules of OpenMRS</description>
  21. <url>http://openmrs.org</url>
  22.  
  23. <issueManagement>
  24. <system>JIRA</system>
  25. <url>http://tickets.openmrs.org/</url>
  26. </issueManagement>
  27.  
  28. <licenses>
  29. <license>
  30. <name>Mozilla Public License 2.0 with Healthcare Disclaimer</name>
  31. <url>http://openmrs.org/license</url>
  32. </license>
  33. </licenses>
  34.  
  35. <organization>
  36. <name>OpenMRS Inc.</name>
  37. <url>http://openmrs.org</url>
  38. </organization>
  39.  
  40. <scm>
  41. <connection>scm:git:[email protected]:openmrs/openmrs-core</connection>
  42. <developerConnection>scm:git:[email protected]:openmrs/openmrs-core</developerConnection>
  43. <url>https://github.com/openmrs/openmrs-core</url>
  44. </scm>
  45.  
  46. <ciManagement>
  47. <system>Bamboo</system>
  48. <url>https://ci.openmrs.org/browse/TRUNK-MASTER</url>
  49. </ciManagement>
  50.  
  51. <modules>
  52. <module>tools</module>
  53. <module>test</module>
  54. <module>api</module>
  55. <module>web</module>
  56. <module>webapp</module>
  57. </modules>
  58.  
  59. <dependencyManagement>
  60. <dependencies>
  61. <!-- OpenMRS Dependencies -->
  62. <dependency>
  63. <groupId>org.openmrs.tools</groupId>
  64. <artifactId>openmrs-tools</artifactId>
  65. <version>${project.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.openmrs.test</groupId>
  69. <artifactId>openmrs-test</artifactId>
  70. <version>${project.version}</version>
  71. <type>pom</type>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.openmrs.api</groupId>
  75. <artifactId>openmrs-api</artifactId>
  76. <version>${project.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.openmrs.api</groupId>
  80. <artifactId>openmrs-api</artifactId>
  81. <version>${project.version}</version>
  82. <type>test-jar</type>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.openmrs.web</groupId>
  86. <artifactId>openmrs-web</artifactId>
  87. <version>${project.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.openmrs.web</groupId>
  91. <artifactId>openmrs-webapp</artifactId>
  92. <version>${project.version}</version>
  93. <type>war</type>
  94. </dependency>
  95. <dependency>
  96. <groupId>javax.servlet</groupId>
  97. <artifactId>javax.servlet-api</artifactId>
  98. <version>3.0.1</version>
  99. <scope>provided</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>javax.servlet</groupId>
  103. <artifactId>jsp-api</artifactId>
  104. <version>2.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>javax.servlet</groupId>
  108. <artifactId>jstl</artifactId>
  109. <version>1.1.2</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>taglibs</groupId>
  113. <artifactId>request</artifactId>
  114. <version>1.0.1</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>taglibs</groupId>
  118. <artifactId>response</artifactId>
  119. <version>1.0.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>taglibs</groupId>
  123. <artifactId>standard</artifactId>
  124. <version>1.1.2</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>taglibs</groupId>
  128. <artifactId>page</artifactId>
  129. <version>1.0.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.velocity</groupId>
  133. <artifactId>velocity</artifactId>
  134. <version>1.6.2</version>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>oro</groupId>
  138. <artifactId>oro</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.velocity</groupId>
  144. <artifactId>velocity-tools</artifactId>
  145. <version>2.0</version>
  146. <exclusions>
  147. <exclusion>
  148. <groupId>commons-logging</groupId>
  149. <artifactId>commons-logging</artifactId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153.  
  154. <dependency>
  155. <groupId>commons-collections</groupId>
  156. <artifactId>commons-collections</artifactId>
  157. <version>3.2.2</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-io</groupId>
  161. <artifactId>commons-io</artifactId>
  162. <version>2.5</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-lang3</artifactId>
  167. <version>3.6</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-core</artifactId>
  172. <version>${springVersion}</version>
  173. <exclusions>
  174. <exclusion>
  175. <groupId>commons-logging</groupId>
  176. <artifactId>commons-logging</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework</groupId>
  182. <artifactId>spring-beans</artifactId>
  183. <version>${springVersion}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.springframework</groupId>
  187. <artifactId>spring-context</artifactId>
  188. <version>${springVersion}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.springframework</groupId>
  192. <artifactId>spring-aop</artifactId>
  193. <version>${springVersion}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.springframework</groupId>
  197. <artifactId>spring-orm</artifactId>
  198. <version>${springVersion}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework</groupId>
  202. <artifactId>spring-tx</artifactId>
  203. <version>${springVersion}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springframework</groupId>
  207. <artifactId>spring-jdbc</artifactId>
  208. <version>${springVersion}</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework</groupId>
  212. <artifactId>spring-web</artifactId>
  213. <version>${springVersion}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.springframework</groupId>
  217. <artifactId>spring-webmvc</artifactId>
  218. <version>${springVersion}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.springframework</groupId>
  222. <artifactId>spring-oxm</artifactId>
  223. <version>${springVersion}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.springframework</groupId>
  227. <artifactId>spring-context-support</artifactId>
  228. <version>${springVersion}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.javassist</groupId>
  232. <artifactId>javassist</artifactId>
  233. <version>3.22.0-GA</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hibernate</groupId>
  237. <artifactId>hibernate-core</artifactId>
  238. <version>${hibernateVersion}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.hibernate</groupId>
  242. <artifactId>hibernate-c3p0</artifactId>
  243. <version>${hibernateVersion}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.hibernate</groupId>
  247. <artifactId>hibernate-ehcache</artifactId>
  248. <version>${hibernateVersion}</version>
  249. <exclusions>
  250. <!-- Excluding since we are using a newer version where
  251. arifactId is ehcache instead of ehcache-core -->
  252. <exclusion>
  253. <groupId>net.sf.ehcache</groupId>
  254. <artifactId>ehcache-core</artifactId>
  255. </exclusion>
  256. </exclusions>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.hibernate</groupId>
  260. <artifactId>hibernate-validator</artifactId>
  261. <version>4.2.0.Final</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.hibernate</groupId>
  265. <artifactId>hibernate-search-orm</artifactId>
  266. <version>5.1.2.Final</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.apache.lucene</groupId>
  270. <artifactId>lucene-queryparser</artifactId>
  271. <version>4.10.4</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.apache.lucene</groupId>
  275. <artifactId>lucene-queries</artifactId>
  276. <version>4.10.4</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.liquibase</groupId>
  280. <artifactId>liquibase-core</artifactId>
  281. <version>3.6.3</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.openmrs.liquibase.ext</groupId>
  285. <artifactId>modify-column</artifactId>
  286. <version>2.0.2</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.openmrs.liquibase.ext</groupId>
  290. <artifactId>identity-insert</artifactId>
  291. <version>1.2.1</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.openmrs.liquibase.ext</groupId>
  295. <artifactId>type-converter</artifactId>
  296. <version>1.0.1</version>
  297. </dependency>
  298.  
  299. <dependency>
  300. <groupId>log4j</groupId>
  301. <artifactId>log4j</artifactId>
  302. <version>1.2.15</version>
  303. <exclusions>
  304. <exclusion>
  305. <groupId>javax.jms</groupId>
  306. <artifactId>jms</artifactId>
  307. </exclusion>
  308. <exclusion>
  309. <groupId>com.sun.jdmk</groupId>
  310. <artifactId>jmxtools</artifactId>
  311. </exclusion>
  312. <exclusion>
  313. <groupId>com.sun.jmx</groupId>
  314. <artifactId>jmxri</artifactId>
  315. </exclusion>
  316. </exclusions>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.slf4j</groupId>
  320. <artifactId>slf4j-api</artifactId>
  321. <version>1.6.0</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.slf4j</groupId>
  325. <artifactId>jcl-over-slf4j</artifactId>
  326. <version>1.6.0</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.slf4j</groupId>
  330. <artifactId>slf4j-log4j12</artifactId>
  331. <version>1.6.0</version>
  332. <scope>runtime</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>ca.uhn.hapi</groupId>
  336. <artifactId>hapi-base</artifactId>
  337. <version>2.1</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>ca.uhn.hapi</groupId>
  341. <artifactId>hapi-structures-v23</artifactId>
  342. <version>2.1</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>ca.uhn.hapi</groupId>
  346. <artifactId>hapi-structures-v24</artifactId>
  347. <version>2.1</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>ca.uhn.hapi</groupId>
  351. <artifactId>hapi-structures-v25</artifactId>
  352. <version>2.1</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>ca.uhn.hapi</groupId>
  356. <artifactId>hapi-structures-v26</artifactId>
  357. <version>2.1</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>dom4j</groupId>
  361. <artifactId>dom4j</artifactId>
  362. <version>1.6.1</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>xerces</groupId>
  366. <artifactId>xercesImpl</artifactId>
  367. <version>2.8.0</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>com.thoughtworks.xstream</groupId>
  371. <artifactId>xstream</artifactId>
  372. <version>1.4.11.1</version>
  373. </dependency>
  374. <dependency>
  375. <groupId>javax.mail</groupId>
  376. <artifactId>mail</artifactId>
  377. <version>1.4.1</version>
  378. <exclusions>
  379. <exclusion> <!-- declare the exclusion here -->
  380. <groupId>javax.activation</groupId>
  381. <artifactId>activation</artifactId>
  382. </exclusion>
  383. </exclusions>
  384. </dependency>
  385. <dependency>
  386. <groupId>commons-beanutils</groupId>
  387. <artifactId>commons-beanutils</artifactId>
  388. <version>1.9.3</version>
  389. <exclusions>
  390. <exclusion>
  391. <groupId>commons-logging</groupId>
  392. <artifactId>commons-logging</artifactId>
  393. </exclusion>
  394. </exclusions>
  395. </dependency>
  396. <dependency>
  397. <groupId>commons-fileupload</groupId>
  398. <artifactId>commons-fileupload</artifactId>
  399. <version>1.3.3</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>mysql</groupId>
  403. <artifactId>mysql-connector-java</artifactId>
  404. <version>5.1.45</version>
  405. <scope>runtime</scope>
  406. </dependency>+
  407. <dependency>
  408. <groupId>com.mysql</groupId>
  409. <artifactId>mysql-connector-mxj</artifactId>
  410. <version>5.0.11</version>
  411. </dependency>
  412. <dependency>
  413. <groupId>postgresql</groupId>
  414. <artifactId>postgresql</artifactId>
  415. <version>9.0-801.jdbc4</version>
  416. <scope>runtime</scope>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.codehaus.jackson</groupId>
  420. <artifactId>jackson-core-asl</artifactId>
  421. <version>1.9.13</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.codehaus.jackson</groupId>
  425. <artifactId>jackson-mapper-asl</artifactId>
  426. <version>1.9.13</version>
  427. </dependency>
  428. <dependency>
  429. <groupId>com.fasterxml.jackson.core</groupId>
  430. <artifactId>jackson-core</artifactId>
  431. <version>2.9.8</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>com.fasterxml.jackson.core</groupId>
  435. <artifactId>jackson-annotations</artifactId>
  436. <version>2.9.8</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>com.fasterxml.jackson.core</groupId>
  440. <artifactId>jackson-databind</artifactId>
  441. <version>2.9.8</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>org.azeckoski</groupId>
  445. <artifactId>reflectutils</artifactId>
  446. <version>0.9.20</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>org.springframework</groupId>
  450. <artifactId>spring-test</artifactId>
  451. <version>${springVersion}</version>
  452. <exclusions>
  453. <exclusion>
  454. <groupId>commons-logging</groupId>
  455. <artifactId>commons-logging</artifactId>
  456. </exclusion>
  457. </exclusions>
  458. </dependency>
  459. <dependency>
  460. <groupId>junit</groupId>
  461. <artifactId>junit</artifactId>
  462. <version>4.12</version>
  463. </dependency>
  464. <dependency>
  465. <groupId>org.mockito</groupId>
  466. <artifactId>mockito-core</artifactId>
  467. <version>1.10.19</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>org.powermock</groupId>
  471. <artifactId>powermock-module-junit4</artifactId>
  472. <version>1.6.6</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>org.powermock</groupId>
  476. <artifactId>powermock-api-mockito</artifactId>
  477. <version>1.6.6</version>
  478. <exclusions>
  479. <exclusion>
  480. <artifactId>mockito-all</artifactId>
  481. <groupId>org.mockito</groupId>
  482. </exclusion>
  483. </exclusions>
  484. </dependency>
  485. <dependency>
  486. <groupId>org.hamcrest</groupId>
  487. <artifactId>hamcrest-core</artifactId>
  488. <version>1.3</version>
  489. </dependency>
  490. <dependency>
  491. <groupId>org.hamcrest</groupId>
  492. <artifactId>hamcrest-library</artifactId>
  493. <version>1.3</version>
  494. </dependency>
  495. <dependency>
  496. <groupId>com.h2database</groupId>
  497. <artifactId>h2</artifactId>
  498. <version>1.4.199</version>
  499. </dependency>
  500. <dependency>
  501. <groupId>org.dbunit</groupId>
  502. <artifactId>dbunit</artifactId>
  503. <version>2.6.0</version>
  504. </dependency>
  505. <dependency>
  506. <groupId>javax.validation</groupId>
  507. <artifactId>validation-api</artifactId>
  508. <version>1.0.0.GA</version>
  509. </dependency>
  510. <dependency>
  511. <groupId>org.codehaus.sonar-plugins.java</groupId>
  512. <artifactId>sonar-jacoco-listeners</artifactId>
  513. <version>3.1</version>
  514. </dependency>
  515. <dependency>
  516. <groupId>net.sf.ehcache</groupId>
  517. <artifactId>ehcache</artifactId>
  518. <version>2.10.6</version>
  519. </dependency>
  520. <dependency>
  521. <groupId>commons-validator</groupId>
  522. <artifactId>commons-validator</artifactId>
  523. <version>1.4.0</version>
  524. </dependency>
  525. </dependencies>
  526. </dependencyManagement>
  527.  
  528. <build>
  529. <pluginManagement>
  530. <plugins>
  531. <plugin>
  532. <groupId>org.apache.maven.plugins</groupId>
  533. <artifactId>maven-surefire-plugin</artifactId>
  534. <version>2.18.1</version>
  535. </plugin>
  536. <plugin>
  537. <groupId>org.apache.maven.plugins</groupId>
  538. <artifactId>maven-resources-plugin</artifactId>
  539. <version>2.4</version>
  540. </plugin>
  541. <plugin>
  542. <groupId>org.apache.maven.plugins</groupId>
  543. <artifactId>maven-compiler-plugin</artifactId>
  544. <version>2.1</version>
  545. <configuration>
  546. <target>${javaCompilerVersion}</target>
  547. <source>${javaCompilerVersion}</source>
  548. <encoding>UTF-8</encoding>
  549. </configuration>
  550. </plugin>
  551. <plugin>
  552. <groupId>org.apache.maven.plugins</groupId>
  553. <artifactId>maven-jar-plugin</artifactId>
  554. <version>2.3.2</version>
  555. <configuration>
  556. <archive>
  557. <manifestEntries>
  558. <Build-Timestamp>${TIMESTAMP}</Build-Timestamp>
  559. <Specification-Version>${openmrs.version.shortnumericonly}</Specification-Version>
  560. <Specification-Vendor>${openmrs.version.long}</Specification-Vendor>
  561. </manifestEntries>
  562. </archive>
  563. </configuration>
  564. <executions>
  565. <execution>
  566. <goals>
  567. <goal>test-jar</goal>
  568. </goals>
  569. </execution>
  570. </executions>
  571. </plugin>
  572. <plugin>
  573. <groupId>org.apache.maven.plugins</groupId>
  574. <artifactId>maven-war-plugin</artifactId>
  575. <version>2.4</version>
  576. </plugin>
  577. <plugin>
  578. <groupId>org.codehaus.mojo</groupId>
  579. <artifactId>buildnumber-maven-plugin</artifactId>
  580. <version>1.1</version>
  581. <configuration>
  582. <buildNumberPropertyName>revisionNumber</buildNumberPropertyName>
  583. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  584. <revisionOnScmFailure>0</revisionOnScmFailure>
  585. <shortRevisionLength>6</shortRevisionLength>
  586. </configuration>
  587. </plugin>
  588. <plugin>
  589. <groupId>org.apache.maven.plugins</groupId>
  590. <artifactId>maven-eclipse-plugin</artifactId>
  591. <version>2.8</version>
  592. </plugin>
  593. <plugin>
  594. <groupId>org.codehaus.mojo</groupId>
  595. <artifactId>build-helper-maven-plugin</artifactId>
  596. <version>1.5</version>
  597. </plugin>
  598. <plugin>
  599. <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
  600. <artifactId>maven-java-formatter-plugin</artifactId>
  601. <version>0.3</version>
  602. <configuration>
  603. <compilerSource>${javaCompilerVersion}</compilerSource>
  604. <compilerCompliance>${javaCompilerVersion}</compilerCompliance>
  605. <compilerTargetPlatform>${javaCompilerVersion}</compilerTargetPlatform>
  606. <configFile>eclipse/OpenMRSFormatter.xml</configFile>
  607. <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
  608. </configuration>
  609. <dependencies>
  610. <dependency>
  611. <groupId>org.openmrs.tools</groupId>
  612. <artifactId>openmrs-tools</artifactId>
  613. <version>${project.version}</version>
  614. </dependency>
  615. </dependencies>
  616. </plugin>
  617. <plugin>
  618. <groupId>org.apache.maven.plugins</groupId>
  619. <artifactId>maven-checkstyle-plugin</artifactId>
  620. <version>2.17</version>
  621. <configuration>
  622. <configLocation>checkstyle.xml</configLocation>
  623. </configuration>
  624. </plugin>
  625. <plugin>
  626. <groupId>org.codehaus.mojo</groupId>
  627. <artifactId>findbugs-maven-plugin</artifactId>
  628. <version>3.0.5</version>
  629. <configuration>
  630. <includeFilterFile>findbugs-include.xml</includeFilterFile>
  631. </configuration>
  632. </plugin>
  633. <plugin>
  634. <groupId>org.apache.maven.plugins</groupId>
  635. <artifactId>maven-release-plugin</artifactId>
  636. <version>2.5.3</version>
  637. <configuration>
  638. <preparationGoals>clean install</preparationGoals>
  639. <autoVersionSubmodules>true</autoVersionSubmodules>
  640. <useReleaseProfile>false</useReleaseProfile>
  641. <arguments>-Prelease</arguments>
  642. <tagNameFormat>@{project.version}</tagNameFormat>
  643. </configuration>
  644. </plugin>
  645. <plugin>
  646. <groupId>org.apache.maven.plugins</groupId>
  647. <artifactId>maven-source-plugin</artifactId>
  648. <version>2.1.2</version>
  649. <executions>
  650. <execution>
  651. <id>attach-sources</id>
  652. <goals>
  653. <goal>jar</goal>
  654. </goals>
  655. </execution>
  656. </executions>
  657. </plugin>
  658. <plugin>
  659. <groupId>org.apache.maven.plugins</groupId>
  660. <artifactId>maven-javadoc-plugin</artifactId>
  661. <version>2.10.3</version>
  662. <configuration>
  663. <taglet>org.openmrs.tools.doclet.ShouldTaglet</taglet>
  664. <tagletArtifact>
  665. <groupId>org.openmrs.tools</groupId>
  666. <artifactId>openmrs-tools</artifactId>
  667. <version>${project.version}</version>
  668. </tagletArtifact>
  669. <!-- For some reason some packages from org.springframework are being
  670. included and causing errors. -->
  671. <excludePackageNames>org.springframework.*</excludePackageNames>
  672. </configuration>
  673. <executions>
  674. <execution>
  675. <id>attach-javadocs</id>
  676. <goals>
  677. <goal>jar</goal>
  678. </goals>
  679. </execution>
  680. </executions>
  681. </plugin>
  682. <!--This plugin's configuration is used to store Eclipse m2e settings
  683. only. It has no influence on the Maven build itself. -->
  684. <plugin>
  685. <groupId>org.eclipse.m2e</groupId>
  686. <artifactId>lifecycle-mapping</artifactId>
  687. <version>1.0.0</version>
  688. <configuration>
  689. <lifecycleMappingMetadata>
  690. <pluginExecutions>
  691. <pluginExecution>
  692. <pluginExecutionFilter>
  693. <groupId>
  694. com.googlecode.maven-java-formatter-plugin
  695. </groupId>
  696. <artifactId>
  697. maven-java-formatter-plugin
  698. </artifactId>
  699. <versionRange>
  700. [0.3,)
  701. </versionRange>
  702. <goals>
  703. <goal>format</goal>
  704. </goals>
  705. </pluginExecutionFilter>
  706. <action>
  707. <ignore/>
  708. </action>
  709. </pluginExecution>
  710. <pluginExecution>
  711. <pluginExecutionFilter>
  712. <groupId>
  713. org.apache.maven.plugins
  714. </groupId>
  715. <artifactId>
  716. maven-antrun-plugin
  717. </artifactId>
  718. <versionRange>
  719. [1.4,)
  720. </versionRange>
  721. <goals>
  722. <goal>run</goal>
  723. </goals>
  724. </pluginExecutionFilter>
  725. <action>
  726. <ignore/>
  727. </action>
  728. </pluginExecution>
  729. <pluginExecution>
  730. <pluginExecutionFilter>
  731. <groupId>
  732. org.apache.maven.plugins
  733. </groupId>
  734. <artifactId>
  735. maven-dependency-plugin
  736. </artifactId>
  737. <versionRange>
  738. [2.1,)
  739. </versionRange>
  740. <goals>
  741. <goal>
  742. unpack
  743. </goal>
  744. </goals>
  745. </pluginExecutionFilter>
  746. <action>
  747. <ignore/>
  748. </action>
  749. </pluginExecution>
  750. </pluginExecutions>
  751. </lifecycleMappingMetadata>
  752. </configuration>
  753. </plugin>
  754. <plugin>
  755. <groupId>org.sonarsource.scanner.maven</groupId>
  756. <artifactId>sonar-maven-plugin</artifactId>
  757. <version>3.4.0.905</version>
  758. </plugin>
  759. <plugin>
  760. <groupId>org.jacoco</groupId>
  761. <artifactId>jacoco-maven-plugin</artifactId>
  762. <version>0.8.0</version>
  763. <configuration>
  764. <includes>
  765. <include>org/openmrs/**</include>
  766. </includes>
  767. </configuration>
  768. <executions>
  769. <execution>
  770. <id>prepare-agent</id>
  771. <goals>
  772. <goal>prepare-agent</goal>
  773. </goals>
  774. </execution>
  775. </executions>
  776. </plugin>
  777. <plugin>
  778. <groupId>org.eluder.coveralls</groupId>
  779. <artifactId>coveralls-maven-plugin</artifactId>
  780. <version>4.2.0</version>
  781. </plugin>
  782. <plugin>
  783. <groupId>com.mycila</groupId>
  784. <artifactId>license-maven-plugin</artifactId>
  785. <version>3.0</version>
  786. <configuration>
  787. <header>/org/openmrs/license/license-header.txt</header>
  788. <includes>
  789. <include>**/*.java</include>
  790. <include>**/*.txt</include>
  791. <include>**/*.xml</include>
  792. </includes>
  793. <excludes>
  794. <exclude>**/list-repos-using-refapp-import.txt</exclude>
  795. <exclude>**/license-header.txt</exclude>
  796. <exclude>.git/**</exclude>
  797. <exclude>**/NaturalStrings.java</exclude>
  798. <exclude>src/main/resources/**/templates.xml</exclude>
  799. <exclude>src/main/java/org/springframework/**</exclude>
  800. <exclude>src/main/webapp/WEB-INF/view/scripts/dojo/**</exclude>
  801. <exclude>src/main/webapp/WEB-INF/view/scripts/jquery/**</exclude>
  802. <exclude>src/main/webapp/WEB-INF/view/scripts/jquery-ui/**</exclude>
  803. <exclude>src/main/webapp/WEB-INF/view/module/**</exclude>
  804. <!-- From gitignore -->
  805. <exclude>.idea/**</exclude>
  806. <exclude>target/**</exclude>
  807. <exclude>bin/**</exclude>
  808. <exclude>tmp/**</exclude>
  809. <exclude>.settings/**</exclude>
  810. <exclude>.externalToolBuilders/</exclude>
  811. <exclude>nbproject/private/</exclude>
  812. <exclude>build/</exclude>
  813. <exclude>bin/</exclude>
  814. <exclude>nbbuild/</exclude>
  815. <exclude>dist/</exclude>
  816. <exclude>nbdist/</exclude>
  817. <exclude>nbactions.xml</exclude>
  818. <exclude>nb-configuration.xml</exclude>
  819. <exclude>**/dwr-modules.xml</exclude>
  820. <exclude>build-number.txt</exclude>
  821. </excludes>
  822. </configuration>
  823. <executions>
  824. <execution>
  825. <goals>
  826. <goal>check</goal>
  827. </goals>
  828. </execution>
  829. </executions>
  830. </plugin>
  831. </plugins>
  832. </pluginManagement>
  833.  
  834. <plugins>
  835. <plugin>
  836. <groupId>org.codehaus.mojo</groupId>
  837. <artifactId>buildnumber-maven-plugin</artifactId>
  838. <executions>
  839. <execution>
  840. <phase>validate</phase>
  841. <goals>
  842. <goal>create</goal>
  843. </goals>
  844. </execution>
  845. </executions>
  846. </plugin>
  847. <plugin>
  848. <groupId>org.codehaus.mojo</groupId>
  849. <artifactId>build-helper-maven-plugin</artifactId>
  850. <executions>
  851. <execution>
  852. <id>parse-version</id>
  853. <phase>initialize</phase>
  854. <goals>
  855. <goal>parse-version</goal>
  856. </goals>
  857. </execution>
  858. </executions>
  859. </plugin>
  860. <plugin>
  861. <artifactId>maven-assembly-plugin</artifactId>
  862. <version>2.2-beta-5</version>
  863. <configuration>
  864. <descriptorRefs>
  865. <descriptorRef>project</descriptorRef>
  866. </descriptorRefs>
  867. </configuration>
  868. </plugin>
  869. <plugin>
  870. <groupId>org.apache.maven.plugins</groupId>
  871. <artifactId>maven-surefire-plugin</artifactId>
  872. <configuration>
  873. <failIfNoTests>false</failIfNoTests>
  874. <useSystemClassLoader>false</useSystemClassLoader>
  875. </configuration>
  876. </plugin>
  877. <plugin>
  878. <groupId>org.apache.maven.plugins</groupId>
  879. <artifactId>maven-jar-plugin</artifactId>
  880. </plugin>
  881. <plugin>
  882. <groupId>com.mycila</groupId>
  883. <artifactId>license-maven-plugin</artifactId>
  884. <configuration>
  885. <header>${project.basedir}/license-header.txt</header>
  886. </configuration>
  887. </plugin>
  888. </plugins>
  889. </build>
  890.  
  891. <profiles>
  892. <profile>
  893. <id>skip-default-test</id>
  894. <build>
  895. <plugins>
  896. <plugin>
  897. <groupId>org.apache.maven.plugins</groupId>
  898. <artifactId>maven-surefire-plugin</artifactId>
  899. <executions>
  900. <execution>
  901. <id>default-test</id>
  902. <configuration>
  903. <skipTests>true</skipTests>
  904. </configuration>
  905. </execution>
  906. </executions>
  907. </plugin>
  908. </plugins>
  909. </build>
  910. </profile>
  911. <profile>
  912. <id>integration-test</id>
  913. <build>
  914. <plugins>
  915. <plugin>
  916. <groupId>org.apache.maven.plugins</groupId>
  917. <artifactId>maven-surefire-plugin</artifactId>
  918. <executions>
  919. <execution>
  920. <id>integration-test</id>
  921. <phase>test</phase>
  922. <goals>
  923. <goal>test</goal>
  924. </goals>
  925. <configuration>
  926. <includes>
  927. <include>**/*IT.java</include>
  928. </includes>
  929. </configuration>
  930. </execution>
  931. </executions>
  932. </plugin>
  933. </plugins>
  934. </build>
  935. </profile>
  936. <profile>
  937. <id>sonar</id>
  938. <build>
  939. <plugins>
  940. <plugin>
  941. <groupId>org.apache.maven.plugins</groupId>
  942. <artifactId>maven-surefire-plugin</artifactId>
  943. <configuration>
  944. <properties>
  945. <property>
  946. <name>listener</name>
  947. <value>org.sonar.java.jacoco.JUnitListener</value>
  948. </property>
  949. </properties>
  950. <testFailureIgnore>false</testFailureIgnore>
  951. </configuration>
  952. </plugin>
  953. <plugin>
  954. <groupId>org.jacoco</groupId>
  955. <artifactId>jacoco-maven-plugin</artifactId>
  956. <executions>
  957. <execution>
  958. <id>prepare-agent</id>
  959. <goals>
  960. <goal>prepare-agent</goal>
  961. </goals>
  962. <phase>validate</phase>
  963. <configuration>
  964. <includes>
  965. <include>org.openmrs.*</include>
  966. </includes>
  967. </configuration>
  968. </execution>
  969. </executions>
  970. </plugin>
  971. </plugins>
  972. </build>
  973.  
  974. <dependencies>
  975. <dependency>
  976. <groupId>org.codehaus.sonar-plugins.java</groupId>
  977. <artifactId>sonar-jacoco-listeners</artifactId>
  978. <scope>test</scope>
  979. </dependency>
  980. </dependencies>
  981. </profile>
  982. </profiles>
  983.  
  984. <reporting>
  985. <plugins>
  986. <!-- docfilessubdirs config set to include image resource -->
  987. <plugin>
  988. <groupId>org.apache.maven.plugins</groupId>
  989. <artifactId>maven-javadoc-plugin</artifactId>
  990. <version>2.10.3</version>
  991. <configuration>
  992. <docfilessubdirs>true</docfilessubdirs>
  993. <bottom>&lt;em&gt;&lt;small&gt; Generated ${TIMESTAMP} NOTE - these libraries are in active development and subject to change&lt;/small&gt;&lt;/em&gt;</bottom>
  994. <header>&lt;a href="http://www.openmrs.org" target=_top&gt;&lt;img src="resources/openmrs-logo-small.gif" border=0/&gt;&lt;/a&gt;</header>
  995. <footer>&lt;a href="http://www.openmrs.org" target=_top&gt;${project.name}&lt;/a&gt;</footer>
  996. </configuration>
  997. </plugin>
  998. <plugin>
  999. <groupId>org.apache.maven.plugins</groupId>
  1000. <artifactId>maven-jxr-plugin</artifactId>
  1001. <version>2.3</version>
  1002. </plugin>
  1003. </plugins>
  1004. </reporting>
  1005.  
  1006. <repositories>
  1007. <repository>
  1008. <id>openmrs-repo</id>
  1009. <name>OpenMRS Nexus Repository</name>
  1010. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  1011. </repository>
  1012. </repositories>
  1013.  
  1014. <pluginRepositories>
  1015. <pluginRepository>
  1016. <id>openmrs-repo</id>
  1017. <name>OpenMRS Nexus Repository</name>
  1018. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  1019. <snapshots>
  1020. <enabled>false</enabled>
  1021. </snapshots>
  1022. </pluginRepository>
  1023. </pluginRepositories>
  1024.  
  1025. <distributionManagement>
  1026. <repository>
  1027. <id>openmrs-repo-releases</id>
  1028. <name>OpenMRS Nexus Releases</name>
  1029. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/releases</url>
  1030. </repository>
  1031. <snapshotRepository>
  1032. <id>openmrs-repo-snapshots</id>
  1033. <name>OpenMRS Nexus Snapshots</name>
  1034. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots</url>
  1035. </snapshotRepository>
  1036. </distributionManagement>
  1037.  
  1038. <properties>
  1039. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  1040. <javaCompilerVersion>1.8</javaCompilerVersion>
  1041. <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
  1042. <TIMESTAMP>${maven.build.timestamp}</TIMESTAMP>
  1043.  
  1044. <openmrs.version.long>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} ${parsedVersion.qualifier} Build ${revisionNumber}</openmrs.version.long>
  1045. <openmrs.version.short>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber}</openmrs.version.short>
  1046. <openmrs.version.shortnumericonly>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</openmrs.version.shortnumericonly>
  1047. <openmrs.version>${project.version}</openmrs.version>
  1048.  
  1049. <springVersion>4.1.4.RELEASE</springVersion>
  1050. <hibernateVersion>4.3.9.Final</hibernateVersion>
  1051. <customArgLineForTesting/>
  1052.  
  1053. <sonar.host.url>https://sonar.openmrs.org</sonar.host.url>
  1054. <sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable>
  1055. <sonar.issuesReport.lightModeOnly>true</sonar.issuesReport.lightModeOnly>
  1056. <sonar.issuesReport.console.enable>true</sonar.issuesReport.console.enable>
  1057. <sonar.analysis.mode>publish</sonar.analysis.mode>
  1058.  
  1059. <argLine>-Duser.language=en -Duser.region=US -Xmx2g ${customArgLineForTesting}</argLine>
  1060. </properties>
  1061. </project>
Advertisement
Add Comment
Please, Sign In to add comment