Working pom.xml for tests
<groupId>org.openrefine</groupId>
<artifactId>openrefine</artifactId>
- <packaging>war</packaging>
+ <packaging>jar</packaging>
<version>3.0-SNAPSHOT</version>
<name>Open Refine</name>
<testSourceDirectory>main/tests/server/src</testSourceDirectory>
<testResources>
<testResource>
- <directory>main/tests/server/src</directory>
+ <directory>main/tests/data</directory>
</testResource>
</testResources>
<plugins>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
- <plugin>
+ <!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
</resource>
</webResources>
</configuration>
- </plugin>
- <plugin>
+ </plugin> -->
+ <!-- <plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<refine.data>${refine.data}</refine.data>
</systemProperties>
</configuration>
- </plugin>
+ </plugin> -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.22.0</version>
+ <configuration>
+ <suiteXmlFiles>
+ <suiteXmlFile>main/tests/server/conf/tests.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.5.6</version>
+ <version>1.7.18</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.18</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>tableschema-java</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ <version>2.9.9</version>
+ </dependency>
<dependency>
<groupId>org.apache.jena</groupId>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito</artifactId>
+ <artifactId>powermock-api-mockito2</artifactId>
<version>1.7.1</version>
<scope>test</scope>
</dependency>
