From 569e0cdcdf3e86c7d3f26dd099bba77612471c04 Mon Sep 17 00:00:00 2001 From: Fayder Date: Tue, 29 Jul 2014 09:41:31 +0300 Subject: [PATCH] updated jetty plugin --- pom.xml | 80 +++++++++---------- .../restcountries/v1/CountryRestTest.java | 3 +- 2 files changed, 38 insertions(+), 45 deletions(-) diff --git a/pom.xml b/pom.xml index 2748e988..3bac4c9c 100644 --- a/pom.xml +++ b/pom.xml @@ -79,60 +79,54 @@ - org.mortbay.jetty + org.eclipse.jetty jetty-maven-plugin - 8.1.13.v20130916 + 9.2.2.v20140723 / true - - - 8081 - 60000 - - com.google.code.maven-replacer-plugin - replacer - 1.5.2 - - - prepare-package - - replace - - - - - - src/main/webapp/**.html - src/main/webapp/v0.10 - - - - PROJECT_VERSION - ${project.version} - - - localhost:8081 - restcountries.eu - - - + replacer + 1.5.2 + + + prepare-package + + replace + + + + + + src/main/webapp/**.html + src/main/webapp/v0.10 + + + + PROJECT_VERSION + ${project.version} + + + localhost:8081 + restcountries.eu + + + - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.6 - - - + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.6 + + + \ No newline at end of file diff --git a/src/test/java/vaeke/restcountries/v1/CountryRestTest.java b/src/test/java/vaeke/restcountries/v1/CountryRestTest.java index 35429658..83d582a5 100644 --- a/src/test/java/vaeke/restcountries/v1/CountryRestTest.java +++ b/src/test/java/vaeke/restcountries/v1/CountryRestTest.java @@ -28,7 +28,7 @@ public class CountryRestTest { @Rule - public Destination destination = new Destination(this, "http://localhost:8081/rest/v1"); + public Destination destination = new Destination(this, "http://localhost:8080/rest/v1"); @Context private Response response; @@ -98,7 +98,6 @@ public void language() { org.junit.Assert.assertEquals(2, countries.size()); for(DesCountry country : countries) { org.junit.Assert.assertTrue(country.getLanguages().contains("no")); - System.out.println(country.getName()); } }