Mercurial > dive4elements > river
comparison backend/pom.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 | 7f63ad20d4f0 |
children | 8179cca1796a |
comparison
equal
deleted
inserted
replaced
8674:44ba71b0b75a | 8675:ae3df0f96e15 |
---|---|
36 </manifest> | 36 </manifest> |
37 </archive> | 37 </archive> |
38 </configuration> | 38 </configuration> |
39 </plugin> | 39 </plugin> |
40 <plugin> | 40 <plugin> |
41 <groupId>org.apache.maven.plugins</groupId> | |
42 <artifactId>maven-shade-plugin</artifactId> | |
43 <version>2.3</version> | |
44 <configuration> | |
45 <transformers> | |
46 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
47 <mainClass>org.dive4elements.river.importer.Importer</mainClass> | |
48 </transformer> | |
49 </transformers> | |
50 </configuration> | |
51 <executions> | |
52 <execution> | |
53 <phase>package</phase> | |
54 <goals> | |
55 <goal>shade</goal> | |
56 </goals> | |
57 </execution> | |
58 </executions> | |
59 </plugin> | |
60 <plugin> | |
41 <artifactId>maven-assembly-plugin</artifactId> | 61 <artifactId>maven-assembly-plugin</artifactId> |
42 <configuration> | 62 <configuration> |
43 <archive> | 63 <descriptors> |
44 <manifest> | 64 <descriptor>src/assembly/assembly.xml</descriptor> |
45 <mainClass>org.dive4elements.river.importer.Importer</mainClass> | 65 </descriptors> |
46 </manifest> | |
47 </archive> | |
48 <descriptorRefs> | |
49 <descriptorRef>jar-with-dependencies</descriptorRef> | |
50 </descriptorRefs> | |
51 </configuration> | 66 </configuration> |
52 </plugin> | 67 </plugin> |
53 </plugins> | 68 </plugins> |
54 </build> | 69 </build> |
55 | 70 |