Some days back I was strucked in testing my GSoC project for almost 1 week and at the end it is the smartness of Netbeans that costed this when I created the testcases.Netbeans modified this[1] to something like this [2] and wasted a lot of my time.
[1] : https://gist.github.com/
[2] : https://gist.github.com/
[1] : Error when loading gists from http://gist.github.com/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>feedback-parent</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>feedback</artifactId> | |
<packaging>omod</packaging> | |
<name>General Feedback Module OMOD</name> | |
<description>OpenMRS module project for Hello World Module</description> | |
<dependencies> | |
<dependency> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>feedback-api</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.api</groupId> | |
<artifactId>openmrs-api</artifactId> | |
<type>jar</type> | |
</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> | |
<type>jar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.web</groupId> | |
<artifactId>openmrs-web</artifactId> | |
<type>test-jar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.test</groupId> | |
<artifactId>openmrs-test</artifactId> | |
<type>pom</type> | |
</dependency> | |
</dependencies> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<filtering>true</filtering> | |
</resource> | |
<resource> | |
<directory>src/main/webapp</directory> | |
<filtering>true</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> | |
<testResources> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>**/*.xml</include> | |
<include>**/*.txt</include> | |
<include>gaurav.xml</include> | |
<include>gauravTest.xml</include> | |
</includes> | |
</testResource> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>false</filtering> | |
<excludes> | |
<exclude>**/*.xml</exclude> | |
<exclude>**/*.txt</exclude> | |
</excludes> | |
</testResource> | |
</testResources> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<configuration> | |
<includeEmptyDirs>true</includeEmptyDirs> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.openmrs.maven.plugins</groupId> | |
<artifactId>maven-openmrs-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<verifyOmod>false</verifyOmod> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<MODULE_ID>${artifactId}</MODULE_ID> | |
<MODULE_NAME>${project.parent.name}</MODULE_NAME> | |
<MODULE_VERSION>${project.parent.version}</MODULE_VERSION> | |
<MODULE_PACKAGE>${project.parent.groupId}.${artifactId}</MODULE_PACKAGE> | |
</properties> | |
</project> |
[2] : Error when loading gists from http://gist.github.com/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>feedback-parent</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>feedback</artifactId> | |
<packaging>omod</packaging> | |
<name>General Feedback Module OMOD</name> | |
<description>OpenMRS module project for Hello World Module</description> | |
<dependencies> | |
<dependency> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>feedback-api</artifactId> | |
<version>${project.parent.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.api</groupId> | |
<artifactId>openmrs-api</artifactId> | |
<type>jar</type> | |
</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> | |
<type>jar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.web</groupId> | |
<artifactId>openmrs-web</artifactId> | |
<type>test-jar</type> | |
</dependency> | |
<dependency> | |
<groupId>org.openmrs.test</groupId> | |
<artifactId>openmrs-test</artifactId> | |
<type>pom</type> | |
</dependency> | |
<dependency> | |
<groupId>org.testng</groupId> | |
<artifactId>testng</artifactId> | |
<version>6.0.1</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<filtering>true</filtering> | |
</resource> | |
<resource> | |
<directory>src/main/webapp</directory> | |
<filtering>true</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> | |
<testResources> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>**/*.xml</include> | |
<include>**/*.txt</include> | |
<include>gaurav.xml</include> | |
<include>gauravTest.xml</include> | |
</includes> | |
</testResource> | |
<testResource> | |
<directory>src/test/resources</directory> | |
<filtering>false</filtering> | |
<excludes> | |
<exclude>**/*.xml</exclude> | |
<exclude>**/*.txt</exclude> | |
</excludes> | |
</testResource> | |
</testResources> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<configuration> | |
<includeEmptyDirs>true</includeEmptyDirs> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.openmrs.maven.plugins</groupId> | |
<artifactId>maven-openmrs-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<verifyOmod>false</verifyOmod> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>netbeans-private-testng</id> | |
<activation> | |
<property> | |
<name>netbeans.testng.action</name> | |
</property> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.8.1</version> | |
<configuration> | |
<suiteXmlFiles> | |
<suiteXmlFile>target/nb-private/testng-suite.xml</suiteXmlFile> | |
</suiteXmlFiles> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<properties> | |
<MODULE_ID>${artifactId}</MODULE_ID> | |
<MODULE_NAME>${project.parent.name}</MODULE_NAME> | |
<MODULE_VERSION>${project.parent.version}</MODULE_VERSION> | |
<MODULE_PACKAGE>${project.parent.groupId}.${artifactId}</MODULE_PACKAGE> | |
</properties> | |
</project> | |