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

Feature/jersey2.25.1 #199

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ bin
.DS_Store
target
.idea
*.iml
*.iml
**/pom.xml.versionsBackup
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ With Jersey 2.0 the library was splitted into several modules with a whole bunch
## Changelog
Checkout the [github releases](https://github.com/hstaudacher/osgi-jax-rs-connector/releases).

- Upgrade to Jersey 2.25.1
- Bugfix [Fixed following scenarios not returning HTTP Error 503 while Jersey s…](https://github.com/hstaudacher/osgi-jax-rs-connector/pull/147), publischer version changed to 5.3.2

## License
The code is published under the terms of the [Eclipse Public License, version 1.0](http://www.eclipse.org/legal/epl-v10.html).

Expand Down
52 changes: 26 additions & 26 deletions build/com.eclipsesource.jaxrs.build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@

<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>OSGi - JAX-RS Connector</name>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>0.24.0</tycho-version>
<tycho-extras-version>0.24.0</tycho-extras-version>
<tycho-version>1.2.0</tycho-version>
<tycho-extras-version>1.2.0</tycho-extras-version>
<tycho-groupid>org.eclipse.tycho</tycho-groupid>
<surefire-version>2.18</surefire-version>
<findbugs-version>2.5.5</findbugs-version>
<junit-version>4.11</junit-version>
<mockito-version>1.9.5</mockito-version>
<surefire-version>2.22.0</surefire-version>
<findbugs-version>3.0.5</findbugs-version>
<junit-version>4.12</junit-version>
<mockito-version>1.10.19</mockito-version>
<jacocoagent>${basedir}/../../build/com.eclipsesource.jaxrs.build/lib/jacocoagent.jar</jacocoagent>
<test-arguments>-Xms512m -Xmx512m
-javaagent:${jacocoagent}=destfile=${basedir}/../../build/com.eclipsesource.jaxrs.build/target/jacoco.exec,append=true</test-arguments>
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
</properties>

<modules>
Expand Down Expand Up @@ -63,7 +63,7 @@
<module>../com.eclipsesource.jaxrs.repository</module>
</modules>

<repositories>
<repositories>
<repository>
<id>connector-dependencies</id>
<layout>p2</layout>
Expand Down Expand Up @@ -142,7 +142,7 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
Expand All @@ -157,20 +157,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-javadoc-plugin</artifactId> -->
<!-- <version>2.10</version> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <id>attach-javadocs</id> -->
<!-- <goals> -->
<!-- <goal>jar</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->

</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion build/com.eclipsesource.jaxrs.connector.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
10 changes: 5 additions & 5 deletions build/com.eclipsesource.jaxrs.jersey.all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>jersey-all</artifactId>
<version>2.22.2</version>
<version>2.25.1</version>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<jersey.version>2.22.2</jersey.version>
<jersey.version>2.25.1</jersey.version>
<jaxrs.version>2.0</jaxrs.version>
</properties>

Expand All @@ -18,7 +18,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<version>3.1.0</version>
<configuration>
<archive>
<index>false</index>
Expand All @@ -35,7 +35,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<version>3.5.1</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand Down Expand Up @@ -80,7 +80,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<version>3.1.1</version>
<configuration>
<finalName>shaded-DO-NOT-USE</finalName>
<createSourcesJar>true</createSourcesJar>
Expand Down
10 changes: 5 additions & 5 deletions build/com.eclipsesource.jaxrs.jersey.min/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>jersey-min</artifactId>
<version>2.22.2</version>
<version>2.25.1</version>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<jersey.version>2.22.2</jersey.version>
<jersey.version>2.25.1</jersey.version>
<jaxrs.version>2.0</jaxrs.version>
</properties>

Expand All @@ -18,7 +18,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<version>3.1.0</version>
<configuration>
<archive>
<index>false</index>
Expand All @@ -35,7 +35,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<version>3.5.1</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand Down Expand Up @@ -80,7 +80,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<version>3.1.1</version>
<configuration>
<finalName>shaded-DO-NOT-USE</finalName>
<createSourcesJar>true</createSourcesJar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion build/com.eclipsesource.jaxrs.provider.sse.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion build/com.eclipsesource.jaxrs.repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.consumer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.moxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.multipart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.sse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion bundles/com.eclipsesource.jaxrs.provider.swagger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ public class SwaggerConfiguration implements ManagedService {

private Dictionary<String, ?> configuration;

@SuppressWarnings( "unchecked" )
@Override
public void updated( Dictionary<String, ?> configuration ) throws ConfigurationException {
public void updated( @SuppressWarnings( "rawtypes" ) Dictionary configuration ) throws ConfigurationException {
this.configuration = configuration;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: com.eclipsesource.jaxrs.publisher
Bundle-Version: 5.3.1.qualifier
Bundle-Version: 5.3.2
Bundle-Vendor: %Bundle-Name
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-Localization: plugin
Expand All @@ -19,4 +19,4 @@ Import-Package: javax.servlet;version="[2.3.0,4.0.0)",
org.osgi.service.cm;version="[1.2.0,2.0.0)",
org.osgi.service.http;version="[1.2.0,2.0.0)",
org.osgi.util.tracker;version="[1.4.0,2.0.0)"
Export-Package: com.eclipsesource.jaxrs.publisher;version="5.3.1"
Export-Package: com.eclipsesource.jaxrs.publisher;version="5.3.2"
4 changes: 2 additions & 2 deletions bundles/com.eclipsesource.jaxrs.publisher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<parent>
<groupId>com.eclipsesource</groupId>
<artifactId>osgi-jaxrs-connector</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<relativePath>../../build/com.eclipsesource.jaxrs.build</relativePath>
</parent>

<groupId>com.eclipsesource</groupId>
<artifactId>com.eclipsesource.jaxrs.publisher</artifactId>
<version>5.3.1-SNAPSHOT</version>
<version>5.3.2</version>
<packaging>eclipse-plugin</packaging>

<build>
Expand Down
Loading