source: vlo/branches/vlo-3.0/vlo-distribution/src/main/assembly/installPackageBuilder.xml @ 5077

Last change on this file since 5077 was 5077, checked in by Twan Goosen, 10 years ago

Removed inclusion of VloConfig?.xml in 'bin' directory in distribution package

File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!-- vlo package definition -->
4
5<assembly>
6    <id>Distribution</id>
7    <formats>
8        <format>tar.gz</format>
9    </formats>
10    <includeBaseDirectory>true</includeBaseDirectory>
11    <fileSets>
12
13        <!-- documentation to be packaged -->
14        <fileSet>
15            <directory>${project.parent.basedir}/docs</directory>
16            <includes>
17                <include>*.*</include>
18            </includes>
19            <outputDirectory>doc</outputDirectory>
20        </fileSet>
21        <fileSet>
22            <directory>${project.parent.basedir}</directory>
23            <includes>
24                <include>CHANGES</include>
25                <include>DEPLOY-README</include>
26                <include>LICENSE</include>
27                <include>README</include>
28                <include>UPGRADE</include>
29            </includes>
30            <outputDirectory>doc</outputDirectory>
31        </fileSet>
32        <fileSet>
33            <directory>${project.parent.basedir}/vlo-solr</directory>
34            <includes>
35                <include>README.TXT</include>
36            </includes>
37            <outputDirectory>doc/vlosolr</outputDirectory>
38        </fileSet>
39
40        <!-- importer related files to be packaged -->
41        <!-- jar file -->
42        <fileSet>
43            <directory>${project.parent.basedir}/vlo-importer/target</directory>
44            <includes>
45                <include>*.jar</include>
46            </includes>
47            <outputDirectory>bin</outputDirectory>
48        </fileSet>
49        <!-- run script -->
50        <fileSet>
51            <directory>${project.parent.basedir}/vlo-importer/src/main/bin</directory>
52            <includes>
53                <include>*.sh</include>
54            </includes>
55            <fileMode>0755</fileMode>
56            <outputDirectory>bin</outputDirectory>
57            <filtered>true</filtered>
58        </fileSet>
59        <!-- config files -->
60        <fileSet>
61            <directory>${project.parent.basedir}/vlo-commons/src/main/resources</directory>
62            <includes>
63                <include>*.properties</include>
64                <include>*.xml</include>
65                <include>*.xsl</include>
66            </includes>
67            <excludes>
68                <exclude>VloConfig.xml</exclude>
69            </excludes>
70            <outputDirectory>bin</outputDirectory>
71        </fileSet>
72
73        <!-- the web application files to be packaged -->
74        <!-- war file -->
75        <fileSet>
76            <directory>${project.parent.basedir}/vlo-web-app/target</directory>
77            <includes>
78                <include>*.war</include>
79            </includes>
80            <outputDirectory>war</outputDirectory>
81        </fileSet>
82        <!-- config -->
83        <fileSet>
84            <directory>${project.parent.basedir}/vlo-commons/src/main/resources</directory>
85            <includes>
86                <include>VloConfig.xml</include>
87            </includes>
88            <outputDirectory>config</outputDirectory>
89        </fileSet> 
90
91        <!-- solr server files to be packaged -->
92        <!-- war file -->
93        <fileSet>
94            <directory>${project.parent.basedir}/vlo-solr/target</directory>
95            <includes>
96                <include>*.war</include>
97            </includes>
98            <outputDirectory>war</outputDirectory>
99        </fileSet>
100
101        <!-- solr configuration files -->
102        <fileSet>
103            <directory>${project.parent.basedir}/vlo-solr/target/vlo-solr-${project.version}-vlo_solr_conf</directory>
104            <includes>
105                <include>**/*</include>
106            </includes>
107            <outputDirectory>config/</outputDirectory>
108        </fileSet>
109        <fileSet>
110            <directory>${project.parent.basedir}/vlo-solr/target/vlo-solr-${project.version}</directory>
111            <includes>
112                <include>vlo_solr.xml</include>
113            </includes>
114            <outputDirectory>config</outputDirectory>
115        </fileSet>
116    </fileSets>
117</assembly>
Note: See TracBrowser for help on using the repository browser.