TOMEE-4261 - JakartaEE 10 APIs + OWB4 (#1066)

* OWB 4.0.0

* OWB 4.0.0

* Compile issue with EE9.1 api (is dropped in EE10)

* Compile issue with EE9.1 api (is dropped in EE10)

* BOM Fixes

* Move to EE-10 APIs as required by OWB-10
Updates Tomcat to 10.1.x to be compatible with EE-10 APIs

* BOM regeneration after EE10 API move

* Upgrade bval to 3.0.0-SNAPSHOT

* Use BatchEE 2.0.0-SNAPSHOT which is Jakarta converted now

* Remove Jakarta qualifier from arquillian config

* Update arquillian

* MyFaces 4 (picked from https://github.com/apache/tomee/pull/1019)

* Regenerate BOMs

* Use Jakarta 10.0-M1 API consistently

* Update htmlunit, fixes some 9.1.1 api references

* Update htmlunit, fixes some 9.1.1 api references

* Fix tomcat version

* LegacyCookieProcessor does not exist in 10.1.x anymore (cf. https://github.com/apache/tomcat/commit/d78c7193f171fa4e75f2503b3c0173b7e37d0cee)

* Fixes some compile issues

* This method got deprecated in CDI-1.1 and removed in CDI-4.0.Use #getInjectionTargetFactory(AnnotatedType)} instead.

* Fixes related to htmlunit

* Use EE 10.0-M2

* Servlet 5 -> 6 changes

* Servlet 5 -> 6 changes

* Servlet 5 -> 6 changes

* Use 10.0-M2 staging repo

* Use 10.0-M2 staging repo

* Use the 10.0-SNAPSHOT for now to avoid having build resolution issues due to different repos used for resolution in a full build

* Use latest CDI TCK (4.0.10)

* Use latest CDI TCK 4.0.11

* Use correct eclipse compiler version (we relied on a super old version incompatible with 10.1.x)

* Update BOMs with ECJ

* Comments out examples, which require a EE10-capable CXF impl (jakarta.xml.bind.Validator is removed in EE10)

* Fix compile error in scheduler example

* Switch to a SNAPSHOT version, which isn't deployed to ASF repositories from main branch. Otherwise, debugging certain branch states is impossible or extremely painful as SNAPSHOT artifacts might not contain OWB4 dependencies, etc.

* Comments out examples, which require a EE10-capable CXF impl (jakarta.xml.bind.Validator is removed in EE10)

* Revert ECJ upgrade to 3.33.0 (starting from 3.34.0 it requires J17+)

* Examples: Resolving the EL expression does not seem to work in EE10 anymore (deprecation??). For now, setting it to EN only to avoid build errors.

* Exclude JAX-WS tests in arquillian for now as CXF cannot deal with Jakarta XML Binding 4.0 at the moment. This release removed jakarta.xml.bind.Validator (cf. https://jakarta.ee/specifications/xml-binding/4.0/) which is required by CXF.

* Example: Fails due to CXF4 / XML-Bind

* Fixes EE10-related compile issues

* Fixes EE10-related compile issues

* Use Johnzon 2.0.0-SNAPSHOT (native Jakarta)

* Remove excludes as they are no longer required. We can savely use transient deps here

* Use released 10.0-M2 JakartaEE API

* Remove these tests as per discussion on the list (faces is using CDI now)

* OpenJPA 4.0.0-SNAPSHOT (Jakarta, EE9.1) without serp

* Transaction Manager 4.0.0-SNAPSHOT

* Fix up archetype and examples due to OpenJPA 4.0.0-SNAPSHOT

* Remove Staging Repo as artifact is now released

* Add a profile "tck-cdi" to avoid breaking the build for now, we can create issues + enable the profile to be run by default

* Fix mp-rest-jwt-principal after EE10 related upgrades

* Version fixes in arquillian-tomee-moviefun-example

* Upgrade JAXB Runtime to comply with EE10 spec

* Fix JAX-WS related examples

* Fix JAX-WS related arquillian tests

* Fix SoapBinding12ClientTest

* Use BVAL 3.0.0

* This test seems to fail due to a https://github.com/apache/openwebbeans/commit/4e4962a69064585d146c71bb387a8395455e88b5 changed needed in OWB 4.0.0 to pass a test in the CDI TCK. Until OWB adds a workaround, we ignore the test on our side to avoid being blocked.

* Geronimo TX Manager 4.0.0
Tomcat 10.1.15

* JAXB Runtime 4.0.4

* Regenerate BOMs (BVAL, TX Manager)

* TOMEE-4264 - Update Apache Santuario Java (xmlsec) to 3.0.3

* Fix checkstyle / rat for TOMEE-4268

* Fix-up after merge of TOMEE-4268

* Fix rest of examples

* Johnzon 2.0.0

---------

Co-authored-by: Jean-Louis Monteiro <jlmonteiro@tomitribe.com>
501 files changed