nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files
MIT License
142 stars 77 forks source link

Could not set unknown property 'cxfPluginVersion' for extension 'wsdl2java' #104

Open barancev opened 4 years ago

barancev commented 4 years ago

Java 8, Gradle 6, wsdl2java 0.12

1) Clone this repository: https://github.com/barancev/wsdl2java_sample 2) Run gradlew wsdl2java

The result is:

C:\devel\homework\java\wsdl2java_sample>gradlew wsdl2java

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\devel\homework\java\wsdl2java_sample\build.gradle' line: 29

* What went wrong:
A problem occurred evaluating root project 'test'.
> Could not set unknown property 'cxfPluginVersion' for extension 'wsdl2java' of type no.nils.wsdl2java.Wsdl2JavaPluginExtension.
mfulgo commented 4 years ago

This is a result of the documentation being out of date with the latest published version: 0.12 doesn't include the property, but the next release should.

@nilsmagnus Any chance you could publish a release?

jmueller42 commented 4 years ago

I'm also very interested in a new version adding back the possibility to set the cxfPluginVersion.

escv commented 4 years ago

My project also requires to setup a different version for the xjc plugins. I would be happy if this feature will be part of the next release

Klaboe commented 4 years ago

The release of 0.13 with this would be nice right about now.

In our project we had not specified a version-number, and got a lot of cxf-SNAPSHOT versions due to the + version that is default.

"Fixed" temporary with setting cxfVersion = "latest.release" witch feels alittle bit like a hack 😅

lars-andren commented 3 years ago

Hear hear, also waiting for a v0.13 now, as I can't get the -xjc plugins to work without this.