[PATCH] Configure standalone binary assembly
Wald Commits
scm-commit at wald.intevation.org
Wed Dec 17 16:16:16 CET 2014
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1418829362 -3600
# Node ID 97d2a83118e4fc3b146f96aa47b7c1da00126aa9
# Parent 6b8410ba48cbf1d716bf091f098e278f56145054
Configure standalone binary assembly.
diff -r 6b8410ba48cb -r 97d2a83118e4 artifacts/pom.xml
--- 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>
diff -r 6b8410ba48cb -r 97d2a83118e4 artifacts/src/assembly/assembly.xml
--- /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>
More information about the Dive4Elements-commits
mailing list