Skip to content

mdiskin/cxf-codegen-gradle

 
 

Repository files navigation

CXF Codegen Build Status

CXF Codegen is a Gradle plugin port of the CXF Codegen Maven plugin.

Getting Started

The plugin is published to Gradle’s plugin portal and can be applied using the plugins DSL block:

Groovy
plugins {
    id "io.mateo.cxf-codegen" version "1.0.3"
}
Kotlin
plugins {
    id("io.mateo.cxf-codegen") version "1.0.3"
}

Documentation

Snapshots

Snapshots of the next development version are published to the Sonatype OSSRH snapshot repository.

Documentation for snapshots:

Snapshots are published for every commit to the master branch.

Groovy
// build.gradle
plugins {
    id "io.mateo.cxf-codegen" version "1.1.0-SNAPSHOT"
}

// settings.gradle
pluginManagement {
    repositories {
        gradlePluginPortal()
        maven {
            url = uri("https://oss.sonatype.org/content/repositories/snapshots")
            mavenContent {
                snapshotsOnly()
            }
        }
    }
}
Kotlin
// build.gradle.kts

plugins {
    id("io.mateo.cxf-codegen") version "1.1.0-SNAPSHOT"
}

// settings.gradle.kts
pluginManagement {
    repositories {
        gradlePluginPortal()
        maven {
            url = uri("https://oss.sonatype.org/content/repositories/snapshots")
            mavenContent {
                snapshotsOnly()
            }
        }
    }
}

Building from Source

You will need JDK 11 to build CXF Codegen.

Tip
A compatible JDK will automatically be downloaded by Gradle if you do not have one. See Toolchains for JVM projects for more details.

The plugin can be built and published to your local Maven cache using the Gradle Wrapper.

./gradlew :cxf-codegen-gradle:publishToMavenLocal

This will build and publish it to your local Maven cache. It won’t run any of the tests. If you want to build everything, use the build task:

./gradlew build

About

#61 Add CXF xjc tool support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 89.9%
  • Kotlin 10.1%