mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
ff33d17c5e
Summary: - Added code coverage on python & scala - Updated the license text to `BSD 3-Clause` so that [licensee](https://github.com/licensee/licensee) can detect it properly Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/239 Reviewed By: kaiwenw Differential Revision: D21185688 Pulled By: kittipatv fbshipit-source-id: 55a8a98891ab3a6e63da2148bc23d623b5b177d9
416 lines
8.5 KiB
XML
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.11.7
|
|
</scala.version>
|
|
<scala.binary.version>
|
|
2.11
|
|
</scala.binary.version>
|
|
<spark.version>
|
|
2.3.2
|
|
</spark.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>
|
|
org.scalatest
|
|
</groupId>
|
|
<artifactId>
|
|
scalatest_${scala.binary.version}
|
|
</artifactId>
|
|
<version>
|
|
2.2.6
|
|
</version>
|
|
<scope>
|
|
test
|
|
</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>
|
|
org.jacoco
|
|
</groupId>
|
|
<artifactId>
|
|
jacoco-maven-plugin
|
|
</artifactId>
|
|
<version>
|
|
0.8.5
|
|
</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.13.5
|
|
</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>
|
|
3.2.2
|
|
</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>
|