Skip to content

Getting Started

To get started, apply the plugin to your project using the plugin DSL:

kotlin
plugins {
    java
    id("io.mateo.cxf-codegen") version "3.0.0"
}
groovy
plugins {
    id "java"
    id "io.mateo.cxf-codegen" version "3.0.0"
}

TIP

The plugin is published to Maven Central. If your company uses a private or internal repository manager such as Sonatype Nexus Repository, ensure that it is configured to proxy Maven Central.

Code Generation

The plugin provides two options for generating code:

  1. Tasks approach based on JavaExec task type.
  2. Options approach based on the Worker API.

Both approaches provide a similar API. It is recommended to use the options approach as it provides better parallelism and integrates directly with Apache CXF's tooling.

WARNING

These approaches are mutually exclusive. You can only use one of them in a single project. This is because both approaches register similarly named tasks and would conflict with each other.

Released under Apache 2.0 license