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

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

added readme and license files to distribution assembly descriptor

File size: 3.8 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            <outputDirectory>bin</outputDirectory>
68        </fileSet>
69
70        <!-- the web application files to be packaged -->
71        <!-- war file -->
72        <fileSet>
73            <directory>${project.parent.basedir}/vlo-web-app/target</directory>
74            <includes>
75                <include>*.war</include>
76            </includes>
77            <outputDirectory>war</outputDirectory>
78        </fileSet>
79        <!-- config -->
80        <fileSet>
81            <directory>${project.parent.basedir}/vlo-commons/src/main/resources</directory>
82            <includes>
83                <include>VloConfig.xml</include>
84            </includes>
85            <outputDirectory>config</outputDirectory>
86        </fileSet> 
87
88        <!-- solr server files to be packaged -->
89        <!-- war file -->
90        <fileSet>
91            <directory>${project.parent.basedir}/vlo-solr/target</directory>
92            <includes>
93                <include>*.war</include>
94            </includes>
95            <outputDirectory>war</outputDirectory>
96        </fileSet>
97
98        <!-- solr configuration files -->
99        <fileSet>
100            <directory>${project.parent.basedir}/vlo-solr/target/vlo-solr-${project.version}-vlo_solr_conf</directory>
101            <includes>
102                <include>**/*</include>
103            </includes>
104            <outputDirectory>config/</outputDirectory>
105        </fileSet>
106        <fileSet>
107            <directory>${project.parent.basedir}/vlo-solr/target/vlo-solr-${project.version}</directory>
108            <includes>
109                <include>vlo_solr.xml</include>
110            </includes>
111            <outputDirectory>config</outputDirectory>
112        </fileSet>
113    </fileSets>
114</assembly>
Note: See TracBrowser for help on using the repository browser.