nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

barancev opened this issue · comments

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.

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?

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

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

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 😅

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