annotate artifacts/src/assembly/assembly.xml @ 9751:308a0d822d18 3.2.x

Keep configuration and data in distinct directories This allows having distinct volumes for configuration and data (artifact database, generated mapfiles and shapefiles, etc.). While at it, cleanup MapServer configuration a little bit.
author Tom Gottfried <tom@intevation.de>
date Tue, 11 Oct 2022 11:42:09 +0200
parents 5e38e2924c07
children
rev   line source
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3 xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 <id>bin</id>
8520
65a2944ec5bb We don't need the base directory in the assembly.
Tom Gottfried <tom@intevation.de>
parents: 8516
diff changeset
5 <includeBaseDirectory>false</includeBaseDirectory>
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6 <formats>
8521
e21f847569e7 It's useful to have an uncompressed tar to which more files can be appended.
Tom Gottfried <tom@intevation.de>
parents: 8520
diff changeset
7 <format>tar</format>
8856
5e38e2924c07 Fix code style.
Tom Gottfried <tom@intevation.de>
parents: 8818
diff changeset
8 <!--<format>tar.bz2</format>-->
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 </formats>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
10 <fileSets>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
11 <fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 <directory>${project.basedir}/bin</directory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13 <outputDirectory>/bin</outputDirectory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 </fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 <fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 <directory>${project.basedir}/doc/conf</directory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 <outputDirectory>/conf</outputDirectory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18 </fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 <fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20 <!-- Include prepared artifact-DB if existant -->
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 <directory>${project.basedir}/artifactsdb</directory>
9751
308a0d822d18 Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents: 8856
diff changeset
22 <outputDirectory>/artifacts-data/artifactsdb</outputDirectory>
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
23 </fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
24 <fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
25 <!-- Include prepared datacage-DB if existant -->
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
26 <directory>${project.basedir}/datacagedb</directory>
9751
308a0d822d18 Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents: 8856
diff changeset
27 <outputDirectory>/artifacts-data/datacagedb</outputDirectory>
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
28 </fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
29 <fileSet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
30 <directory>${project.basedir}/../backend/doc/schema</directory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
31 <outputDirectory>/schema</outputDirectory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
32 </fileSet>
8818
93abc24a4972 Include init scripts in release bundle.
Tom Gottfried <tom@intevation.de>
parents: 8521
diff changeset
33 <fileSet>
93abc24a4972 Include init scripts in release bundle.
Tom Gottfried <tom@intevation.de>
parents: 8521
diff changeset
34 <directory>${project.basedir}/../contrib/init.d</directory>
93abc24a4972 Include init scripts in release bundle.
Tom Gottfried <tom@intevation.de>
parents: 8521
diff changeset
35 <outputDirectory>/init.d</outputDirectory>
93abc24a4972 Include init scripts in release bundle.
Tom Gottfried <tom@intevation.de>
parents: 8521
diff changeset
36 </fileSet>
8514
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
37 </fileSets>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
38 <dependencySets>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
39 <dependencySet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
40 <outputDirectory>bin/lib</outputDirectory>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
41 </dependencySet>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
42 </dependencySets>
97d2a83118e4 Configure standalone binary assembly.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
43 </assembly>

http://dive4elements.wald.intevation.org