changeset 8514:97d2a83118e4

Configure standalone binary assembly.
author Tom Gottfried <tom@intevation.de>
date Wed, 17 Dec 2014 16:16:02 +0100
parents 6b8410ba48cb
children 01d71ff84d43
files artifacts/pom.xml artifacts/src/assembly/assembly.xml
diffstat 2 files changed, 49 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/pom.xml	Wed Dec 17 15:56:41 2014 +0100
+++ b/artifacts/pom.xml	Wed Dec 17 16:16:02 2014 +0100
@@ -34,6 +34,14 @@
           <nohelp>true</nohelp>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <descriptors>
+            <descriptor>src/assembly/assembly.xml</descriptor>
+          </descriptors>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/artifacts/src/assembly/assembly.xml	Wed Dec 17 16:16:02 2014 +0100
@@ -0,0 +1,41 @@
+<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>bin</id>
+  <formats>
+    <format>tar.bz2</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}/bin</directory>
+      <outputDirectory>/bin</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/doc/conf</directory>
+      <outputDirectory>/conf</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <!-- Include prepared artifact-DB if existant -->
+      <directory>${project.basedir}/artifactsdb</directory>
+      <outputDirectory>/artifactsdb</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <!-- Include prepared datacage-DB if existant -->
+      <directory>${project.basedir}/datacagedb</directory>
+      <outputDirectory>/datacagedb</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/../backend/doc/schema</directory>
+      <outputDirectory>/schema</outputDirectory>
+    </fileSet>
+  </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>bin/lib</outputDirectory>
+      <useProjectArtifact>false</useProjectArtifact>
+      <excludes>
+        <exclude>jfree:jfreechart:jar:1.0.12</exclude>
+      </excludes>
+    </dependencySet>
+  </dependencySets>
+</assembly>

http://dive4elements.wald.intevation.org