|
90 | 90 | <groupId>org.apache.spark</groupId> |
91 | 91 | <artifactId>spark-streaming-zeromq_${scala.binary.version}</artifactId> |
92 | 92 | <version>${project.version}</version> |
| 93 | + <exclusions> |
| 94 | + <exclusion> |
| 95 | + <groupId>org.spark-project.protobuf</groupId> |
| 96 | + <artifactId>protobuf-java</artifactId> |
| 97 | + </exclusion> |
| 98 | + </exclusions> |
93 | 99 | </dependency> |
94 | 100 | <dependency> |
95 | 101 | <groupId>org.apache.hbase</groupId> |
|
234 | 240 | <dependency> |
235 | 241 | <groupId>org.apache.commons</groupId> |
236 | 242 | <artifactId>commons-math3</artifactId> |
| 243 | + <scope>provided</scope> |
237 | 244 | </dependency> |
238 | 245 | <dependency> |
239 | 246 | <groupId>com.twitter</groupId> |
|
262 | 269 | <groupId>com.ning</groupId> |
263 | 270 | <artifactId>compress-lzf</artifactId> |
264 | 271 | </exclusion> |
| 272 | + <exclusion> |
| 273 | + <groupId>commons-cli</groupId> |
| 274 | + <artifactId>commons-cli</artifactId> |
| 275 | + </exclusion> |
| 276 | + <exclusion> |
| 277 | + <groupId>commons-codec</groupId> |
| 278 | + <artifactId>commons-codec</artifactId> |
| 279 | + </exclusion> |
| 280 | + <exclusion> |
| 281 | + <groupId>commons-lang</groupId> |
| 282 | + <artifactId>commons-lang</artifactId> |
| 283 | + </exclusion> |
| 284 | + <exclusion> |
| 285 | + <groupId>commons-logging</groupId> |
| 286 | + <artifactId>commons-logging</artifactId> |
| 287 | + </exclusion> |
265 | 288 | <exclusion> |
266 | 289 | <groupId>io.netty</groupId> |
267 | 290 | <artifactId>netty</artifactId> |
|
270 | 293 | <groupId>jline</groupId> |
271 | 294 | <artifactId>jline</artifactId> |
272 | 295 | </exclusion> |
| 296 | + <exclusion> |
| 297 | + <groupId>net.jpountz.lz4</groupId> |
| 298 | + <artifactId>lz4</artifactId> |
| 299 | + </exclusion> |
273 | 300 | <exclusion> |
274 | 301 | <groupId>org.apache.cassandra.deps</groupId> |
275 | 302 | <artifactId>avro</artifactId> |
276 | 303 | </exclusion> |
| 304 | + <exclusion> |
| 305 | + <groupId>org.apache.commons</groupId> |
| 306 | + <artifactId>commons-math3</artifactId> |
| 307 | + </exclusion> |
| 308 | + <exclusion> |
| 309 | + <groupId>org.apache.thrift</groupId> |
| 310 | + <artifactId>libthrift</artifactId> |
| 311 | + </exclusion> |
277 | 312 | </exclusions> |
278 | 313 | </dependency> |
279 | 314 | <dependency> |
280 | 315 | <groupId>com.github.scopt</groupId> |
281 | 316 | <artifactId>scopt_${scala.binary.version}</artifactId> |
282 | 317 | <version>3.2.0</version> |
283 | 318 | </dependency> |
| 319 | + |
| 320 | + <!-- |
| 321 | + The following dependencies are already present in the Spark assembly, so we want to force |
| 322 | + them to be provided. |
| 323 | + --> |
| 324 | + <dependency> |
| 325 | + <groupId>org.scala-lang</groupId> |
| 326 | + <artifactId>scala-library</artifactId> |
| 327 | + <scope>provided</scope> |
| 328 | + </dependency> |
| 329 | + |
284 | 330 | </dependencies> |
285 | 331 |
|
286 | 332 | <build> |
|
322 | 368 | </excludes> |
323 | 369 | </filter> |
324 | 370 | </filters> |
325 | | - <relocations combine.children="append"> |
326 | | - <relocation> |
327 | | - <pattern>org.apache.commons.math3</pattern> |
328 | | - <shadedPattern>org.spark-project.commons.math3</shadedPattern> |
329 | | - </relocation> |
330 | | - </relocations> |
331 | 371 | <transformers> |
332 | 372 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
333 | 373 | <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
|
0 commit comments