Closed epozuelo closed 1 year ago
This is expected behavior.
This plugin (io.mateo.cxf-codegen
) only provides dependencies for Apache CXF, not Jakarta specific dependencies. Jakarta specific dependencies, such as Jakarta XML Binding, are to be provided by the projects themselves.
The reason for this is because I do not think it is appropriate for this plugin to provide such dependencies. The plugin is only responsible for providing an API for Gradle over the underlying code generation tool (wsdl2java
). The plugin is not going to decide whether a project is to be Jakarta EE 9, 9.1, 10, etc. That is left to the projects to decide which version of the specification their project requires.
Hi,
I'm using plugin version 1.2.0 with gradle 7.6.1 and cxfVersion 4.0.0. My task looks like this:
If I run gradle wsdl2java, I get:
If I add this dependency it doesn't fail that way anymore (it fails initializing the jaxb plugin though, but I'll open a separate issue for that):
Given this is a codegen dependency, maybe it should be handled automatically by the codegen plugin?