diff backend/src/assembly/assembly.xml @ 8675:ae3df0f96e15

Mavenize importer packaging and allow packaging for specific versions and database systems.
author Tom Gottfried <tom@intevation.de>
date Thu, 09 Apr 2015 17:29:45 +0200
parents
children 508350440b10
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/backend/src/assembly/assembly.xml	Thu Apr 09 17:29:45 2015 +0200
@@ -0,0 +1,45 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+  <id>flys-importer</id>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <formats>
+     <format>tar</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.build.directory}</directory>
+      <outputDirectory>/flys-importer/bin</outputDirectory>
+      <includes>
+        <include>*.jar</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/contrib</directory>
+      <outputDirectory>/flys-importer</outputDirectory>
+      <excludes>
+        <exclude>shpimporter/*.pyc</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/doc/conf</directory>
+      <outputDirectory>/flys-importer/conf</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/doc/schema</directory>
+      <outputDirectory>/flys-importer/doc/schema</outputDirectory>
+      <includes>
+        <include>*.sql</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+  <files>
+    <!-- Include PDF-manual if existant -->
+    <file>
+      <source>
+        ${project.basedir}/doc/documentation/de/importer-manual.pdf
+      </source>
+      <outputDirectory>/flys-importer/doc/</outputDirectory>
+    </file>
+  </files>
+</assembly>

http://dive4elements.wald.intevation.org