<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.feedzai</groupId>
    <artifactId>openml-r</artifactId>
    <version>0.2.1</version>
  </parent>
  <artifactId>openml-r-common</artifactId>
  <version>0.2.1</version>
  <name>R Feedzai OpenML commons</name>
  <description>Contains classes and logic related with the import of a model generated in R</description>
  <dependencies>
    <dependency>
      <groupId>com.feedzai</groupId>
      <artifactId>openml-api</artifactId>
    </dependency>
    <dependency>
      <groupId>com.feedzai</groupId>
      <artifactId>openml-utils</artifactId>
    </dependency>
    <dependency>
      <groupId>com.feedzai</groupId>
      <artifactId>openml-utils</artifactId>
      <type>test-jar</type>
    </dependency>
    <dependency>
      <groupId>org.rosuda.REngine</groupId>
      <artifactId>Rserve</artifactId>
      <version>1.8.1</version>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <filtering>false</filtering>
        <directory>../openml-generic-r/src/main/resources/META-INF/services</directory>
        <excludes>
          <exclude>com.feedzai.openml.provider.MachineLearningProvider</exclude>
        </excludes>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
          </descriptorRefs>
          <appendAssemblyId>false</appendAssemblyId>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
