[KEYCLOAK-7681] Review pax-web OSGi dependencies

Co-Authored-By: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
Grzegorz Grzybek 2018-06-05 09:22:04 +02:00 committed by Hynek Mlnařík
parent 998227ac53
commit 3c9d3c2c04
5 changed files with 9 additions and 14 deletions

View file

@ -36,6 +36,7 @@
</keycloak.osgi.export>
<keycloak.osgi.import>
!org.keycloak.adapters.osgi.jetty94,
org.ops4j.pax.web.*;version="[7.1,9)",
org.keycloak.*;version="${project.version}",
*;resolution:=optional
</keycloak.osgi.import>

View file

@ -36,6 +36,7 @@
</keycloak.osgi.export>
<keycloak.osgi.import>
!org.keycloak.adapters.osgi.tomcat,
org.ops4j.pax.web.*;version="[7.1,9)",
org.keycloak.*;version="${project.version}",
*;resolution:=optional
</keycloak.osgi.import>

View file

@ -38,7 +38,7 @@
!org.keycloak.adapters.osgi.undertow,
org.keycloak.*;version="${project.version}",
org.keycloak.adapters.osgi.*;version="${project.version}",
org.ops4j.pax.web.*;version="[3.0,8)",
org.ops4j.pax.web.*;version="[7.1,9)",
javax.servlet.*;version="[2.5,4)";resolution:=optional,
org.apache.cxf.transport.http;resolution:=optional;version="[3,4)",
org.apache.cxf.transport.http_undertow;resolution:=optional;version="[3,4)",
@ -65,11 +65,6 @@
<artifactId>org.osgi.enterprise</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-runtime</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-spi</artifactId>

View file

@ -77,11 +77,6 @@
<artifactId>org.osgi.enterprise</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-runtime</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-api</artifactId>

View file

@ -68,7 +68,8 @@
<feature name="keycloak-pax-http-jetty" version="${project.version}">
<details>Keycloak Pax-Web adapter for Jetty 9.4</details>
<feature>keycloak-adapter-core</feature>
<feature>keycloak-osgi-adapter</feature>
<feature version="[7.1,9)">pax-web-core</feature>
<bundle>mvn:org.keycloak/keycloak-osgi-adapter/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-jetty-adapter-spi/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-jetty-core/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-jetty94-adapter/${project.version}</bundle>
@ -79,8 +80,9 @@
<!-- Keycloak adapter for PaxWeb undertow provider -->
<feature name="keycloak-pax-http-undertow" version="${project.version}">
<details>Keycloak Pax-Web adapter for Undertow</details>
<feature>keycloak-osgi-adapter</feature>
<feature>keycloak-adapter-core</feature>
<feature version="[7.1,9)">pax-web-core</feature>
<bundle>mvn:org.keycloak/keycloak-osgi-adapter/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-undertow-adapter/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-undertow-adapter-spi/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-pax-web-undertow/${project.version}</bundle>
@ -92,7 +94,8 @@
<feature name="keycloak-pax-http-tomcat" version="${project.version}">
<details>Keycloak Pax-Web adapter for Tomcat 8</details>
<feature>keycloak-adapter-core</feature>
<feature>keycloak-osgi-adapter</feature>
<feature version="[7.1,9)">pax-web-core</feature>
<bundle>mvn:org.keycloak/keycloak-osgi-adapter/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-tomcat-core-adapter/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-tomcat-adapter-spi/${project.version}</bundle>
<bundle>mvn:org.keycloak/keycloak-tomcat8-adapter/${project.version}</bundle>