Skip to content

Commit 3309d16

Browse files
committed
Merge pull request #2 from senivam/docletRefactoring
OSGi example fix Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
2 parents c2beaa1 + a542dc1 commit 3309d16

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/osgi-helloworld-webapp/functional-test/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
</dependency>
9191

9292
<!-- JUnit and Pax-Exam dependencies -->
93+
<dependency>
94+
<groupId>org.osgi</groupId>
95+
<artifactId>org.osgi.service.cm</artifactId>
96+
<scope>test</scope>
97+
</dependency>
9398
<dependency>
9499
<groupId>org.ops4j.pax.exam</groupId>
95100
<artifactId>pax-exam-junit4</artifactId>

examples/osgi-helloworld-webapp/functional-test/src/test/java/org/glassfish/jersey/examples/helloworld/test/WebAppFelixTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 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 Distribution License v. 1.0, which is available at
@@ -37,6 +37,7 @@ public class WebAppFelixTest extends AbstractWebAppTest {
3737
@Override
3838
public List<Option> osgiRuntimeOptions() {
3939
return Arrays.asList(CoreOptions.options(
40+
mavenBundle().groupId("org.osgi").artifactId("org.osgi.service.cm").versionAsInProject(),
4041
mavenBundle()
4142
.groupId("org.apache.felix").artifactId("org.apache.felix.eventadmin")
4243
.versionAsInProject()

0 commit comments

Comments
 (0)