-
Notifications
You must be signed in to change notification settings - Fork 0
/
assembly.xml
46 lines (46 loc) · 1.44 KB
/
assembly.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
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1 http://maven.apache.org/xsd/assembly-1.0.0.1.xsd">
<id>bin</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<!-- Copy XML resources -->
<fileSet>
<directory>${project.basedir}/src/main/conf</directory>
<outputDirectory>/${project.name}</outputDirectory>
<includes>
<include>**/*.xml</include>
</includes>
<filtered>true</filtered>
</fileSet>
<!-- Copy other ressources -->
<fileSet>
<directory>${project.basedir}/src/main/conf</directory>
<outputDirectory>/${project.name}</outputDirectory>
<excludes>
<exclude>**/*.xml</exclude>
</excludes>
<filtered>false</filtered>
</fileSet>
<!-- Copy module's jar file -->
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>${project.name}/lib</outputDirectory>
<includes>
<include>${project.artifactId}-${project.version}.jar</include>
</includes>
</fileSet>
<!-- Copy java dependencies needed by the module -->
<fileSet>
<directory>${project.build.directory}/lib</directory>
<outputDirectory>${project.name}/lib</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>