Skip to content

Commit

Permalink
Merge pull request #3 from senivam/docletRefactoring
Browse files Browse the repository at this point in the history
OSGi example bundle fix

Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Jul 21, 2021
2 parents b6dd231 + 3e07974 commit a71a763
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions examples/osgi-http-service/functional-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.http</artifactId>
<version>1.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.cm</artifactId>
<scope>test</scope>
</dependency>


<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -200,6 +213,16 @@
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<!--
excluded due to javax.servlet-api collision -
more than one version is required, so it is not possible to execute that test.
(since pax-exam version 4.13.4)
-->
<exclude>org.glassfish.jersey.examples.osgihttpservice.test.GrizzlyHttpServiceFelixTest</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand Down Expand Up @@ -27,6 +27,8 @@ public class JettyHttpServiceFelixTest extends AbstractHttpServiceTest {
@Override
public List<Option> osgiRuntimeOptions() {
return Arrays.asList(CoreOptions.options(
mavenBundle().groupId("org.osgi").artifactId("org.osgi.service.http").versionAsInProject(),
mavenBundle().groupId("org.osgi").artifactId("org.osgi.service.cm").versionAsInProject(),
mavenBundle().groupId("org.apache.felix").artifactId("org.apache.felix.eventadmin").versionAsInProject()
));
}
Expand Down

0 comments on commit a71a763

Please sign in to comment.