Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepared branch for Jersey 3.0.0-M3 release #4488

Merged
merged 77 commits into from
May 25, 2020
Merged
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
4d881e9
Issue #3801 Jersey-Bean-Validator-fails-to-inject-Weld-managed-beans
dmatej Apr 15, 2019
e795abe
Issue #3801 Do not use CDI with bean validation when it is not available
dmatej Apr 17, 2019
3f8c07c
[#3651] Broken links in examples README files (#4376)
mcserra Feb 2, 2020
81c2d32
Adopt Jackson 2.10.1 (#4339)
jansupol Feb 5, 2020
628621b
Fix #4380 - Jersey 2.30 does not work on JDK 11
tvallin Feb 4, 2020
0265a7e
[#3726] Typo in preface (#4377)
mcserra Feb 11, 2020
780b754
[#3720] Incorrect method in the documentation (#4378)
mcserra Feb 11, 2020
f2ccfd5
Jersey Configuration documentation (#4371)
senivam Feb 13, 2020
706c01c
Query parameters were not included in netty URI (#4393)
jbescos Feb 17, 2020
38d0819
Use HTTPS to resolve dependencies in Maven Build (#4391)
JLLeitschuh Feb 17, 2020
e5af7d6
Fix #3433 - Multiple cookies with same name are not supported (#4390)
tvallin Feb 18, 2020
a19a446
netty connector/container modifications (#4387)
senivam Feb 19, 2020
e17b2b1
Fixed stacktraces caused by incorrect JNDI lookup (#4373)
dmatej Feb 19, 2020
e11e086
Allow HK2 AbstractBinder class to bind before the Feature is called (…
jansupol Feb 19, 2020
22aabff
Preparation for GF 6
jansupol Feb 19, 2020
fd7bf1e
Update pom.xml
senivam Feb 19, 2020
24a0f65
Merge pull request #4396 from jansupol/gf.osgi.ver.up
arjantijms Feb 19, 2020
20f74ce
Weld changed to provided scope.
tomas-langer Mar 2, 2020
e9b4933
Weld dependency fixes for tests.
tomas-langer Mar 2, 2020
fb797a5
Weld dependency fixes for examples.
tomas-langer Mar 2, 2020
1340947
Use standard pom.xml structure (#4414)
jansupol Mar 24, 2020
6c64522
Minor modification on documentation chapter (#4408)
tvallin Mar 26, 2020
5c4303b
Use request scope ClientProperties.READ_TIMEOUT in Jetty && Netty (#4…
jansupol Mar 27, 2020
cd22d86
Adopt ee4j parent 1.0.6 (#4412)
jansupol Mar 27, 2020
5b611fc
Fix the OSGi Functional Tests for JDK 11
jansupol Mar 25, 2020
351a578
Allow to use HeaderDelegateProvider to parse the response MediaType
jansupol Mar 24, 2020
5f43f0e
Add new interfaces (PreInvocationInterceptor, PostInvocationIntercept…
tvallin Mar 28, 2020
950ce6c
Updated GF, Jetty, Mimepull, Moxy, Yasson dependencies (#4425)
jansupol Apr 2, 2020
3ca6161
Fix example helloworld-cdi2-se
tvallin Apr 7, 2020
64781d3
Fix example helloworld-pure-jax-rs
tvallin Apr 7, 2020
d21e7e5
Fix example helloworld-spring-annotations
tvallin Apr 8, 2020
0813d24
Fix example helloworld-weld
tvallin Apr 8, 2020
40847c5
Fix example http-patch + dependency added to main pom
tvallin Apr 8, 2020
c44de3c
Fix example json-jettison
tvallin Apr 8, 2020
2e08462
Fix example json-moxy
tvallin Apr 8, 2020
a304d64
Fix example server-sent-events-jaxrs
tvallin Apr 8, 2020
c9c80d7
Fix example server-sent-events-jersey
tvallin Apr 8, 2020
15dbc88
Update copyright
tvallin Apr 8, 2020
0af9096
Fix cdi2-se example
tvallin Apr 14, 2020
feaf8ac
Update WELD version
tvallin Apr 15, 2020
0611e07
Include dependency into jdk11+ profile
tvallin Apr 15, 2020
6f2fe0a
Remove istack dependency from main pom
tvallin Apr 15, 2020
7b0abee
Add istack version
tvallin Apr 15, 2020
449f35f
Some clean up
tvallin Apr 15, 2020
5ee3428
Fix weld dependency version
tvallin Apr 15, 2020
d88025b
Adopt ASM 8.0 (#4431)
jansupol Apr 17, 2020
3d04682
Make sure the RX invoker gets ExecutorService from ExecutorServicePro…
jansupol Apr 17, 2020
7421515
Support jdk15 (#4426)
jbescos Apr 17, 2020
519879c
Upgraded bean validation to 6.1.2.Final
jansupol Apr 3, 2020
f9a8431
When no JAX-B RI on CP warn and disable WADL
jansupol Apr 27, 2020
c87136b
Copyright fixes.
tomas-langer May 5, 2020
ef94758
Activate useSystemProperties into ApacheConnector (#4458) (#4459)
lounagen May 11, 2020
d500d53
jersey-2031 (#4453)
jbescos May 11, 2020
94fc06d
Merge pull request #4438 from tvallin/master
senivam May 11, 2020
484e7f6
JerseyInvocation should override toString()
Apr 9, 2020
5774994
Fix some build warnings and a multithread warning, when building with…
Apr 9, 2020
4751513
Merge pull request #4404 from tomas-langer/4403-weld-provided
senivam May 11, 2020
9d28d1e
Merge pull request #4375 from dmatej/fixed-jersey-3801-inject-cdi-int…
senivam May 11, 2020
31bd872
feat: allow json-jackson to auto-discover modules
Apr 22, 2020
1c68a58
Fix Extended Wadl Example OSGi Test for JDK11 (#4430)
jansupol May 12, 2020
3a00f9f
Merge master into jakartified.m3
senivam May 14, 2020
11d6c11
Offer the Client (partial) response in ProcessingException. (#4460)
jansupol May 14, 2020
da3473b
Allow the user for overriding the default Viewable MediaType
jansupol May 11, 2020
0e7eb12
Updated NOTICE files and regarding legal information
jansupol May 13, 2020
549fc68
Set additional security features on SecureSaxParserFactory. (#4472)
jansupol May 18, 2020
4b54391
ClientDestroyTest fix (#4469)
jansupol May 18, 2020
89df8e3
Run tests with JDK11 in servlet-2.5-mvc-1 (#4471)
jbescos May 18, 2020
acf8263
jakartification: adjustments after merge
senivam May 19, 2020
dd6abb9
Merge remote-tracking branch 'upstream/master' into jakartified.m3
senivam May 19, 2020
6e438aa
Jakarta EE namespace transition
jGauravGupta May 19, 2020
70948bc
jakartification: merge adjustments
senivam May 19, 2020
d0292da
jakartification: json-b/p, moxy, persistence, istack.commons
senivam May 21, 2020
62287b2
Jakartification: jstl, jsp
senivam May 22, 2020
fb2577f
Jakartification: bump versions for jaxb-api/ri
senivam May 23, 2020
950ed4b
Merge remote-tracking branch 'payara/jakarta-namespace-transition-2' …
senivam May 25, 2020
f11b24f
Jakartification: grizzly server kept back to 2.4.4, un-jakartified se…
senivam May 25, 2020
ce2c1a1
jakartification: osgi imports adjusted
senivam May 25, 2020
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
25 changes: 9 additions & 16 deletions examples/osgi-helloworld-webapp/functional-test/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 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
@@ -225,24 +225,17 @@

<profiles>
<profile>
<id>testsSkipJdk11</id>
<id>testsJdk11</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Exclude unit tests on jdk 11 for now -->
<excludes>
<exclude>**/WebAppFelixTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>${jakarta.activation.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>release</id>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020 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
@@ -35,6 +35,7 @@

import javax.inject.Inject;

import org.glassfish.jersey.internal.util.JdkVersion;
import org.glassfish.jersey.internal.util.PropertiesHelper;

import org.ops4j.pax.exam.Configuration;
@@ -54,6 +55,7 @@
import static org.ops4j.pax.exam.CoreOptions.options;
import static org.ops4j.pax.exam.CoreOptions.systemPackage;
import static org.ops4j.pax.exam.CoreOptions.systemProperty;
import static org.ops4j.pax.exam.CoreOptions.vmOption;

/**
* @author Jakub Podlesak
@@ -104,6 +106,7 @@ public List<Option> genericOsgiOptions() {

// uncomment for verbose class loading info
// vmOption("-verbose:class"),
getAddOpensForFelixFrameWorkSecurity(),

// bootDelegationPackage("org.glassfish.jersey.client.*"),

@@ -147,6 +150,7 @@ public List<Option> genericOsgiOptions() {
mavenBundle().groupId("jakarta.xml.bind").artifactId("jakarta.xml.bind-api").versionAsInProject(),
//SUN JAXB IMPL OSGI
mavenBundle().groupId("com.sun.xml.bind").artifactId("jaxb-osgi").versionAsInProject().versionAsInProject(),
getActivationBundle(),
systemPackage("com.sun.source.tree"),
systemPackage("com.sun.source.util"),

@@ -190,6 +194,18 @@ public List<Option> genericOsgiOptions() {
return options;
}

private static Option getActivationBundle() {
return JdkVersion.getJdkVersion().getMajor() > 8
? mavenBundle().groupId("com.sun.activation").artifactId("jakarta.activation").versionAsInProject()
: null;
}

private static Option getAddOpensForFelixFrameWorkSecurity() {
return JdkVersion.getJdkVersion().getMajor() > 8
? vmOption("--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED")
: null;
}

public List<Option> jettyOptions() {
return Arrays.asList(options(
mavenBundle().groupId("org.ops4j.pax.web").artifactId("pax-web-jetty-bundle").versionAsInProject(),
7 changes: 6 additions & 1 deletion examples/osgi-helloworld-webapp/war-bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 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
@@ -66,6 +66,11 @@
<artifactId>org.apache.felix.eventadmin</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
7 changes: 6 additions & 1 deletion examples/osgi-http-service/bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 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
@@ -47,6 +47,11 @@
<artifactId>org.apache.felix.eventadmin</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
26 changes: 9 additions & 17 deletions examples/osgi-http-service/functional-test/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 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
@@ -202,25 +202,17 @@

<profiles>
<profile>
<id>testsSkipJdk11</id>
<id>testsJdk11</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Exclude unit tests on jdk 11 for now -->
<excludes>
<exclude>**/GrizzlyHttpServiceFelixTest.java</exclude>
<exclude>**/JettyHttpServiceFelixTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>${jakarta.activation.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>release</id>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2020 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
@@ -30,6 +30,7 @@

import javax.inject.Inject;

import org.glassfish.jersey.internal.util.JdkVersion;
import org.glassfish.jersey.internal.util.PropertiesHelper;

import org.ops4j.pax.exam.Configuration;
@@ -111,6 +112,7 @@ public List<Option> genericOsgiOptions() {
mavenBundle().groupId("jakarta.xml.bind").artifactId("jakarta.xml.bind-api").versionAsInProject(),
//SUN JAXB IMPL OSGI
mavenBundle().groupId("com.sun.xml.bind").artifactId("jaxb-osgi").versionAsInProject().versionAsInProject(),
getActivationBundle(),
systemPackage("com.sun.source.tree"),
systemPackage("com.sun.source.util"),

@@ -249,4 +251,10 @@ private Dictionary getHandlerServiceProperties(String... topics) {
result.put(EventConstants.EVENT_TOPIC, topics);
return result;
}

private static Option getActivationBundle() {
return JdkVersion.getJdkVersion().getMajor() > 8
? mavenBundle().groupId("com.sun.activation").artifactId("jakarta.activation").versionAsInProject()
: null;
}
}
16 changes: 4 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1919,13 +1919,6 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-native</artifactId>
<version>${pax.exam.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit-extender-impl</artifactId>
@@ -2002,22 +1995,21 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<!--5.2.0+ does not work with moxy osgi functional tests-->
<version>5.0.1</version>
<version>6.0.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.eventadmin</artifactId>
<version>1.2.2</version>
<version>1.5.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework.security</artifactId>
<version>2.2.0</version>
<version>2.6.1</version>
<scope>test</scope>
</dependency>

@@ -2146,7 +2138,7 @@
<opentracing.version>0.30.0</opentracing.version>
<osgi.version>6.0.0</osgi.version>
<osgi.compendium.version>5.0.0</osgi.compendium.version>
<pax.exam.version>4.9.1</pax.exam.version>
<pax.exam.version>4.13.1</pax.exam.version>
<pax.web.version>0.7.4</pax.web.version><!-- TODO: UPGRADE! -->
<paxexam.mvn.plugin.version>1.2.4</paxexam.mvn.plugin.version>
<rxjava.version>1.2.5</rxjava.version>
67 changes: 11 additions & 56 deletions tests/osgi/functional/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
@@ -144,7 +144,7 @@
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId>
<version>1.6.0</version>
<version>2.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -178,7 +178,7 @@
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId>
<scope>test</scope>
<version>1.8.3</version>
<version>1.11.5</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
@@ -376,13 +376,6 @@
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>test</scope>
</dependency>
<!-- <dependency>-->
<!-- Not needed since Jackson 2.10.1 -->
<!-- <groupId>com.sun.activation</groupId>-->
<!-- <artifactId>jakarta.activation</artifactId>-->
<!-- <version>${jakarta.activation.version}</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->

<!-- logging -->
<dependency>
@@ -395,55 +388,17 @@

<profiles>
<profile>
<id>testsSkipJdk11</id>
<id>jdk11dependency</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Exclude unit tests on jdk 11 for now -->
<excludes>
<exclude>org/glassfish/jersey/osgi/test/basic/ApacheOsgiIntegrationTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/BasicOsgiIntegrationTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/BeanValidationTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JaxRsRiBundleTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JsonJackson1Test.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JsonJacksonTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JsonJettisonTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JsonMoxyTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/JsonProcessingTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/MultiPartTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/PackageScanningTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/ResourceBundleTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/SseTest.java</exclude>
<exclude>org/glassfish/jersey/osgi/test/basic/WebResourceFactoryTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>testsSkipJdk6</id>
<activation>
<jdk>1.6</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/PackageScanningTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>${jakarta.activation.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>sonar</id>
Loading