From 04fb26a02a653413e3c32aa40c7d08f3d3918d4c Mon Sep 17 00:00:00 2001 From: Paul Buonopane Date: Mon, 29 Dec 2014 12:19:50 -0500 Subject: [PATCH] Better packaging for distribution --- .../assembly/{all-individual.xml => bin.xml} | 18 +++++++++++++-- Assembly/pom.xml | 22 ++++--------------- ForgePluginBukkit/pom.xml | 3 --- pom.xml | 6 +---- 4 files changed, 21 insertions(+), 28 deletions(-) rename Assembly/assembly/{all-individual.xml => bin.xml} (62%) mode change 100755 => 100644 diff --git a/Assembly/assembly/all-individual.xml b/Assembly/assembly/bin.xml old mode 100755 new mode 100644 similarity index 62% rename from Assembly/assembly/all-individual.xml rename to Assembly/assembly/bin.xml index 6287ca4..7a9f51f --- a/Assembly/assembly/all-individual.xml +++ b/Assembly/assembly/bin.xml @@ -4,10 +4,12 @@ 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"> - all-individual + bin dir + zip + false @@ -19,12 +21,24 @@ - / + /plugins + false + false + + ${project.groupId}:ForgePluginBukkit + + ${artifact.build.finalName}.${artifact.extension} + + + /mods false false ${project.groupId}:* + + ${project.groupId}:ForgePluginBukkit + ${artifact.build.finalName}.${artifact.extension} diff --git a/Assembly/pom.xml b/Assembly/pom.xml index 1fda388..d4cfe4e 100755 --- a/Assembly/pom.xml +++ b/Assembly/pom.xml @@ -50,34 +50,20 @@ org.apache.maven.plugins maven-assembly-plugin - 2.4 + 2.5.3 - all-individual + bin package single - ${dir.artifacts.individual} + ${dir.artifacts} ForgePlugin false - ${assembly.all.individual} - - - - - all-packaged - package - - single - - - ${dir.artifacts.packaged} - ForgePlugin-${project.version} - - ${assembly.all.packaged} + ${project.basedir}/assembly/bin.xml diff --git a/ForgePluginBukkit/pom.xml b/ForgePluginBukkit/pom.xml index c3ef391..258e7ea 100755 --- a/ForgePluginBukkit/pom.xml +++ b/ForgePluginBukkit/pom.xml @@ -42,9 +42,6 @@ org.apache.maven.plugins maven-jar-plugin 2.4 - - ${dir.artifacts} - diff --git a/pom.xml b/pom.xml index 57db5b3..b3c61a0 100755 --- a/pom.xml +++ b/pom.xml @@ -67,11 +67,7 @@ ${project.basedir}/.. - ${project.basedir}/../artifacts/individual - ${project.basedir}/../artifacts/packaged - - ${project.basedir}/../Assembly/assembly/all-individual.xml - ${project.basedir}/../Assembly/assembly/all-packaged.xml + ${project.basedir}/../artifacts ${project.name} mod_${project.name}