Guest User

Untitled

a guest
Jul 31st, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 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.module</groupId>
  7. <artifactId>hl7query</artifactId>
  8. <version>0.1-SNAPSHOT</version>
  9. </parent>
  10.  
  11. <artifactId>hl7query-omod</artifactId>
  12. <packaging>jar</packaging>
  13. <name>HL7 Query OMOD</name>
  14. <description>OMOD project for HL7Query</description>
  15.  
  16. <dependencies>
  17.  
  18. <!--
  19. Add other dependencies from parent's pom:
  20. <dependency>
  21. <groupId>org.other.library</groupId>
  22. <artifactId>library-name</artifactId>
  23. </dependency>
  24. -->
  25.  
  26. <!-- Begin OpenMRS modules -->
  27.  
  28. <dependency>
  29. <groupId>${project.parent.groupId}</groupId>
  30. <artifactId>${project.parent.artifactId}-api</artifactId>
  31. <version>${project.parent.version}</version>
  32. </dependency>
  33.  
  34.  
  35. <!-- End OpenMRS modules -->
  36.  
  37.  
  38. <!-- Begin OpenMRS core -->
  39.  
  40. <dependency>
  41. <groupId>org.openmrs.api</groupId>
  42. <artifactId>openmrs-api</artifactId>
  43. <type>jar</type>
  44. </dependency>
  45.  
  46. <dependency>
  47. <groupId>org.openmrs.web</groupId>
  48. <artifactId>openmrs-web</artifactId>
  49. <type>jar</type>
  50. </dependency>
  51.  
  52. <dependency>
  53. <groupId>org.openmrs.api</groupId>
  54. <artifactId>openmrs-api</artifactId>
  55. <type>test-jar</type>
  56. <scope>test</scope>
  57. </dependency>
  58.  
  59. <dependency>
  60. <groupId>org.openmrs.web</groupId>
  61. <artifactId>openmrs-web</artifactId>
  62. <type>test-jar</type>
  63. <scope>test</scope>
  64. </dependency>
  65.  
  66. <dependency>
  67. <groupId>org.openmrs.test</groupId>
  68. <artifactId>openmrs-test</artifactId>
  69. <type>pom</type>
  70. <scope>test</scope>
  71. </dependency>
  72.  
  73. <!-- End OpenMRS core -->
  74.  
  75. </dependencies>
  76.  
  77. <build>
  78. <finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
  79. <resources>
  80. <resource>
  81. <directory>src/main/resources</directory>
  82. <filtering>true</filtering>
  83. </resource>
  84. <resource>
  85. <directory>src/main/webapp</directory>
  86. <filtering>false</filtering>
  87. <excludes>
  88. <exclude>resources</exclude>
  89. </excludes>
  90. <targetPath>web/module</targetPath>
  91. </resource>
  92. <resource>
  93. <directory>src/main/webapp</directory>
  94. <filtering>false</filtering>
  95. <includes>
  96. <include>resources</include>
  97. </includes>
  98. <targetPath>web/module</targetPath>
  99. </resource>
  100. </resources>
  101.  
  102. <testResources>
  103. <testResource>
  104. <directory>src/test/resources</directory>
  105. <filtering>true</filtering>
  106. </testResource>
  107. </testResources>
  108.  
  109. <pluginManagement>
  110. <plugins>
  111. <plugin>
  112. <artifactId>maven-resources-plugin</artifactId>
  113. <configuration>
  114. <includeEmptyDirs>true</includeEmptyDirs>
  115. </configuration>
  116. </plugin>
  117. <!--This plugin's configuration is used to store Eclipse m2e settings
  118. only. It has no influence on the Maven build itself. -->
  119. <plugin>
  120. <groupId>org.eclipse.m2e</groupId>
  121. <artifactId>lifecycle-mapping</artifactId>
  122. <version>1.0.0</version>
  123. <configuration>
  124. <lifecycleMappingMetadata>
  125. <pluginExecutions>
  126. <pluginExecution>
  127. <pluginExecutionFilter>
  128. <groupId>org.openmrs.maven.plugins</groupId>
  129. <artifactId>maven-openmrs-plugin</artifactId>
  130. <versionRange>[1.0.1,)</versionRange>
  131. <goals>
  132. <goal>initialize-module</goal>
  133. </goals>
  134. </pluginExecutionFilter>
  135. <action>
  136. <ignore></ignore>
  137. </action>
  138. </pluginExecution>
  139. <pluginExecution>
  140. <pluginExecutionFilter>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-dependency-plugin</artifactId>
  143. <versionRange>[2.4,)</versionRange>
  144. <goals>
  145. <goal>unpack-dependencies</goal>
  146. </goals>
  147. </pluginExecutionFilter>
  148. <action>
  149. <ignore></ignore>
  150. </action>
  151. </pluginExecution>
  152. </pluginExecutions>
  153. </lifecycleMappingMetadata>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </pluginManagement>
  158.  
  159. <plugins>
  160. <plugin>
  161. <groupId>org.openmrs.maven.plugins</groupId>
  162. <artifactId>maven-openmrs-plugin</artifactId>
  163. <extensions>true</extensions>
  164. <executions>
  165. <execution>
  166. <id>init</id>
  167. <phase>initialize</phase>
  168. <goals>
  169. <goal>initialize-module</goal>
  170. </goals>
  171. </execution>
  172. <execution>
  173. <id>pack</id>
  174. <phase>package</phase>
  175. <goals>
  176. <goal>package-module</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-dependency-plugin</artifactId>
  184. <executions>
  185. <execution>
  186. <id>Expand moduleApplicationContext and messages</id>
  187. <goals>
  188. <goal>unpack-dependencies</goal>
  189. </goals>
  190. <phase>generate-resources</phase>
  191. <configuration>
  192. <includeGroupIds>${project.parent.groupId}</includeGroupIds>
  193. <includeArtifactIds>${project.parent.artifactId}-api</includeArtifactIds>
  194. <excludeTransitive>true</excludeTransitive>
  195. <includes>**/*</includes>
  196. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  197. </configuration>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. </plugins>
  202. </build>
  203.  
  204. </project>
Advertisement
Add Comment
Please, Sign In to add comment