Skip to content

Commit

Permalink
fix(DPE-107): upgrade to osgi spec 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
f2par0 committed Dec 6, 2024
1 parent 03a51f8 commit 4225cc5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
11 changes: 4 additions & 7 deletions pax-web-itest/pax-web-itest-karaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,7 @@

<!-- OSGi -->

<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.function</artifactId>
Expand Down Expand Up @@ -381,8 +377,9 @@
<artifactId>jakarta.websocket-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>1.2.1</version>
</dependency>

<dependency>
Expand Down
10 changes: 8 additions & 2 deletions pax-web-karaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,14 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
<version>7.0.0</version>
<artifactId>org.osgi.service.jakartars</artifactId>
<version>${dependency.org.osgi.service.jakartars}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.servlet</artifactId>
<version>${dependency.org.osgi.service.servlet}</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.ops4j.pax.web.service.WebContainer;
import org.ops4j.pax.web.service.spi.model.info.WebApplicationInfo;
import org.ops4j.pax.web.service.spi.model.views.ReportWebContainerView;
import org.osgi.service.http.runtime.HttpServiceRuntimeConstants;
import org.osgi.service.servlet.runtime.HttpServiceRuntimeConstants;

@Command(scope = "web", name = "wab-list", description = "Lists all available, deployed Web Application Bundles.")
@Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.ops4j.pax.web.service.WebContainer;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
import org.osgi.service.http.runtime.HttpServiceRuntime;
import org.osgi.service.servlet.runtime.HttpServiceRuntime;

public abstract class WebCommand implements Action {

Expand Down

0 comments on commit 4225cc5

Please sign in to comment.