Skip to content

Commit c2beaa1

Browse files
committed
Merge pull request #1 from senivam/docletRefactoring
Pax-Exam tests fix Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
2 parents 53c5032 + 64852b1 commit c2beaa1

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,6 +1799,13 @@
17991799
<scope>provided</scope>
18001800
</dependency>
18011801

1802+
<dependency>
1803+
<groupId>org.osgi</groupId>
1804+
<artifactId>org.osgi.service.cm</artifactId>
1805+
<version>${osgi.service.cm.version}</version>
1806+
<scope>provided</scope>
1807+
</dependency>
1808+
18021809
<dependency>
18031810
<groupId>org.glassfish.main.ejb</groupId>
18041811
<artifactId>ejb-container</artifactId>
@@ -2133,6 +2140,7 @@
21332140
<opentracing.version>0.30.0</opentracing.version>
21342141
<osgi.version>6.0.0</osgi.version>
21352142
<osgi.compendium.version>5.0.0</osgi.compendium.version>
2143+
<osgi.service.cm.version>1.6.0</osgi.service.cm.version>
21362144
<pax.exam.version>4.13.4</pax.exam.version>
21372145
<pax.web.version>0.7.4</pax.web.version><!-- TODO: UPGRADE! -->
21382146
<paxexam.mvn.plugin.version>1.2.4</paxexam.mvn.plugin.version>

tests/osgi/functional/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@
100100
<artifactId>jakarta.annotation-api</artifactId>
101101
<scope>test</scope>
102102
</dependency>
103+
<dependency>
104+
<groupId>org.osgi</groupId>
105+
<artifactId>org.osgi.service.cm</artifactId>
106+
<scope>test</scope>
107+
</dependency>
103108
<dependency>
104109
<groupId>org.ops4j.pax.exam</groupId>
105110
<artifactId>pax-exam</artifactId>

tests/osgi/functional/src/test/java/org/glassfish/jersey/osgi/test/basic/ApacheOsgiIntegrationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2019 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -55,6 +55,7 @@ public static Option[] configuration() {
5555
final List<Option> options = Helper.getCommonOsgiOptions();
5656
options.addAll(Helper.expandedList(
5757
mavenBundle().groupId("org.ops4j.pax.logging").artifactId("pax-logging-api").versionAsInProject(),
58+
mavenBundle().groupId("org.osgi").artifactId("org.osgi.service.cm").versionAsInProject(),
5859
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpcore-osgi").versionAsInProject(),
5960
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpclient-osgi").versionAsInProject(),
6061
mavenBundle().groupId("org.glassfish.jersey.connectors").artifactId("jersey-apache-connector")

0 commit comments

Comments
 (0)