Advertisement
Guest User

Untitled

a guest
Jul 7th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3.  
  4. <parent>
  5. <groupId>org.openmrs.module</groupId>
  6. <artifactId>locationbasedaccess</artifactId>
  7. <version>0.2.0-SNAPSHOT</version>
  8. </parent>
  9.  
  10. <artifactId>locationbasedaccess-omod</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Location Based Access Control OMOD</name>
  13. <description>OMOD project for Location Based Access Control</description>
  14.  
  15. <dependencies>
  16. <dependency>
  17. <groupId>${project.parent.groupId}</groupId>
  18. <artifactId>${project.parent.artifactId}-api</artifactId>
  19. <version>${project.parent.version}</version>
  20. <scope>compile</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.openmrs.module</groupId>
  24. <artifactId>webservices.rest-omod</artifactId>
  25. <version>${openMRSVersion.Rest}</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.openmrs.module</groupId>
  30. <artifactId>webservices.rest-omod-common</artifactId>
  31. <version>${openMRSVersion.Rest}</version>
  32. <classifier>tests</classifier>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.openmrs.api</groupId>
  37. <artifactId>openmrs-api</artifactId>
  38. <type>test-jar</type>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.openmrs.web</groupId>
  42. <artifactId>openmrs-web</artifactId>
  43. <version>2.0.5</version>
  44. <classifier>tests</classifier>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>javax.servlet-api</artifactId>
  49. <version>4.0.1</version>
  50. <scope>provided</scope>
  51. </dependency>
  52. </dependencies>
  53.  
  54. <build>
  55. <finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
  56. <resources>
  57. <resource>
  58. <directory>src/main/resources</directory>
  59. <filtering>true</filtering>
  60. </resource>
  61. <resource>
  62. <directory>src/main/webapp</directory>
  63. <filtering>false</filtering>
  64. <excludes>
  65. <exclude>resources</exclude>
  66. </excludes>
  67. <targetPath>web/module</targetPath>
  68. </resource>
  69. <resource>
  70. <directory>src/main/webapp</directory>
  71. <filtering>false</filtering>
  72. <includes>
  73. <include>resources</include>
  74. </includes>
  75. <targetPath>web/module</targetPath>
  76. </resource>
  77. </resources>
  78.  
  79. <plugins>
  80. <plugin>
  81. <groupId>org.openmrs.maven.plugins</groupId>
  82. <artifactId>maven-openmrs-plugin</artifactId>
  83. <extensions>true</extensions>
  84. <executions>
  85. <execution>
  86. <id>init</id>
  87. <phase>initialize</phase>
  88. <goals>
  89. <goal>initialize-module</goal>
  90. </goals>
  91. </execution>
  92. <execution>
  93. <id>pack</id>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>package-module</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-dependency-plugin</artifactId>
  104. <executions>
  105. <execution>
  106. <id>Expand moduleApplicationContext and messages</id>
  107. <goals>
  108. <goal>unpack-dependencies</goal>
  109. </goals>
  110. <phase>generate-resources</phase>
  111. <configuration>
  112. <includeGroupIds>${project.parent.groupId}</includeGroupIds>
  113. <includeArtifactIds>${project.parent.artifactId}-api</includeArtifactIds>
  114. <excludeTransitive>true</excludeTransitive>
  115. <includes>**/*</includes>
  116. <outputDirectory>${project.build.directory}/classes</outputDirectory>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123.  
  124. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement