From ab3173f8402123b218b88eb81e064e37bdc7b2f7 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Thu, 24 Apr 2014 07:24:27 -0400 Subject: [PATCH] add assembly --- hapi-fhir-base/pom.xml | 43 ++++++++++----- hapi-fhir-base/src/assembly/hapi-fhir-all.xml | 42 +++++++++++++++ .../rest/server/ResfulServerMethodTest.java | 2 +- hapi-fhir-structures-dstu/pom.xml | 2 +- hapi-tinder-plugin/pom.xml | 4 +- hapi-tinder-test/pom.xml | 2 +- pom.xml | 52 +++++++++++-------- 7 files changed, 107 insertions(+), 40 deletions(-) create mode 100644 hapi-fhir-base/src/assembly/hapi-fhir-all.xml diff --git a/hapi-fhir-base/pom.xml b/hapi-fhir-base/pom.xml index 50e3d7f9e83..bcbb4ce7194 100644 --- a/hapi-fhir-base/pom.xml +++ b/hapi-fhir-base/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 0.1 + 0.2 ../pom.xml @@ -47,9 +47,9 @@ - org.thymeleaf - thymeleaf - 2.1.2.RELEASE + org.thymeleaf + thymeleaf + 2.1.2.RELEASE true @@ -161,12 +161,12 @@ 9.1.1.v20140108 test - - org.eclipse.jetty - jetty-util - 9.1.1.v20140108 - test - + + org.eclipse.jetty + jetty-util + 9.1.1.v20140108 + test + commons-httpclient @@ -192,7 +192,7 @@ - + maven-site-plugin @@ -298,7 +298,7 @@ - + addAnalytics post-site @@ -413,6 +413,25 @@ + + maven-assembly-plugin + 2.4 + + + package + + single + + + false + + ${project.basedir}/src/assembly/hapi-fhir-all.xml + + + + + + diff --git a/hapi-fhir-base/src/assembly/hapi-fhir-all.xml b/hapi-fhir-base/src/assembly/hapi-fhir-all.xml new file mode 100644 index 00000000000..55bdb67b3c5 --- /dev/null +++ b/hapi-fhir-base/src/assembly/hapi-fhir-all.xml @@ -0,0 +1,42 @@ + + + + all + + + zip + tar.bz2 + + + false + + + + ${project.basedir} + / + + README* + LICENSE* + NOTICE* + + + + ${project.build.directory} + /lib + + *.jar + + + + + + + /lib/dependency + true + false + runtime + + + + + diff --git a/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/server/ResfulServerMethodTest.java b/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/server/ResfulServerMethodTest.java index e6eb8641ed4..58a358b8332 100644 --- a/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/server/ResfulServerMethodTest.java +++ b/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/server/ResfulServerMethodTest.java @@ -682,7 +682,7 @@ public class ResfulServerMethodTest { responseContent = IOUtils.toString(status.getEntity().getContent()); ourLog.info("Response was:\n{}", responseContent); - assertEquals(404, status.getStatusLine().getStatusCode()); + assertEquals(200, status.getStatusLine().getStatusCode()); } diff --git a/hapi-fhir-structures-dstu/pom.xml b/hapi-fhir-structures-dstu/pom.xml index e08cea5db0c..58fe722a7d1 100644 --- a/hapi-fhir-structures-dstu/pom.xml +++ b/hapi-fhir-structures-dstu/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 0.1 + 0.2 ../pom.xml diff --git a/hapi-tinder-plugin/pom.xml b/hapi-tinder-plugin/pom.xml index 781e5c5c1cb..59557a49862 100644 --- a/hapi-tinder-plugin/pom.xml +++ b/hapi-tinder-plugin/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 0.1 + 0.2 ../pom.xml @@ -20,7 +20,7 @@ ca.uhn.hapi.fhir hapi-fhir-base - 0.1 + 0.2 diff --git a/hapi-tinder-test/pom.xml b/hapi-tinder-test/pom.xml index 99d06544251..f3b19723443 100644 --- a/hapi-tinder-test/pom.xml +++ b/hapi-tinder-test/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 0.1 + 0.2 ../pom.xml diff --git a/pom.xml b/pom.xml index a29417726fe..2a1a45b4a8a 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ ca.uhn.hapi.fhir hapi-fhir pom - 0.1 + 0.2 HAPI http://hl7api.sourceforge.net/ @@ -30,10 +30,8 @@ hapi-fhir-base hapi-tinder-plugin - @@ -86,27 +84,35 @@ - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - - - + + + SIGN_ARTIFACTS + + + gpg.passphrase + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + +