|
36 | 36 | <spark.jar.dir>scala-${scala.binary.version}</spark.jar.dir> |
37 | 37 | <spark.jar.basename>spark-assembly-${project.version}-hadoop${hadoop.version}.jar</spark.jar.basename> |
38 | 38 | <spark.jar>${project.build.directory}/${spark.jar.dir}/${spark.jar.basename}</spark.jar> |
39 | | - <deb.pkg.name>spark</deb.pkg.name> |
40 | | - <deb.install.path>/usr/share/spark</deb.install.path> |
41 | | - <deb.user>root</deb.user> |
42 | | - <deb.bin.filemode>755</deb.bin.filemode> |
43 | 39 | </properties> |
44 | 40 |
|
45 | 41 | <dependencies> |
|
118 | 114 | <exclude>META-INF/*.RSA</exclude> |
119 | 115 | </excludes> |
120 | 116 | </filter> |
| 117 | + <filter> |
| 118 | + <!-- Exclude libgfortran, libgcc for license issues --> |
| 119 | + <artifact>org.jblas:jblas</artifact> |
| 120 | + <excludes> |
| 121 | + <!-- Linux amd64 is OK; not statically linked --> |
| 122 | + <exclude>lib/static/Linux/i386/**</exclude> |
| 123 | + <exclude>lib/static/Mac OS X/**</exclude> |
| 124 | + <exclude>lib/static/Windows/**</exclude> |
| 125 | + </excludes> |
| 126 | + </filter> |
121 | 127 | </filters> |
122 | 128 | </configuration> |
123 | 129 | <executions> |
|
217 | 223 | </plugins> |
218 | 224 | </build> |
219 | 225 | </profile> |
220 | | - <profile> |
221 | | - <id>deb</id> |
222 | | - <build> |
223 | | - <plugins> |
224 | | - <plugin> |
225 | | - <groupId>org.codehaus.mojo</groupId> |
226 | | - <artifactId>buildnumber-maven-plugin</artifactId> |
227 | | - <version>1.2</version> |
228 | | - <executions> |
229 | | - <execution> |
230 | | - <phase>validate</phase> |
231 | | - <goals> |
232 | | - <goal>create</goal> |
233 | | - </goals> |
234 | | - <configuration> |
235 | | - <shortRevisionLength>8</shortRevisionLength> |
236 | | - </configuration> |
237 | | - </execution> |
238 | | - </executions> |
239 | | - </plugin> |
240 | | - <plugin> |
241 | | - <groupId>org.vafer</groupId> |
242 | | - <artifactId>jdeb</artifactId> |
243 | | - <version>0.11</version> |
244 | | - <executions> |
245 | | - <execution> |
246 | | - <phase>package</phase> |
247 | | - <goals> |
248 | | - <goal>jdeb</goal> |
249 | | - </goals> |
250 | | - <configuration> |
251 | | - <deb>${project.build.directory}/${deb.pkg.name}_${project.version}-${buildNumber}_all.deb</deb> |
252 | | - <attach>false</attach> |
253 | | - <compression>gzip</compression> |
254 | | - <dataSet> |
255 | | - <data> |
256 | | - <src>${spark.jar}</src> |
257 | | - <type>file</type> |
258 | | - <mapper> |
259 | | - <type>perm</type> |
260 | | - <user>${deb.user}</user> |
261 | | - <group>${deb.user}</group> |
262 | | - <prefix>${deb.install.path}/jars</prefix> |
263 | | - </mapper> |
264 | | - </data> |
265 | | - <data> |
266 | | - <src>${basedir}/src/deb/RELEASE</src> |
267 | | - <type>file</type> |
268 | | - <mapper> |
269 | | - <type>perm</type> |
270 | | - <user>${deb.user}</user> |
271 | | - <group>${deb.user}</group> |
272 | | - <prefix>${deb.install.path}</prefix> |
273 | | - </mapper> |
274 | | - </data> |
275 | | - <data> |
276 | | - <src>${basedir}/../conf</src> |
277 | | - <type>directory</type> |
278 | | - <mapper> |
279 | | - <type>perm</type> |
280 | | - <user>${deb.user}</user> |
281 | | - <group>${deb.user}</group> |
282 | | - <prefix>${deb.install.path}/conf</prefix> |
283 | | - <filemode>${deb.bin.filemode}</filemode> |
284 | | - </mapper> |
285 | | - </data> |
286 | | - <data> |
287 | | - <src>${basedir}/../bin</src> |
288 | | - <type>directory</type> |
289 | | - <mapper> |
290 | | - <type>perm</type> |
291 | | - <user>${deb.user}</user> |
292 | | - <group>${deb.user}</group> |
293 | | - <prefix>${deb.install.path}/bin</prefix> |
294 | | - <filemode>${deb.bin.filemode}</filemode> |
295 | | - </mapper> |
296 | | - </data> |
297 | | - <data> |
298 | | - <src>${basedir}/../sbin</src> |
299 | | - <type>directory</type> |
300 | | - <mapper> |
301 | | - <type>perm</type> |
302 | | - <user>${deb.user}</user> |
303 | | - <group>${deb.user}</group> |
304 | | - <prefix>${deb.install.path}/sbin</prefix> |
305 | | - <filemode>${deb.bin.filemode}</filemode> |
306 | | - </mapper> |
307 | | - </data> |
308 | | - <data> |
309 | | - <src>${basedir}/../python</src> |
310 | | - <type>directory</type> |
311 | | - <mapper> |
312 | | - <type>perm</type> |
313 | | - <user>${deb.user}</user> |
314 | | - <group>${deb.user}</group> |
315 | | - <prefix>${deb.install.path}/python</prefix> |
316 | | - <filemode>${deb.bin.filemode}</filemode> |
317 | | - </mapper> |
318 | | - </data> |
319 | | - </dataSet> |
320 | | - </configuration> |
321 | | - </execution> |
322 | | - </executions> |
323 | | - </plugin> |
324 | | - </plugins> |
325 | | - </build> |
326 | | - </profile> |
327 | 226 | <profile> |
328 | 227 | <id>kinesis-asl</id> |
329 | 228 | <dependencies> |
|
0 commit comments