|
6 | 6 |
|
7 | 7 | <groupId>com.microsoft.azure.cosmosdb</groupId> |
8 | 8 | <artifactId>azure-cosmos-cassandra-spark-helper</artifactId> |
9 | | - <version>1.1.0</version> |
| 9 | + <version>1.2.0</version> |
10 | 10 | <name>${project.groupId}:${project.artifactId}</name> |
11 | 11 | <description>Cassandra Api Spark Connector Helper for Microsoft Azure CosmosDB</description> |
12 | 12 | <url>http://azure.microsoft.com/en-us/services/documentdb/</url> |
|
16 | 16 | <url>http://www.opensource.org/licenses/mit-license.php</url> |
17 | 17 | </license> |
18 | 18 | </licenses> |
19 | | - |
20 | 19 | <dependencies> |
21 | 20 | <dependency> |
22 | 21 | <groupId>org.apache.spark</groupId> |
23 | 22 | <artifactId>spark-core_2.11</artifactId> |
24 | | - <version>2.4.0</version> |
| 23 | + <version>2.4.4</version> |
| 24 | + <scope>provided</scope> |
25 | 25 | </dependency> |
26 | 26 | <dependency> |
27 | 27 | <groupId>org.apache.spark</groupId> |
28 | 28 | <artifactId>spark-sql_2.11</artifactId> |
29 | | - <version>2.4.0</version> |
| 29 | + <version>2.4.4</version> |
| 30 | + <scope>provided</scope> |
30 | 31 | </dependency> |
31 | 32 | <dependency> |
32 | 33 | <groupId>org.apache.spark</groupId> |
33 | 34 | <artifactId>spark-streaming_2.11</artifactId> |
34 | | - <version>2.4.0</version> |
| 35 | + <version>2.4.4</version> |
| 36 | + <scope>provided</scope> |
35 | 37 | </dependency> |
36 | 38 | <dependency> |
37 | 39 | <groupId>org.apache.spark</groupId> |
38 | 40 | <artifactId>spark-mllib_2.11</artifactId> |
39 | | - <version>2.4.0</version> |
| 41 | + <version>2.4.4</version> |
| 42 | + <scope>provided</scope> |
40 | 43 | </dependency> |
41 | 44 | <dependency> |
42 | 45 | <groupId>com.datastax.spark</groupId> |
43 | 46 | <artifactId>spark-cassandra-connector_2.11</artifactId> |
44 | | - <version>2.4.1</version> |
| 47 | + <version>2.4.3</version> |
45 | 48 | </dependency> |
46 | 49 | </dependencies> |
47 | 50 |
|
|
51 | 54 | <groupId>net.alchim31.maven</groupId> |
52 | 55 | <artifactId>scala-maven-plugin</artifactId> |
53 | 56 | <version>3.2.2</version> |
| 57 | + <configuration> |
| 58 | + <checkMultipleScalaVersions>false</checkMultipleScalaVersions> |
| 59 | + <scalaVersion>2.11.12</scalaVersion> |
| 60 | + <recompileMode>incremental</recompileMode> |
| 61 | + </configuration> |
| 62 | + <executions> |
| 63 | + <execution> |
| 64 | + <id>scala-compile-first</id> |
| 65 | + <phase>process-resources</phase> |
| 66 | + <goals> |
| 67 | + <goal>add-source</goal> |
| 68 | + </goals> |
| 69 | + </execution> |
| 70 | + <execution> |
| 71 | + <id>scala-compile</id> |
| 72 | + <phase>compile</phase> |
| 73 | + <goals> |
| 74 | + <goal>compile</goal> |
| 75 | + </goals> |
| 76 | + </execution> |
| 77 | + <execution> |
| 78 | + <id>scala-testCompile</id> |
| 79 | + <phase>test-compile</phase> |
| 80 | + <goals> |
| 81 | + <goal>testCompile</goal> |
| 82 | + </goals> |
| 83 | + </execution> |
| 84 | + <execution> |
| 85 | + <id>scala-doc</id> |
| 86 | + <phase>prepare-package</phase> |
| 87 | + <goals> |
| 88 | + <goal>doc</goal> |
| 89 | + <goal>doc-jar</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + </executions> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <groupId>org.apache.maven.plugins</groupId> |
| 96 | + <artifactId>maven-source-plugin</artifactId> |
| 97 | + <version>2.2.1</version> |
| 98 | + <executions> |
| 99 | + <execution> |
| 100 | + <id>attach-sources</id> |
| 101 | + <goals> |
| 102 | + <goal>jar-no-fork</goal> |
| 103 | + </goals> |
| 104 | + </execution> |
| 105 | + </executions> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-shade-plugin</artifactId> |
| 110 | + <version>3.0.0</version> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <phase>package</phase> |
| 114 | + <goals> |
| 115 | + <goal>shade</goal> |
| 116 | + </goals> |
| 117 | + <configuration> |
| 118 | + <relocations> |
| 119 | + <relocation> |
| 120 | + <pattern>com.microsoft.azure.cosmosdb.cassandra</pattern> |
| 121 | + <shadedPattern>cosmosdb_cassandra_connector_shaded.com.microsoft.azure.cosmosdb.cassandra</shadedPattern> |
| 122 | + <excludes> |
| 123 | + <exclude>com.microsoft.azure.cosmosdb.cassandra.*</exclude> |
| 124 | + </excludes> |
| 125 | + </relocation> |
| 126 | + <relocation> |
| 127 | + <pattern>com.datastax</pattern> |
| 128 | + <shadedPattern>cosmosdb_connector_shaded.com.datastax</shadedPattern> |
| 129 | + </relocation> |
| 130 | + </relocations> |
| 131 | + <filters> |
| 132 | + <filter> |
| 133 | + <artifact>*:*</artifact> |
| 134 | + <excludes> |
| 135 | + <exclude>META-INF/services/javax.annotation.processing.Processor</exclude> |
| 136 | + <exclude>META-INF/*.MF</exclude> |
| 137 | + <exclude>META-INF/*.SF</exclude> |
| 138 | + <exclude>META-INF/*.DSA</exclude> |
| 139 | + <exclude>META-INF/*.RSA</exclude> |
| 140 | + </excludes> |
| 141 | + </filter> |
| 142 | + <filter> |
| 143 | + <artifact>commons-logging:commons-logging</artifact> |
| 144 | + <includes> |
| 145 | + <include>**</include> |
| 146 | + </includes> |
| 147 | + </filter> |
| 148 | + </filters> |
| 149 | + <artifactSet> |
| 150 | + <excludes> |
| 151 | + <exclude>org.tachyonproject:tachyon-client</exclude> |
| 152 | + <exclude>org.apache.hadoop:*</exclude> |
| 153 | + <exclude>org.apache.spark:*</exclude> |
| 154 | + <exclude>org.scala-lang:*</exclude> |
| 155 | + <exclude>org.apache.tinkerpop:*</exclude> |
| 156 | + </excludes> |
| 157 | + </artifactSet> |
| 158 | + <minimizeJar>true</minimizeJar> |
| 159 | + <finalName>${project.artifactId}-${project.version}-uber</finalName> |
| 160 | + </configuration> |
| 161 | + </execution> |
| 162 | + </executions> |
54 | 163 | </plugin> |
55 | 164 | <plugin> |
56 | 165 | <artifactId>maven-compiler-plugin</artifactId> |
57 | | - <version>3.3</version> |
| 166 | + <version>3.5</version> |
58 | 167 | <configuration> |
59 | | - <source>1.6</source> |
60 | | - <target>1.6</target> |
| 168 | + <source>1.8</source> |
| 169 | + <target>1.8</target> |
61 | 170 | </configuration> |
62 | 171 | </plugin> |
63 | 172 | </plugins> |
|
0 commit comments