Configuring wadl2java plugin for gradle

Viewed 1437

I'm trying to use the gradle plugin http://cxf.apache.org/docs/overview.html to generate java code from a wadl file. The dependency seems to be resolved correctly but when I'm invoking the wadl2java I get Could not find method wadl2java(). So I'm wondering why I'm getting this error(as it should exist, looking in other maven and command line examples of this plugin) and how this plugin is supposed to used? Any help is really appreciated.

Have tried to do some research in this field but there doesn't seem to be that much information about this.

Snippets from my gradle file

buildscript {
    repositories {  
        mavenCentral()
    }

    dependencies {
        classpath "org.apache.cxf:cxf-wadl2java-plugin:3.1.5"
    }
}

// Results in 'Could not find method error'
wadl2java {
}
2 Answers
Related