Don’t duplicate files in final JAR file.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Nov 2010 19:43:00 +0000 (20:43 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Nov 2010 19:43:00 +0000 (20:43 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 3d5776f..192e45b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-assembly-plugin</artifactId>
+                               <version>2.2-beta-5</version>
                                <configuration>
                                        <descriptorRefs>
                                                <descriptorRef>jar-with-dependencies</descriptorRef>
                                        </descriptorRefs>
+                                       <archiverConfig>
+                                               <duplicateBehavior>skip</duplicateBehavior>
+                                       </archiverConfig>
                                        <archive>
                                                <manifestEntries>
                                                        <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>