Files
Zhengxing Chen cae245749a Upgrade ReAgent to use Python 3.8 (#415)
Summary:
Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/415

Currently, we have some test failures (https://app.circleci.com/pipelines/github/facebookresearch/ReAgent/1460/workflows/ecc21254-779b-4a89-a40d-ea317e839d96/jobs/8655) because we miss some latest features.

Reviewed By: MisterTea

Differential Revision: D26977836

fbshipit-source-id: 9243d194ddf5c62895c9f1369830309c379fd7dd
2021-06-09 19:41:41 -07:00

416 lines
8.5 KiB
XML

<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
rl
</groupId>
<artifactId>
rl-preprocessing
</artifactId>
<version>
1.1
</version>
<packaging>
jar
</packaging>
<organization>
<name>
Facebook, Inc.
</name>
<url>
https://www.facebook.com/
</url>
</organization>
<properties>
<hadoop.deps.scope>
provided
</hadoop.deps.scope>
<hive.deps.scope>
provided
</hive.deps.scope>
<parquet.deps.scope>
provided
</parquet.deps.scope>
<scala.version>
2.12.10
</scala.version>
<scala.binary.version>
2.12
</scala.binary.version>
<spark.version>
3.1.1
</spark.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.scalatest
</groupId>
<artifactId>
scalatest_${scala.binary.version}
</artifactId>
<version>
3.2.5
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.jacoco
</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<version>
0.8.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.mockito
</groupId>
<artifactId>
mockito-core
</artifactId>
<version>
1.10.19
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.scalacheck
</groupId>
<artifactId>
scalacheck_${scala.binary.version}
</artifactId>
<version>
1.14.1
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.12
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-core_${scala.binary.version}
</artifactId>
<version>
${spark.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-hive_${scala.binary.version}
</artifactId>
<version>
${spark.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.spark
</groupId>
<artifactId>
spark-sql-kafka-0-10_${scala.binary.version}
</artifactId>
<version>
${spark.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-math3
</artifactId>
<version>
3.4.1
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-library
</artifactId>
<version>
${scala.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
com.github.scopt
</groupId>
<artifactId>
scopt_${scala.binary.version}
</artifactId>
<version>
3.7.0
</version>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
14.0.1
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<outputDirectory>
target/scala-${scala.binary.version}/classes
</outputDirectory>
<testOutputDirectory>
target/scala-${scala.binary.version}/test-classes
</testOutputDirectory>
<sourceDirectory>
src/main/scala
</sourceDirectory>
<testSourceDirectory>
src/test/scala
</testSourceDirectory>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
2.8.2
</version>
<configuration>
<skip>
${deploy.skip.nexus}
</skip>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
3.0.0
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
<configuration>
<shadedArtifactAttached>
false
</shadedArtifactAttached>
<createDependencyReducedPom>
true
</createDependencyReducedPom>
<artifactSet>
<includes>
<include>
*:*
</include>
</includes>
</artifactSet>
<relocations>
</relocations>
<filters>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
net.alchim31.maven
</groupId>
<artifactId>
scala-maven-plugin
</artifactId>
<version>
4.4.1
</version>
<executions>
<execution>
<id>
eclipse-add-source
</id>
<goals>
<goal>
add-source
</goal>
</goals>
</execution>
<execution>
<id>
scala-compile-first
</id>
<goals>
<goal>
compile
</goal>
</goals>
</execution>
<execution>
<id>
scala-test-compile-first
</id>
<goals>
<goal>
testCompile
</goal>
</goals>
</execution>
</executions>
<configuration>
<scalaVersion>
${scala.version}
</scalaVersion>
<excludes>
<exclude>
**/fb/**
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.7
</version>
<configuration>
<skipTests>
true
</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>
org.scalatest
</groupId>
<artifactId>
scalatest-maven-plugin
</artifactId>
<version>
1.0
</version>
<configuration>
<reportsDirectory>
${project.build.directory}/surefire-reports
</reportsDirectory>
<junitxml>
.
</junitxml>
<filereports>
WDF_TestSuite.txt
</filereports>
<skipTests>
false
</skipTests>
</configuration>
<executions>
<execution>
<id>
test
</id>
<goals>
<goal>
test
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>