ciscoo / cxf-codegen-gradle

Gradle plugin to generate Java artifacts from WSDL
Apache License 2.0
26 stars 6 forks source link

cxfVersion not working with old gradle versions #76

Closed epozuelo closed 1 year ago

epozuelo commented 1 year ago

Hi,

I'm attempting to use this plugin, and wanted to switch to Java 11 / Jakarta while at it. I'm using the recently released 1.2.0 version. I am using the cxfVersion configuration to specify it:

cxfCodegen {
    cxfVersion = "4.0.0"
}

However, this doesn't seem to be working with gradle 6.6 or 6.9.4, with those gradle versions I have to use the resolutionStrategy.eachDependency workaround. I have bumped to gradle 7.6.1 and there it's working. Perhaps the different codepath for gradle < 7.4 in commit 8b8257 is not working as expected?

ciscoo commented 1 year ago

Are you able to provide a stack trace of the error you are seeing?

ciscoo commented 1 year ago

Closing due to inactivity.

If you feel that this is a genuine issue with this plugin, please spend some time creating minimum, reproducible example that reproduces the problem. The example can either be a zip archive attached to this issue or a separate Git repository. The example should be something that can built/run without any additional setup.