-
Notifications
You must be signed in to change notification settings - Fork 12
/
assembly.xml
49 lines (47 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
47
48
49
<assembly>
<id>deployment</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/resources</directory>
<outputDirectory>resources</outputDirectory>
<includes>
<!-- Do the XML files in the resources directory. Please note that Maven
will also include them in them in the jar. -->
<include>config*.xml</include>
<include>addOAISetName.xsl</include>
<include>filter.xsl</include>
<!-- Do include the log4j properties file in the resources directory
while excluding it from the jar. Please refer to the configuration of
the jar plugin in the POM -->
<include>log4j2.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src/main/scripts</directory>
<outputDirectory></outputDirectory>
<includes>
<include>run-harvester.sh</include>
</includes>
<fileMode>0755</fileMode>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory></outputDirectory>
<includes>
<include>${project.artifactId}-${versionNumber}.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>target/lib</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
</fileSets>
</assembly>