Working pom.xml for tests

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

62
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>
@ -187,7 +197,7 @@
<groupId>org.mozilla</groupId> <groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId> <artifactId>rhino</artifactId>
<version>1.7.10</version> <version>1.7.10</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
@ -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>
@ -228,11 +243,11 @@
<artifactId>commons-fileupload</artifactId> <artifactId>commons-fileupload</artifactId>
<version>1.2.1</version> <version>1.2.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>velocity</groupId> <groupId>velocity</groupId>
<artifactId>velocity</artifactId> <artifactId>velocity</artifactId>
<version>1.5</version> <version>1.5</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>marc4j</groupId> <groupId>marc4j</groupId>
<artifactId>marc4j</artifactId> <artifactId>marc4j</artifactId>
@ -308,11 +323,11 @@
<artifactId>swc-parser-lazy</artifactId> <artifactId>swc-parser-lazy</artifactId>
<version>3.1.7</version> <version>3.1.7</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.everit.json</groupId> <groupId>org.everit.json</groupId>
<artifactId>org.everit.json.schema</artifactId> <artifactId>org.everit.json.schema</artifactId>
<version>1.5.1</version> <version>1.5.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.frictionlessdata</groupId> <groupId>io.frictionlessdata</groupId>
<artifactId>datapackage-java</artifactId> <artifactId>datapackage-java</artifactId>
@ -323,27 +338,32 @@
<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>
<artifactId>jena-arq</artifactId> <artifactId>jena-arq</artifactId>
<version>3.6.0</version> <version>3.6.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.jena</groupId> <groupId>org.apache.jena</groupId>
<artifactId>jena-base</artifactId> <artifactId>jena-base</artifactId>
<version>3.6.0</version> <version>3.6.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.jena</groupId> <groupId>org.apache.jena</groupId>
<artifactId>jena-cmds</artifactId> <artifactId>jena-cmds</artifactId>
<version>3.6.0</version> <version>3.6.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.jena</groupId> <groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId> <artifactId>jena-core</artifactId>
<version>3.6.0</version> <version>3.6.0</version>
</dependency> </dependency>
@ -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>