Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 51e6391

Browse files
committed
HK2 update.
Change-Id: I931e8956067a6287150648c8e606199225a52eca
1 parent c98eb6c commit 51e6391

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/GrizzlyHttpServiceFelixTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2010-2013 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2010-2016 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -41,17 +41,14 @@
4141
package org.glassfish.jersey.examples.osgihttpservice.test;
4242

4343
import java.util.Arrays;
44-
import java.util.Collections;
4544
import java.util.List;
4645

4746
import org.junit.Before;
4847
import org.junit.Test;
4948
import org.junit.runner.RunWith;
5049
import org.ops4j.pax.exam.CoreOptions;
5150
import org.ops4j.pax.exam.Option;
52-
import org.ops4j.pax.exam.junit.JUnit4TestRunner;
5351
import org.ops4j.pax.exam.junit.PaxExam;
54-
5552
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
5653

5754
@RunWith(PaxExam.class)

examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/JettyHttpServiceFelixTest.java

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2010-2013 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2010-2016 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -40,17 +40,15 @@
4040

4141
package org.glassfish.jersey.examples.osgihttpservice.test;
4242

43+
import java.util.Arrays;
44+
import java.util.List;
45+
4346
import org.junit.Before;
4447
import org.junit.Test;
4548
import org.junit.runner.RunWith;
4649
import org.ops4j.pax.exam.CoreOptions;
4750
import org.ops4j.pax.exam.Option;
4851
import org.ops4j.pax.exam.junit.PaxExam;
49-
50-
import java.util.Arrays;
51-
import java.util.Collections;
52-
import java.util.List;
53-
5452
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
5553

5654
@RunWith(PaxExam.class)
@@ -59,11 +57,8 @@ public class JettyHttpServiceFelixTest extends AbstractHttpServiceTest {
5957
@Override
6058
public List<Option> osgiRuntimeOptions() {
6159
return Arrays.asList(CoreOptions.options(
62-
mavenBundle()
63-
.groupId("org.apache.felix").artifactId("org.apache.felix.eventadmin")
64-
.versionAsInProject()
65-
)
66-
);
60+
mavenBundle().groupId("org.apache.felix").artifactId("org.apache.felix.eventadmin").versionAsInProject()
61+
));
6762
}
6863

6964
@Override

pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,12 @@
17151715
<version>${weld.version}</version>
17161716
</dependency>
17171717

1718+
<dependency>
1719+
<groupId>javax.validation</groupId>
1720+
<artifactId>validation-api</artifactId>
1721+
<version>${javax.validation.api.version}</version>
1722+
</dependency>
1723+
17181724
<!-- Test scope -->
17191725

17201726
<dependency>
@@ -1890,17 +1896,18 @@
18901896
<guava.version>18.0</guava.version>
18911897
<hamcrest.version>1.3</hamcrest.version>
18921898
<xmlunit.version>1.6</xmlunit.version>
1893-
<hk2.version>2.4.0-b34</hk2.version>
1899+
<hk2.version>2.5.0-b05</hk2.version>
18941900
<httpclient.version>4.5</httpclient.version>
18951901
<jackson.version>2.5.4</jackson.version>
18961902
<jackson1.version>1.9.13</jackson1.version>
1897-
<javassist.version>3.18.1-GA</javassist.version>
1903+
<javassist.version>3.20.0-GA</javassist.version>
18981904
<javax.annotation.version>1.2</javax.annotation.version>
18991905
<javax.annotation.bundle.version>1.2</javax.annotation.bundle.version>
19001906
<javax.el.version>2.2.4</javax.el.version>
19011907
<javax.el.impl.version>2.2.4</javax.el.impl.version>
19021908
<javax.interceptor.version>1.2</javax.interceptor.version>
19031909
<javax.persistence.version>1.0</javax.persistence.version>
1910+
<javax.validation.api.version>1.1.0.Final</javax.validation.api.version>
19041911
<jaxb.api.version>2.2.7</jaxb.api.version>
19051912
<jaxb.ri.version>2.2.7</jaxb.ri.version>
19061913
<jaxrs.api.spec.version>2.0</jaxrs.api.spec.version>
@@ -1927,7 +1934,7 @@
19271934
<mustache.version>0.8.17</mustache.version>
19281935
<nexus-staging.mvn.plugin.version>1.6.7</nexus-staging.mvn.plugin.version>
19291936
<osgi.version>4.2.0</osgi.version>
1930-
<pax.exam.version>3.3.0</pax.exam.version>
1937+
<pax.exam.version>4.9.1</pax.exam.version>
19311938
<pax.web.version>0.7.4</pax.web.version><!-- TODO: UPGRADE! -->
19321939
<paxexam.mvn.plugin.version>1.2.4</paxexam.mvn.plugin.version>
19331940
<rxjava.version>1.0.12</rxjava.version>

0 commit comments

Comments
 (0)