diff etl/pom.xml @ 8835:d8d71005a210

ETL: use Java 7, include run-script and docs when packaging. Changes to bin/run.sh might have been avoidable, but at least its more in line with artifacts now.
author Tom Gottfried <tom@intevation.de>
date Wed, 17 May 2017 16:11:04 +0200
parents c9a22d62593a
children 654aaa0d7576
line wrap: on
line diff
--- a/etl/pom.xml	Wed May 17 15:53:32 2017 +0200
+++ b/etl/pom.xml	Wed May 17 16:11:04 2017 +0200
@@ -17,33 +17,17 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>2.0.2</version>
         <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.dive4elements.river.etl.aft.Sync</mainClass>
-              <packageName>org.dive4elements.river.etl.aft</packageName>
-            </manifest>
-          </archive>
+          <source>1.7</source>
+          <target>1.7</target>
         </configuration>
       </plugin>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
+        <version>3.0.0</version>
         <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.dive4elements.river.aft.Sync</mainClass>
-            </manifest>
-          </archive>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
+          <descriptors>
+            <descriptor>src/assembly/assembly.xml</descriptor>
+          </descriptors>
         </configuration>
       </plugin>
     </plugins>

http://dive4elements.wald.intevation.org