Skip to content

Releases: openapi-processor/openapi-processor-maven

2024.1.1

11 Feb 10:04
Compare
Choose a tag to compare

fixed automatic <targetDir>, by @maddingo in #7

fixed directory separator in automatically selected <targetDir>

2024.1

04 Feb 14:06
Compare
Choose a tag to compare

improved <targetDir> handling, by @maddingo in #5

the plugin automatically sets <targetDir> (if not given explicitly) and adds it to the compile source root directories.

It is no longer necessary to use the build-helper-maven-plugin to add the generated sources to the build. If you want to keep the build-helper-maven-plugin set <addSourceRoot> to false.

The execution configuration can be reduced to

<execution>
    <id>api1</id>
    <phase>generate-sources</phase>

    <configuration>
        <id>spring</id>
        <apiPath>${project.basedir}/src/api1/openapi.yaml</apiPath>
        <!-- optional, defaults to true
        <addSourceRoot>false</addSourceRoot>
        -->

        <options>
            <values>
                <!-- optional, if not set it will automatically use (last part is the execution id):
                <targetDir>${project.basedir}/target/generated-sources/api1</targetDir>
                -->
                <mapping>${project.basedir}/src/api1/mapping.yaml</mapping>
                <parser>INTERNAL</parser>
            </values>
        </options>
    </configuration>

    <goals>
        <goal>process</goal>
    </goals>
</execution>

2021.1

28 Feb 08:25
Compare
Choose a tag to compare
  • plugin is published to maven central (was jcenter).
  • added support for all api versions

1.0.0.M2

17 Jul 12:25
Compare
Choose a tag to compare
1.0.0.M2 Pre-release
Pre-release
  • fixed #1, up-to-date check did not like missing target directory

1.0.0.M1

05 Jul 16:29
Compare
Choose a tag to compare
1.0.0.M1 Pre-release
Pre-release