Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Fix #126: Karaf feature should contain only jersey-min, not jersey-all
Browse files Browse the repository at this point in the history
  • Loading branch information
hstaudacher committed Dec 27, 2015
1 parent 3c8ab40 commit 4a0a5d4
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/karaf-integration/features/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>osgi-jax-rs-connector-pom</artifactId>
<version>5.0</version>
<version>5.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<feature name="jax-rs-connector" version="${jax-rs-publisher.version}" resolver="(obr)">
<bundle dependency="true">mvn:javax.servlet/javax.servlet-api/3.1.0</bundle>
<bundle dependency="true">mvn:com.eclipsesource.jaxrs/jersey-all/${jax-rs-jersey-all.version}</bundle>
<bundle dependency="true">mvn:com.eclipsesource.jaxrs/jersey-min/${jax-rs-jersey-min.version}</bundle>
<bundle dependency="true">mvn:com.eclipsesource.jaxrs/consumer/${jax-rs-consumer.version}</bundle>
<bundle>mvn:com.eclipsesource.jaxrs/publisher/${jax-rs-publisher.version}</bundle>
</feature>
Expand All @@ -29,5 +29,10 @@
<feature name="jax-rs-provider-sse" version="${jax-rs-providers.version}">
<bundle>mvn:com.eclipsesource.jaxrs/provider-sse/${jax-rs-providers.version}</bundle>
</feature>

<feature name="jax-rs-provider-swagger" version="${jax-rs-providers.swagger.version}">
<bundle dependency="true">mvn:com.eclipsesource.jaxrs/swagger-all/${jax-rs-swagger-all.version}</bundle>
<bundle>mvn:com.eclipsesource.jaxrs/provider-swagger/${jax-rs-providers.swagger.version}</bundle>
</feature>

</features>
2 changes: 1 addition & 1 deletion examples/karaf-integration/itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>osgi-jax-rs-connector-pom</artifactId>
<groupId>com.eclipsesource.jaxrs</groupId>
<version>4.2-SNAPSHOT</version>
<version>5.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion examples/karaf-integration/jax-rs-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>osgi-jax-rs-connector-pom</artifactId>
<groupId>com.eclipsesource.jaxrs</groupId>
<version>4.2-SNAPSHOT</version>
<version>5.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
24 changes: 18 additions & 6 deletions examples/karaf-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>osgi-jax-rs-connector-pom</artifactId>
<packaging>pom</packaging>
<version>5.0</version>
<version>5.3</version>

<modules>
<module>features</module>
Expand All @@ -24,11 +24,13 @@

<properties>
<!-- Change jax-rs connector versions as you like, see available versions here: http://search.maven.org/#search%7Cga%7C1%7Ccom.eclipsesource.jaxrs -->
<jax-rs-publisher.version>5.0</jax-rs-publisher.version>
<jax-rs-consumer.version>5.0</jax-rs-consumer.version>
<jax-rs-jersey-all.version>2.18</jax-rs-jersey-all.version>
<jax-rs-publisher.version>5.3</jax-rs-publisher.version>
<jax-rs-consumer.version>5.3</jax-rs-consumer.version>
<jax-rs-jersey-min.version>2.22.1</jax-rs-jersey-min.version>
<jax-rs-providers.version>2.2</jax-rs-providers.version>
<jax-rs-providers.gson.version>2.3</jax-rs-providers.gson.version>
<jax-rs-providers.swagger.version>1.0</jax-rs-providers.swagger.version>
<jax-rs-swagger-all.version>1.5.5</jax-rs-swagger-all.version>

<lombok.version>1.14.8</lombok.version>
<javaee-web-api.version>7.0</javaee-web-api.version>
Expand Down Expand Up @@ -81,8 +83,8 @@
</dependency>
<dependency>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>jersey-all</artifactId>
<version>${jax-rs-jersey-all.version}</version>
<artifactId>jersey-min</artifactId>
<version>${jax-rs-jersey-min.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -110,6 +112,16 @@
<artifactId>provider-sse</artifactId>
<version>${jax-rs-providers.version}</version>
</dependency>
<dependency>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>provider-swagger</artifactId>
<version>${jax-rs-providers.swagger.version}</version>
</dependency>
<dependency>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>swagger-all</artifactId>
<version>${jax-rs-swagger-all.version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 4a0a5d4

Please sign in to comment.