File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 29
29
<artifactId >spark-assembly_2.10</artifactId >
30
30
<name >Spark Project Assembly</name >
31
31
<url >http://spark.apache.org/</url >
32
+ <packaging >pom</packaging >
32
33
33
34
<properties >
34
- <spark .jar>${project.build.directory} /scala-${scala.binary.version} /${project.artifactId} -${project.version} -hadoop${hadoop.version} .jar</spark .jar>
35
+ <spark .jar.dir>scala-${scala.binary.version} </spark .jar.dir>
36
+ <spark .jar.basename>${project.artifactId} -${project.version} -hadoop${hadoop.version} .jar</spark .jar.basename>
37
+ <spark .jar>${project.build.directory} /${spark.jar.dir} /${spark.jar.basename} </spark .jar>
35
38
<deb .pkg.name>spark</deb .pkg.name>
36
39
<deb .install.path>/usr/share/spark</deb .install.path>
37
40
<deb .user>root</deb .user>
Original file line number Diff line number Diff line change 55
55
<include >**/*</include >
56
56
</includes >
57
57
</fileSet >
58
+ <fileSet >
59
+ <directory >
60
+ ${project.parent.basedir}/assembly/target/${spark.jar.dir}
61
+ </directory >
62
+ <outputDirectory >/</outputDirectory >
63
+ <includes >
64
+ <include >${spark.jar.basename}</include >
65
+ </includes >
66
+ </fileSet >
58
67
</fileSets >
59
68
60
69
<dependencySets >
75
84
<excludes >
76
85
<exclude >org.apache.hadoop:*:jar</exclude >
77
86
<exclude >org.apache.spark:*:jar</exclude >
87
+ <exclude >org.apache.zookeeper:*:jar</exclude >
88
+ <exclude >org.apache.avro:*:jar</exclude >
78
89
</excludes >
79
90
</dependencySet >
80
91
</dependencySets >
You can’t perform that action at this time.
0 commit comments