Working pom.xml for tests

This commit is contained in:
Antonin Delpeuch 2018-08-12 19:51:17 +01:00
parent 5dbfc44335
commit aeb7338b22

36
pom.xml
View File

@ -4,7 +4,7 @@
<groupId>org.openrefine</groupId>
<artifactId>openrefine</artifactId>
<packaging>war</packaging>
<packaging>jar</packaging>
<version>3.0-SNAPSHOT</version>
<name>Open Refine</name>
@ -34,7 +34,7 @@
<testSourceDirectory>main/tests/server/src</testSourceDirectory>
<testResources>
<testResource>
<directory>main/tests/server/src</directory>
<directory>main/tests/data</directory>
</testResource>
</testResources>
<plugins>
@ -76,7 +76,7 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
@ -108,8 +108,8 @@
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
</plugin> -->
<!-- <plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
@ -122,11 +122,21 @@
<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>
@ -211,7 +221,12 @@
<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>
@ -323,6 +338,11 @@
<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>
@ -375,7 +395,7 @@
</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>