forked from EBIBioSamples/cli-archetype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkg.xml
56 lines (47 loc) · 1.52 KB
/
pkg.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--
File for the Maven Assembly plug-in.
This produces a binary that contains all the dependencies needed to run this command line tool (in lib/),
plus everything that lies on src/main/assembly/resources/ (putting the contents of this folder on the top
of the final binary file).
-->
<assembly>
<id>pkg</id>
<formats>
<format>zip</format>
</formats>
<dependencySets>
<dependencySet>
<!-- Enable only if non-empty <outputFileNameMapping></outputFileNameMapping> -->
<outputDirectory>/lib</outputDirectory>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<!-- This comes in due some indirect dependency. We want to use logback and hence the exclusion -->
<exclude>commons-logging:commons-logging</exclude>
</excludes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>src/main/assembly/resources</directory>
<excludes>
<!-- Defined below, with x permissions, non-executables only here -->
<exclude>**/*.sh</exclude>
</excludes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory></outputDirectory>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>src/main/assembly/resources</directory>
<includes>
<include>**/*.sh</include>
</includes>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory></outputDirectory>
<filtered>true</filtered>
</fileSet>
</fileSets>
</assembly>