azure-cosmos-cassandra-spark-helper
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.microsoft.azure.cosmosdb</groupId>
<artifactId>azure-cosmos-cassandra-spark-helper</artifactId>
<version>1.2.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.cosmosdb</groupId>
<artifactId>azure-cosmos-cassandra-spark-helper</artifactId>
<version>1.2.0</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Cassandra Api Spark Connector Helper for Microsoft Azure CosmosDB</description>
<url>http://azure.microsoft.com/en-us/services/documentdb/</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.4.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>2.4.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming_2.11</artifactId>
<version>2.4.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.11</artifactId>
<version>2.4.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.datastax.spark</groupId>
<artifactId>spark-cassandra-connector_2.11</artifactId>
<version>2.4.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<checkMultipleScalaVersions>false</checkMultipleScalaVersions>
<scalaVersion>2.11.12</scalaVersion>
<recompileMode>incremental</recompileMode>
</configuration>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
</goals>
</execution>
<execution>
<id>scala-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
<execution>
<id>scala-doc</id>
<phase>prepare-package</phase>
<goals>
<goal>doc</goal>
<goal>doc-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</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>
<relocations>
<relocation>
<pattern>com.microsoft.azure.cosmosdb.cassandra</pattern>
<shadedPattern>cosmosdb_cassandra_connector_shaded.com.microsoft.azure.cosmosdb.cassandra</shadedPattern>
<excludes>
<exclude>com.microsoft.azure.cosmosdb.cassandra.*</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com.datastax</pattern>
<shadedPattern>cosmosdb_connector_shaded.com.datastax</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/services/javax.annotation.processing.Processor</exclude>
<exclude>META-INF/*.MF</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
<filter>
<artifact>commons-logging:commons-logging</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.tachyonproject:tachyon-client</exclude>
<exclude>org.apache.hadoop:*</exclude>
<exclude>org.apache.spark:*</exclude>
<exclude>org.scala-lang:*</exclude>
<exclude>org.apache.tinkerpop:*</exclude>
</excludes>
</artifactSet>
<minimizeJar>true</minimizeJar>
<finalName>${project.artifactId}-${project.version}-uber</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<developers>
<developer>
<name>CosmosDB Programmability Devs</name>
<email>askcosmosdb@microsoft.com</email>
<organization>Microsoft</organization>
<organizationUrl>http://www.microsoft.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git@github.com:Azure-Samples/azure-cosmos-db-cassandra-api-spark-connector-sample.git</connection>
<developerConnection>scm:git:git@github.com:Azure-Samples/azure-cosmos-db-cassandra-api-spark-connector-sample.git</developerConnection>
<url>git@github.com:Azure-Samples/azure-cosmos-db-cassandra-api-spark-connector-sample.git</url>
</scm>
</project>