Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.16 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.  
  6. <parent>
  7. <groupId>org.openmrs.maven.parents</groupId>
  8. <artifactId>simplelabentry</artifactId>
  9. <version>1.9-SNAPSHOT</version>
  10. </parent>
  11.  
  12. <groupId>org.openmrs.module</groupId>
  13. <artifactId>simplelabentry</artifactId>
  14. <version>1.9-SNAPSHOT</version>
  15. <packaging>pom</packaging>
  16. <name>simplelabentry</name>
  17. <description>Parent project for simplelabentry</description>
  18.  
  19. <url>http://openmrs.org</url>
  20.  
  21. <scm>
  22. <connection>scm:git:https://github.com/openmrs/openmrs-module-simplelabentry/</connection>
  23. <developerConnection>scm:git:https://github.com/openmrs/openmrs-module-simplelabentry/</developerConnection>
  24. <url>https://github.com/openmrs/openmrs-module-simplelabentry/</url>
  25. <tag>HEAD</tag>
  26. </scm>
  27.  
  28. <distributionManagement>
  29. <repository>
  30. <id>openmrs-repo-modules</id>
  31. <name>OpenMRS Modules</name>
  32. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/modules</url>
  33. </repository>
  34. <snapshotRepository>
  35. <id>openmrs-repo-snapshots</id>
  36. <name>OpenMRS Snapshots</name>
  37. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots</url>
  38. </snapshotRepository>
  39. </distributionManagement>
  40.  
  41. <modules>
  42. <module>api</module>
  43. <module>omod</module>
  44. </modules>
  45.  
  46. <properties>
  47. <openMRSVersion>1.11.6</openMRSVersion>
  48. <poiVersion>3.2-FINAL</poiVersion>
  49. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  50. <MODULE_ID>${project.parent.artifactId}</MODULE_ID>
  51. <MODULE_NAME>simplelabentry</MODULE_NAME>
  52. <MODULE_VERSION>${project.parent.version}</MODULE_VERSION>
  53. <MODULE_PACKAGE>${project.parent.groupId}.${project.parent.artifactId}</MODULE_PACKAGE>
  54. </properties>
  55.  
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.openmrs.api</groupId>
  59. <artifactId>openmrs-api</artifactId>
  60. <version>${openMRSVersion}</version>
  61. <type>jar</type>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.openmrs.web</groupId>
  66. <artifactId>openmrs-web</artifactId>
  67. <version>${openMRSVersion}</version>
  68. <type>jar</type>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.openmrs.test</groupId>
  73. <artifactId>openmrs-test</artifactId>
  74. <version>${openMRSVersion}</version>
  75. <type>jar</type>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.poi</groupId>
  80. <artifactId>poi</artifactId>
  81. <version>${poiVersion}</version>
  82. <scope>compile</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>log4j</groupId>
  86. <artifactId>log4j</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>commons-logging</groupId>
  90. <artifactId>commons-logging</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. </dependencies>
  95.  
  96. <build>
  97. <resources>
  98. <resource>
  99. <directory>src/main/resources</directory>
  100. <filtering>false</filtering>
  101. <excludes>
  102. <exclude>**/*.xml</exclude>
  103. <exclude>**/*.properties</exclude>
  104. </excludes>
  105. </resource>
  106. <resource>
  107. <directory>src/main/resources</directory>
  108. <filtering>true</filtering>
  109. <includes>
  110. <include>**/*.xml</include>
  111. <include>**/*.properties</include>
  112. </includes>
  113. </resource>
  114. </resources>
  115. <testResources>
  116. <testResource>
  117. <directory>src/test/resources</directory>
  118. <filtering>false</filtering>
  119. <excludes>
  120. <exclude>**/*.xml</exclude>
  121. <exclude>**/*.properties</exclude>
  122. </excludes>
  123. </testResource>
  124. <testResource>
  125. <directory>src/test/resources</directory>
  126. <filtering>true</filtering>
  127. <includes>
  128. <include>**/*.xml</include>
  129. <include>**/*.properties</include>
  130. </includes>
  131. </testResource>
  132. </testResources>
  133.  
  134. <plugins>
  135. <plugin>
  136. <groupId>org.codehaus.mojo</groupId>
  137. <artifactId>build-helper-maven-plugin</artifactId>
  138. <version>1.7</version>
  139. <executions>
  140. <execution>
  141. <phase>generate-test-resources</phase>
  142. <goals>
  143. <goal>parse-version</goal>
  144. </goals>
  145. <configuration>
  146. <propertyPrefix>omrsVersion</propertyPrefix>
  147. <versionString>${openMRSVersion}</versionString>
  148. </configuration>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. </plugins>
  153.  
  154. <pluginManagement>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-compiler-plugin</artifactId>
  159. <configuration>
  160. <target>1.6</target>
  161. <source>1.6</source>
  162. </configuration>
  163. </plugin>
  164.  
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-resources-plugin</artifactId>
  168. <configuration>
  169. <includeEmptyDirs>true</includeEmptyDirs>
  170. </configuration>
  171. </plugin>
  172.  
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-surefire-plugin</artifactId>
  176. <version>2.5</version>
  177. <configuration>
  178. <!-- Some tests are locale specific -->
  179. <argLine>-Duser.language=en -Duser.region=US</argLine>
  180. </configuration>
  181. </plugin>
  182.  
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-release-plugin</artifactId>
  186. <version>2.5</version>
  187. <configuration>
  188. <autoVersionSubmodules>true</autoVersionSubmodules>
  189. <tagNameFormat>@{project.version}</tagNameFormat>
  190. </configuration>
  191. </plugin>
  192.  
  193. <plugin>
  194. <groupId>org.openmrs.maven.plugins</groupId>
  195. <artifactId>maven-openmrs-plugin</artifactId>
  196. <version>1.0.1</version>
  197. <extensions>true</extensions>
  198. <executions>
  199. <execution>
  200. <id>init</id>
  201. <phase>initialize</phase>
  202. <goals>
  203. <goal>initialize-module</goal>
  204. </goals>
  205. </execution>
  206. <execution>
  207. <id>pack</id>
  208. <phase>package</phase>
  209. <goals>
  210. <goal>package-module</goal>
  211. </goals>
  212. </execution>
  213. </executions>
  214. </plugin>
  215.  
  216. <!--This plugin's configuration is used to store Eclipse m2e settings
  217. only. It has no influence on the Maven build itself. -->
  218. <plugin>
  219. <groupId>org.eclipse.m2e</groupId>
  220. <artifactId>lifecycle-mapping</artifactId>
  221. <version>1.0.0</version>
  222. <configuration>
  223. <lifecycleMappingMetadata>
  224. <pluginExecutions>
  225. <pluginExecution>
  226. <pluginExecutionFilter>
  227. <groupId>
  228. org.openmrs.maven.plugins
  229. </groupId>
  230. <artifactId>
  231. maven-openmrs-plugin
  232. </artifactId>
  233. <versionRange>
  234. [1.0.1,)
  235. </versionRange>
  236. <goals>
  237. <goal>
  238. initialize-module
  239. </goal>
  240. </goals>
  241. </pluginExecutionFilter>
  242. <action>
  243. <ignore />
  244. </action>
  245. </pluginExecution>
  246. <pluginExecution>
  247. <pluginExecutionFilter>
  248. <groupId>
  249. org.apache.maven.plugins
  250. </groupId>
  251. <artifactId>
  252. maven-dependency-plugin
  253. </artifactId>
  254. <versionRange>
  255. [2.1,)
  256. </versionRange>
  257. <goals>
  258. <goal>
  259. unpack-dependencies
  260. </goal>
  261. </goals>
  262. </pluginExecutionFilter>
  263. <action>
  264. <ignore />
  265. </action>
  266. </pluginExecution>
  267. </pluginExecutions>
  268. </lifecycleMappingMetadata>
  269. </configuration>
  270. </plugin>
  271. </plugins>
  272. </pluginManagement>
  273. </build>
  274.  
  275. <repositories>
  276. <repository>
  277. <id>openmrs-repo</id>
  278. <name>OpenMRS Nexus Repository</name>
  279. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  280. </repository>
  281. </repositories>
  282.  
  283. <pluginRepositories>
  284. <pluginRepository>
  285. <id>openmrs-repo</id>
  286. <name>OpenMRS Nexus Repository</name>
  287. <url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
  288. <snapshots>
  289. <enabled>false</enabled>
  290. </snapshots>
  291. </pluginRepository>
  292. </pluginRepositories>
  293.  
  294. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement