From 3c342c6391b208e3400377f175975fd01f004c3e Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Wed, 19 Aug 2015 08:52:37 -0400 Subject: [PATCH] Try to fix regression in #206 --- hapi-fhir-jpaserver-example/pom.xml | 1 - .../ca/uhn/fhir/rest/server/CreateTest.java | 2 +- pom.xml | 64 +++++++++++-------- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/hapi-fhir-jpaserver-example/pom.xml b/hapi-fhir-jpaserver-example/pom.xml index 2baf36f29a2..089f5fc7dbf 100644 --- a/hapi-fhir-jpaserver-example/pom.xml +++ b/hapi-fhir-jpaserver-example/pom.xml @@ -185,7 +185,6 @@ org.eclipse.jetty jetty-maven-plugin - 9.1.1.v20140108 /hapi-fhir-jpaserver-example diff --git a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java index 0c106bab0a8..347d1d15a81 100644 --- a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java +++ b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/CreateTest.java @@ -84,7 +84,7 @@ public class CreateTest { assertEquals(201, status.getStatusLine().getStatusCode()); assertEquals("http://localhost:" + ourPort + "/Patient/001/_history/002", status.getFirstHeader("location").getValue()); - assertThat(status.getFirstHeader(Constants.HEADER_CONTENT_TYPE).getValue(), StringContains.containsString("UTF-8")); + assertThat(status.getFirstHeader(Constants.HEADER_CONTENT_TYPE).getValue().toUpperCase(), StringContains.containsString("UTF-8")); assertThat(ourLastResourceBody, stringContainsInOrder(""," + net.sourceforge.cobertura cobertura @@ -298,33 +303,6 @@ - - org.apache.maven.plugins - maven-war-plugin - 2.6 - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - - org.codehaus.mojo - cobertura-maven-plugin - 2.7 - - true - - - - org.eluder.coveralls - coveralls-maven-plugin - 3.1.0 - - - - - org.apache.maven.plugins maven-compiler-plugin @@ -353,6 +331,38 @@ + + org.apache.maven.plugins + maven-war-plugin + 2.6 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + true + + + + org.eclipse.jetty + jetty-maven-plugin + 9.2.6.v20141205 + + + org.eluder.coveralls + coveralls-maven-plugin + 3.1.0 + + + + + org.apache.maven.plugins maven-surefire-plugin