File tree Expand file tree Collapse file tree 3 files changed +20
-9
lines changed
src/test/java/org/javaee7/jaxrs/server/negotiation Expand file tree Collapse file tree 3 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 88 <relativePath >../pom.xml</relativePath >
99 </parent >
1010
11- <groupId >org.javaee7.jaxrs</groupId >
1211 <artifactId >server-negotiation</artifactId >
13- <version >1.0-SNAPSHOT</version >
1412 <packaging >war</packaging >
1513</project >
Original file line number Diff line number Diff line change 88
99import java .io .IOException ;
1010import java .net .MalformedURLException ;
11+ import java .net .URI ;
1112import java .net .URL ;
1213
1314import javax .ws .rs .client .Client ;
@@ -48,7 +49,7 @@ public static WebArchive createDeployment() {
4849 @ Before
4950 public void setUp () throws MalformedURLException {
5051 Client client = ClientBuilder .newClient ();
51- target = client .target (new URL (base , "webresources/persons" ).toExternalForm ());
52+ target = client .target (URI . create ( new URL (base , "webresources/persons" ).toExternalForm () ));
5253 }
5354
5455 @ Test
Original file line number Diff line number Diff line change 243243 <id >glassfish-remote-arquillian</id >
244244 <dependencies >
245245 <dependency >
246- <groupId >org.glassfish</groupId >
247- <artifactId >javax.json</artifactId >
248- <version >1.0.4</version >
249- <scope >test</scope >
250- </dependency >
251- <dependency >
246+ <groupId >org.glassfish</groupId >
247+ <artifactId >javax.json</artifactId >
248+ <version >1.0.4</version >
249+ <scope >test</scope >
250+ </dependency >
251+ <dependency >
252252 <groupId >org.glassfish.tyrus</groupId >
253253 <artifactId >tyrus-client</artifactId >
254254 <version >1.3</version >
266266 <version >2.4</version >
267267 <scope >test</scope >
268268 </dependency >
269+ <dependency >
270+ <groupId >org.glassfish.jersey.media</groupId >
271+ <artifactId >jersey-media-json-jackson</artifactId >
272+ <version >2.4</version >
273+ <scope >test</scope >
274+ </dependency >
275+ <dependency >
276+ <groupId >org.glassfish.jersey.media</groupId >
277+ <artifactId >jersey-media-json-processing</artifactId >
278+ <version >2.4</version >
279+ <scope >test</scope >
280+ </dependency >
269281 <dependency >
270282 <groupId >org.jboss.arquillian.container</groupId >
271283 <artifactId >arquillian-glassfish-remote-3.1</artifactId >
You can’t perform that action at this time.
0 commit comments