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> <groupId>org.openrefine</groupId>
<artifactId>openrefine</artifactId> <artifactId>openrefine</artifactId>
<packaging>war</packaging> <packaging>jar</packaging>
<version>3.0-SNAPSHOT</version> <version>3.0-SNAPSHOT</version>
<name>Open Refine</name> <name>Open Refine</name>
@ -34,7 +34,7 @@
<testSourceDirectory>main/tests/server/src</testSourceDirectory> <testSourceDirectory>main/tests/server/src</testSourceDirectory>
<testResources> <testResources>
<testResource> <testResource>
<directory>main/tests/server/src</directory> <directory>main/tests/data</directory>
</testResource> </testResource>
</testResources> </testResources>
<plugins> <plugins>
@ -76,7 +76,7 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <!-- <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>2.2</version> <version>2.2</version>
@ -108,8 +108,8 @@
</resource> </resource>
</webResources> </webResources>
</configuration> </configuration>
</plugin> </plugin> -->
<plugin> <!-- <plugin>
<groupId>org.apache.tomcat.maven</groupId> <groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId> <artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version> <version>2.2</version>
@ -122,11 +122,21 @@
<refine.data>${refine.data}</refine.data> <refine.data>${refine.data}</refine.data>
</systemProperties> </systemProperties>
</configuration> </configuration>
</plugin> </plugin> -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
</plugin> </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> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
@ -211,7 +221,12 @@
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId> <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>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
@ -323,6 +338,11 @@
<artifactId>tableschema-java</artifactId> <artifactId>tableschema-java</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.9</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.jena</groupId> <groupId>org.apache.jena</groupId>
@ -375,7 +395,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.powermock</groupId> <groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId> <artifactId>powermock-api-mockito2</artifactId>
<version>1.7.1</version> <version>1.7.1</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>