scoring-code-spark-api_3.0.0
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>scoring-code-spark-api_3.0.0</artifactId>
<version>0.0.4</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.datarobot</groupId>
<artifactId>scoring-code-spark-api_3.0.0</artifactId>
<version>0.0.4</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Spark 3.0.0 API for Scoring Code</description>
<url>http://datarobot.com</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>DataRobot</name>
<email>info@datarobot.com</email>
<organization>DataRobot inc.</organization>
<organizationUrl>http://www.datarobot.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/datarobot</connection>
<developerConnection>scm:git:ssh://github.com:datarobot</developerConnection>
<url>http://github.com/datarobot</url>
</scm>
<properties>
<spark.version>3.0.0</spark.version>
<scala.version>2.12.10</scala.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<!-- scala-maven-plugin determines the Scala version to use from this dependency -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<!--Including models to the classpath-->
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>iris</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/../testcases/iris/5e96ed57a6714a18ad699582.jar</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>iris_4_5</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/../testcases/iris/4_5_model/60a7bf9dd8c0dd38523135f3.jar</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>ohsumed_binary_20</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/../testcases/ohsumed_binary_20/5e970a7da6714a1b2e699581.jar</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>influencers</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/../testcases/influencers_full_20/5e96ec6ba6714a18996995d8.jar
</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>boston</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>
${project.basedir}/../testcases/BostonPublicRaises_20/5e96e76ea6714a1839699575.jar
</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>jp</artifactId>
<version>LATEST</version>
<scope>system</scope>
<systemPath>${project.basedir}/../testcases/jpReview-books-reg/5e96ee58617f2318c8a18193.jar
</systemPath>
</dependency>
<dependency>
<groupId>com.datarobot</groupId>
<artifactId>datarobot-prediction</artifactId>
<version>2.1.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm6-shaded</artifactId>
<version>4.10</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.12</artifactId>
<version>${spark.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm6-shaded</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.12</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.12</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.12</artifactId>
<version>3.0.8</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Configure maven-compiler-plugin to use the desired Java version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Use build-helper-maven-plugin to add Scala source and test source directories -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/scala</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/scala</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- Use scala-maven-plugin for Scala support -->
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>4.3.1</version>
<executions>
<execution>
<goals>
<!-- Need to specify this explicitly, otherwise plugin won't be called when doing e.g. mvn compile -->
<goal>compile</goal>
<goal>testCompile</goal>
<goal>doc-jar</goal>
<goal>add-source</goal>
</goals>
</execution>
</executions>
</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>
</configuration>
<executions>
<execution>
<id>test</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<!--Use scalafmt via the mvn-scalafmt plugin for scala sources formatting-->
<plugin>
<groupId>org.antipathy</groupId>
<!-- The scala binary here doesn't need to match the project version -->
<artifactId>mvn-scalafmt_2.12</artifactId>
<version>1.0.1625169232.12812d5</version>
<configuration>
<configLocation>${project.basedir}/../scalafmt.conf</configLocation>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>artifactory</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<distributionManagement>
<repository>
<id>artifactory-server</id>
<name>datarobot-artifactory-releases</name>
<url>https://artifactory.int.datarobot.com/artifactory/datarobot-maven-dev</url>
</repository>
<snapshotRepository>
<id>artifactory-server</id>
<name>datarobot-artifactory-snapshots</name>
<url>https://artifactory.int.datarobot.com/artifactory/datarobot-maven-dev</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>libs-release</name>
<url>https://artifactory.int.datarobot.com/artifactory/libs-release</url>
</repository>
<repository>
<snapshots/>
<id>snapshots</id>
<name>libs-snapshot</name>
<url>https://artifactory.int.datarobot.com/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>plugins-release</name>
<url>https://artifactory.int.datarobot.com/artifactory/plugins-release</url>
</pluginRepository>
<pluginRepository>
<snapshots/>
<id>snapshots</id>
<name>plugins-release</name>
<url>https://artifactory.int.datarobot.com/artifactory/plugins-release</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<!--Use for publishing SNAPSHOT versions to https://oss.sonatype.org/content/repositories/snapshots/-->
<id>sonatype-snapshots-only</id>
<distributionManagement>
<snapshotRepository>
<id>datarobot-sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>datarobot-sonatype-releases</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<!--gpg.keyname should be defined in a settings.xml-->
<keyname>${gpg.keyname}</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>datarobot-sonatype-releases</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sonatype</id>
<distributionManagement>
<snapshotRepository>
<id>datarobot-sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>datarobot-sonatype-releases</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<!--gpg.keyname is unique for each user and should be defined in a settings.xml -->
<keyname>${gpg.keyname}</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<!--datarobot-sonatype-snapshots and datarobot-sonatype-releases have the same credentials
you can specify any of those-->
<serverId>datarobot-sonatype-snapshots</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<!--We must publish sources jar to bypass sonatype rules. But the sources jar can be empty, according to the rules and Apache 2.0 Licence ;)-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<excludes>**/*.scala,**/*.java</excludes>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>