wsdl2java icon indicating copy to clipboard operation
wsdl2java copied to clipboard

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

Open barancev opened this issue 4 years ago • 5 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.

barancev avatar Feb 29 '20 17:02 barancev

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?

mfulgo avatar Mar 11 '20 18:03 mfulgo

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

jmueller42 avatar Apr 24 '20 06:04 jmueller42

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

escv avatar Apr 29 '20 10:04 escv

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 😅

Klaboe avatar Jul 20 '20 09:07 Klaboe

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

lars-andren avatar Oct 06 '20 16:10 lars-andren