Mercurial > dive4elements > river
comparison flys-backend/pom.xml @ 5052:fa600417a335 dami
Use maven jar and maven assemply plugins to create a single jar
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 20 Feb 2013 12:17:35 +0100 |
parents | 89ada0b9083f |
children | 5ba502e78e05 |
comparison
equal
deleted
inserted
replaced
5038:57a845da72bd | 5052:fa600417a335 |
---|---|
33 <artifactId>maven-compiler-plugin</artifactId> | 33 <artifactId>maven-compiler-plugin</artifactId> |
34 <version>2.0.2</version> | 34 <version>2.0.2</version> |
35 <configuration> | 35 <configuration> |
36 <source>1.6</source> | 36 <source>1.6</source> |
37 <target>1.6</target> | 37 <target>1.6</target> |
38 </configuration> | |
39 </plugin> | |
40 <plugin> | |
41 <groupId>org.apache.maven.plugins</groupId> | |
42 <artifactId>maven-jar-plugin</artifactId> | |
43 <configuration> | |
44 <archive> | |
45 <manifest> | |
46 <mainClass>de.intevation.flys.importer.Importer</mainClass> | |
47 <packageName>de.intevation.flys.importer</packageName> | |
48 </manifest> | |
49 </archive> | |
50 </configuration> | |
51 </plugin> | |
52 <plugin> | |
53 <artifactId>maven-assembly-plugin</artifactId> | |
54 <configuration> | |
55 <archive> | |
56 <manifest> | |
57 <mainClass>de.intevation.flys.importer.Importer</mainClass> | |
58 </manifest> | |
59 </archive> | |
60 <descriptorRefs> | |
61 <descriptorRef>jar-with-dependencies</descriptorRef> | |
62 </descriptorRefs> | |
38 </configuration> | 63 </configuration> |
39 </plugin> | 64 </plugin> |
40 </plugins> | 65 </plugins> |
41 </build> | 66 </build> |
42 | 67 |