-
Notifications
You must be signed in to change notification settings - Fork 132
/
assembly.xml.vtl
35 lines (35 loc) · 1.22 KB
/
assembly.xml.vtl
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
<?xml version="1.0" encoding="utf-8"?>
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>bundle</id>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<outputDirectory>${info.name}</outputDirectory>
<directory>${info.outputDirectory}/${info.name}</directory>
<excludes>
<exclude>${info.executable.name}</exclude>
#if ($info.bundleJre)
<exclude>${info.jreDirectoryName}/bin/*</exclude>
<exclude>${info.jreDirectoryName}/lib/jspawnhelper</exclude>
<exclude>scripts/*</exclude>
#end
</excludes>
</fileSet>
<fileSet>
<outputDirectory>${info.name}</outputDirectory>
<directory>${info.outputDirectory}/${info.name}</directory>
<includes>
<include>${info.executable.name}</include>
#if ($info.bundleJre)
<include>${info.jreDirectoryName}/bin/*</include>
<include>${info.jreDirectoryName}/lib/jspawnhelper</include>
<include>scripts/*</include>
#end
</includes>
<fileMode>0755</fileMode>
</fileSet>
</fileSets>
</assembly>