Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.openmrs.module</groupId>
- <artifactId>locationbasedaccess</artifactId>
- <version>0.2.0-SNAPSHOT</version>
- </parent>
- <artifactId>locationbasedaccess-omod</artifactId>
- <packaging>jar</packaging>
- <name>Location Based Access Control OMOD</name>
- <description>OMOD project for Location Based Access Control</description>
- <dependencies>
- <dependency>
- <groupId>${project.parent.groupId}</groupId>
- <artifactId>${project.parent.artifactId}-api</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.openmrs.module</groupId>
- <artifactId>webservices.rest-omod</artifactId>
- <version>${openMRSVersion.Rest}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.openmrs.module</groupId>
- <artifactId>webservices.rest-omod-common</artifactId>
- <version>${openMRSVersion.Rest}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openmrs.api</groupId>
- <artifactId>openmrs-api</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.openmrs.web</groupId>
- <artifactId>openmrs-web</artifactId>
- <version>2.0.5</version>
- <classifier>tests</classifier>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>4.0.1</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/webapp</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>resources</exclude>
- </excludes>
- <targetPath>web/module</targetPath>
- </resource>
- <resource>
- <directory>src/main/webapp</directory>
- <filtering>false</filtering>
- <includes>
- <include>resources</include>
- </includes>
- <targetPath>web/module</targetPath>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.openmrs.maven.plugins</groupId>
- <artifactId>maven-openmrs-plugin</artifactId>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>init</id>
- <phase>initialize</phase>
- <goals>
- <goal>initialize-module</goal>
- </goals>
- </execution>
- <execution>
- <id>pack</id>
- <phase>package</phase>
- <goals>
- <goal>package-module</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>Expand moduleApplicationContext and messages</id>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <includeGroupIds>${project.parent.groupId}</includeGroupIds>
- <includeArtifactIds>${project.parent.artifactId}-api</includeArtifactIds>
- <excludeTransitive>true</excludeTransitive>
- <includes>**/*</includes>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement