bjornvester / wsdl2java-gradle-plugin

A Gradle plugin for generating Java classes from WSDL files
MIT License
40 stars 14 forks source link

Warning configuration key has been deprecated #1

Closed JanVomlel closed 1 year ago

JanVomlel commented 5 years ago

Task wsdl2java generates this warnings:

[Execution worker for ':'] WARN org.apache.velocity.deprecation - configuration key 'class.resource.loader.class' has been deprecated in favor of 'resource.loader.class.class'
[Execution worker for ':'] WARN org.apache.velocity.deprecation - configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'

My build.gradle.kts:

plugins {
    .... 
    id("com.github.bjornvester.wsdl2java") version "0.2"
}
dependencies {
    implementation("javax.xml.ws:jaxws-api:2.3.1")
}
wsdl2java {
    cxfVersion.set("3.3.2")
}

Java: 11 (AdoptOpenJDK) Gradle: 5.4.1

JanVomlel commented 5 years ago

Does exist some way, how to repair it? We have yellow jobs on jenkins because of this warnings. I tried to use cxf 3.3.3, but the result is same. Thank you.

bjornvester commented 5 years ago

Sorry for not responding earlier - my GitHub notifications were sent to an address I don't often check.

This is a problem with CXF, and I don't know if there is anything we can do about it. However, it looks like it has been fixed already and will be available in the upcoming release 3.3.4 (see CXF-8090).

bjornvester commented 1 year ago

I don't see it in later versions.