From 7d9d2bc744917c2773dd19023cc842fe3324dfbb Mon Sep 17 00:00:00 2001 From: Loki Date: Tue, 23 Nov 2010 21:23:16 +0000 Subject: [PATCH] add assembly support for Mage.Server --- Mage.Server/pom.xml | 77 ++++++++++++++++--- .../src/main/assembly/distribution.xml | 38 +++++++++ 2 files changed, 104 insertions(+), 11 deletions(-) create mode 100644 Mage.Server/src/main/assembly/distribution.xml diff --git a/Mage.Server/pom.xml b/Mage.Server/pom.xml index 9a8445d002..aa6ea0ff96 100644 --- a/Mage.Server/pom.xml +++ b/Mage.Server/pom.xml @@ -44,7 +44,42 @@ 1.2.14 jar - + + ${project.groupId} + Mage-Player-AI + ${project.version} + runtime + + + ${project.groupId} + Mage-Deck-Constructed + ${project.version} + runtime + + + ${project.groupId} + Mage-Game-FreeForAll + ${project.version} + runtime + + + ${project.groupId} + Mage-Game-TwoPlayerDuel + ${project.version} + runtime + + + ${project.groupId} + Mage-Player-Human + ${project.version} + runtime + + + ${project.groupId} + Mage-Player-AIMinimax + ${project.version} + runtime + @@ -57,15 +92,15 @@ - - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.7.3 - - mage.server.util.config + + org.jvnet.jaxb2.maven2 + maven-jaxb2-plugin + 0.7.3 + + mage.server.util.config ./src/main/xml-resources/jaxb/Config/ -Xcommons-lang - + @@ -75,16 +110,36 @@ - org.apache.maven.plugins + org.apache.maven.plugins maven-compiler-plugin 2.0.2 - 1.6 + 1.6 1.6 + + maven-assembly-plugin + + + src/main/assembly/distribution.xml + + + + + maven-jar-plugin + + + + true + lib/ + mage.server.Main + + + + - maven-resources-plugin + maven-resources-plugin UTF-8 diff --git a/Mage.Server/src/main/assembly/distribution.xml b/Mage.Server/src/main/assembly/distribution.xml new file mode 100644 index 0000000000..0fcdf4f6ce --- /dev/null +++ b/Mage.Server/src/main/assembly/distribution.xml @@ -0,0 +1,38 @@ + + + false + + zip + + + + / + + org.mage:Mage-Server + + + + /plugins + + org.mage:Mage-Deck-Constructed + org.mage:Mage-Game-FreeForAll + org.mage:Mage-Game-TwoPlayerDuel + org.mage:Mage-Player-AI + org.mage:Mage-Player-AIMinimax + org.mage:Mage-Player-Human + + + + /lib/ + + + + + release/ + / + + +