Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 3.98 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.         <parent>
  5.                 <groupId>org.openmrs.module</groupId>
  6.                 <artifactId>feedback-parent</artifactId>
  7.                 <version>1.0.0-SNAPSHOT</version>
  8.         </parent>
  9.  
  10.         <groupId>org.openmrs.module</groupId>
  11.         <artifactId>feedback</artifactId>
  12.         <packaging>omod</packaging>
  13.         <name>General Feedback Module OMOD</name>
  14.         <description>OpenMRS module project for Hello World Module</description>
  15.  
  16.         <dependencies>
  17.  
  18.                 <dependency>
  19.                         <groupId>org.openmrs.module</groupId>
  20.                         <artifactId>feedback-api</artifactId>
  21.                         <version>${project.parent.version}</version>
  22.                 </dependency>
  23.                
  24.                 <dependency>
  25.                         <groupId>org.openmrs.api</groupId>
  26.  
  27.                         <artifactId>openmrs-api</artifactId>
  28.                         <type>jar</type>
  29.                 </dependency>
  30.                 <dependency>
  31.                         <groupId>org.openmrs.api</groupId>
  32.                         <artifactId>openmrs-api</artifactId>
  33.                         <type>test-jar</type>
  34.  
  35.                 </dependency>
  36.                 <dependency>
  37.                         <groupId>org.openmrs.web</groupId>
  38.                         <artifactId>openmrs-web</artifactId>
  39.                         <type>jar</type>
  40.                 </dependency>
  41.                 <dependency>
  42.  
  43.                         <groupId>org.openmrs.web</groupId>
  44.                         <artifactId>openmrs-web</artifactId>
  45.                         <type>test-jar</type>
  46.                 </dependency>
  47.                 <dependency>
  48.                         <groupId>org.openmrs.test</groupId>
  49.                         <artifactId>openmrs-test</artifactId>
  50.  
  51.                         <type>pom</type>
  52.                 </dependency>
  53.                 <dependency>
  54.                         <groupId>org.testng</groupId>
  55.                         <artifactId>testng</artifactId>
  56.                         <version>6.0.1</version>
  57.                         <scope>test</scope>
  58.  
  59.                 </dependency>
  60.         </dependencies>
  61.  
  62.         <build>
  63.                 <resources>
  64.                         <resource>
  65.                                 <directory>src/main/resources</directory>
  66.                                 <filtering>true</filtering>
  67.  
  68.                         </resource>
  69.                         <resource>
  70.                                 <directory>src/main/webapp</directory>
  71.                                 <filtering>true</filtering>
  72.                                 <excludes>
  73.                                         <exclude>resources</exclude>
  74.                                 </excludes>
  75.  
  76.                                 <targetPath>web/module</targetPath>
  77.                         </resource>
  78.                         <resource>
  79.                                 <directory>src/main/webapp</directory>
  80.                                 <filtering>false</filtering>
  81.                                 <includes>
  82.                                         <include>resources</include>
  83.  
  84.                                 </includes>
  85.                                 <targetPath>web/module</targetPath>
  86.                         </resource>
  87.                 </resources>
  88.                 <testResources>
  89.                         <testResource>
  90.                                 <directory>src/test/resources</directory>
  91.                                 <filtering>true</filtering>
  92.  
  93.                                 <includes>
  94.                                         <include>**/*.xml</include>
  95.                                         <include>**/*.txt</include>
  96.                                         <include>gaurav.xml</include>
  97.                                         <include>gauravTest.xml</include>
  98.                                 </includes>
  99.                         </testResource>
  100.  
  101.                         <testResource>
  102.                                 <directory>src/test/resources</directory>
  103.                                 <filtering>false</filtering>
  104.                                 <excludes>
  105.                                         <exclude>**/*.xml</exclude>
  106.                                         <exclude>**/*.txt</exclude>
  107.                                 </excludes>
  108.  
  109.                         </testResource>
  110.                 </testResources>
  111.                 <pluginManagement>
  112.                         <plugins>
  113.                                 <plugin>
  114.                                         <artifactId>maven-resources-plugin</artifactId>
  115.                                         <configuration>
  116.                                                 <includeEmptyDirs>true</includeEmptyDirs>
  117.  
  118.                                         </configuration>
  119.                                 </plugin>
  120.                         </plugins>
  121.                 </pluginManagement>
  122.                 <plugins>
  123.                         <plugin>
  124.                                 <groupId>org.openmrs.maven.plugins</groupId>
  125.                                 <artifactId>maven-openmrs-plugin</artifactId>
  126.  
  127.                                 <extensions>true</extensions>
  128.                                 <configuration>
  129.                                         <verifyOmod>false</verifyOmod>
  130.                                 </configuration>
  131.                         </plugin>
  132.                 </plugins>
  133.         </build>
  134.  <profiles>
  135.  
  136.   <profile>
  137.    <id>netbeans-private-testng</id>
  138.    <activation>
  139.     <property>
  140.      <name>netbeans.testng.action</name>
  141.     </property>
  142.    </activation>
  143.    <build>
  144.  
  145.     <plugins>
  146.      <plugin>
  147.       <groupId>org.apache.maven.plugins</groupId>
  148.       <artifactId>maven-surefire-plugin</artifactId>
  149.       <version>2.8.1</version>
  150.       <configuration>
  151.        <suiteXmlFiles>
  152.  
  153.         <suiteXmlFile>target/nb-private/testng-suite.xml</suiteXmlFile>
  154.        </suiteXmlFiles>
  155.       </configuration>
  156.      </plugin>
  157.     </plugins>
  158.    </build>
  159.   </profile>
  160.  </profiles>
  161.  
  162.  <properties>
  163.                 <MODULE_ID>${artifactId}</MODULE_ID>
  164.                 <MODULE_NAME>${project.parent.name}</MODULE_NAME>
  165.                 <MODULE_VERSION>${project.parent.version}</MODULE_VERSION>
  166.                 <MODULE_PACKAGE>${project.parent.groupId}.${artifactId}</MODULE_PACKAGE>
  167.         </properties>
  168. </project>