Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Java CI with Maven

on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and Test
run: mvn -B verify --file pom.xml
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [2.1.0] - 2026-09-16

### Added
- GitHub Actions workflow (`.github/workflows/maven.yml`) building and testing on JDK 21 for pushes/PRs against `main` and `develop`.
- Maven Central publishing setup: `distributionManagement`, `central-publishing-maven-plugin`, `maven-source-plugin`, `maven-javadoc-plugin`, and a `release` profile that signs artifacts with `maven-gpg-plugin`. `openapi2soapui` (parent), `openapi2soapui-core` and `openapi2soapui-cli` are published (the CLI needs `core` on Central to resolve, and publishing the CLI itself lets it be pulled directly from Central); `openapi2soapui-rest` opts out of deploy (`maven.deploy.skip=true`) since it's a runnable service, not a library.
- **Command line interface** (`openapi2soapui-cli.jar`): generates a SoapUI project from an OpenAPI spec without starting the service, `java -jar openapi2soapui-cli.jar -f petstore.yaml`. Same engine, request model and validations as the HTTP endpoint, so both produce identical projects.
- Input with `-f` (spec as plain JSON or YAML) or `-c` (the same JSON body the REST API takes, `openApiSpec` base64 encoded), output with `-o` (folder, or a path ending in `.xml`, default `./out`), plus `-n`, `-H`, `--server-pattern`, `--test-case-names`, `--number-of-scopes`, `--read-only`, `--minimal-endpoints`, `--microcks-headers`, `--generate-one-of-any-of`, `--schema-is-inline`, `--is-inline`, `--has-scopes`, `--application-token`, `--no-validate-schema`, `--no-schema-pretty-print`, `-h` and `-V`. Defaults match the HTTP API.

### Changed
- Split into `openapi2soapui-core`, `openapi2soapui-rest` and `openapi2soapui-cli`. The service keeps its artifact file name, but its Maven coordinates become `net.cloudappi:openapi2soapui-rest`.
- **Breaking:** Maven `groupId` changed from `net.cloudappi` to `org.apiaddicts.apitools.openapi2soapui` across all modules, to publish under the already-verified `apiaddicts` namespace on Sonatype Central (matches `apigen.springboot` and `sonaropenapi-rules`).

## [2.1.0-beta-1] - 2026-08-28

Expand Down
25 changes: 22 additions & 3 deletions openapi2soapui-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui</artifactId>
<version>2.1.0-beta-1</version>
<version>2.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -14,6 +14,25 @@

<name>openapi2soapui-cli</name>
<description>Openapi to SoapUI Project - command line interface</description>
<url>https://github.com/apiaddicts/openapi2soapui</url>

<licenses>
<license>
<name>GNU Lesser General Public License (LGPLV3+)</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.html</url>
</license>
</licenses>

<organization>
<name>Apiaddicts</name>
<url>https://apiaddicts.org</url>
</organization>

<scm>
<connection>scm:git:git://github.com/apiaddicts/openapi2soapui.git</connection>
<developerConnection>scm:git:ssh://github.com:apiaddicts/openapi2soapui.git</developerConnection>
<url>https://github.com/apiaddicts/openapi2soapui/tree/master</url>
</scm>

<build>
<finalName>openapi2soapui-cli</finalName>
Expand Down Expand Up @@ -49,7 +68,7 @@
<dependencies>

<dependency>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui-core</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
23 changes: 21 additions & 2 deletions openapi2soapui-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui</artifactId>
<version>2.1.0-beta-1</version>
<version>2.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -14,6 +14,25 @@

<name>openapi2soapui-core</name>
<description>OpenAPI to SoapUI project conversion engine</description>
<url>https://github.com/apiaddicts/openapi2soapui</url>

<licenses>
<license>
<name>GNU Lesser General Public License (LGPLV3+)</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.html</url>
</license>
</licenses>

<organization>
<name>Apiaddicts</name>
<url>https://apiaddicts.org</url>
</organization>

<scm>
<connection>scm:git:git://github.com/apiaddicts/openapi2soapui.git</connection>
<developerConnection>scm:git:ssh://github.com:apiaddicts/openapi2soapui.git</developerConnection>
<url>https://github.com/apiaddicts/openapi2soapui/tree/master</url>
</scm>

<dependencies>

Expand Down
11 changes: 8 additions & 3 deletions openapi2soapui-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui</artifactId>
<version>2.1.0-beta-1</version>
<version>2.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -15,6 +15,11 @@
<name>openapi2soapui-rest</name>
<description>Openapi to SoapUI Project - HTTP service</description>

<properties>
<!-- Executable service, not a library: don't publish it to Maven Central -->
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<build>
<finalName>openapi2soapui</finalName>
<plugins>
Expand All @@ -28,7 +33,7 @@
<dependencies>

<dependency>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui-core</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
115 changes: 114 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>3.5.16</version>
<relativePath/>
</parent>
<groupId>net.cloudappi</groupId>
<groupId>org.apiaddicts.apitools.openapi2soapui</groupId>
<artifactId>openapi2soapui</artifactId>
<version>2.1.0</version>
<packaging>pom</packaging>
Expand All @@ -29,12 +29,44 @@
<url>https://apiaddicts.org</url>
</organization>

<developers>
<developer>
<id>MH</id>
<name>Melsy Huamani</name>
<email>melsy.huamani.pe@cloudappi.net</email>
<organization>Cloudappi</organization>
</developer>
<developer>
<id>SD</id>
<name>Sebastian Diaz</name>
<email>sebastian.diaz.pe@cloudappi.net</email>
<organization>Cloudappi</organization>
</developer>
<developer>
<id>RG</id>
<name>Rafael Goterris</name>
<email>rafael.goterris@cloudappi.net</email>
<organization>Cloudappi</organization>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/apiaddicts/openapi2soapui.git</connection>
<developerConnection>scm:git:ssh://github.com:apiaddicts/openapi2soapui.git</developerConnection>
<url>https://github.com/apiaddicts/openapi2soapui/tree/master</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>


<modules>
<module>openapi2soapui-core</module>
Expand All @@ -47,13 +79,23 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>21</java.version>

<!-- Default packaging for openapi2soapui-rest; overridden by the jar/INTE/TEST/PROD profiles.
Kept as a plain property (not only inside the "war" profile) so activating any other
profile (e.g. release) doesn't leave it unresolved. -->
<packaging.type>war</packaging.type>

<springdoc.version>2.8.17</springdoc.version>
<soapui.version>5.9.1</soapui.version>
<swagger-parser.version>2.1.45</swagger-parser.version>
<json.version>20260522</json.version>
<lombok.version>1.18.46</lombok.version>
<swagger-v2-parser.version>1.0.76</swagger-v2-parser.version>
<swagger-v2-core.version>1.6.16</swagger-v2-core.version>

<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -115,6 +157,28 @@
<packaging.type>war</packaging.type>
</properties>
</profile>
<profile>
<!-- Signs artifacts before publishing to Maven Central. Activate with -Prelease. -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<repositories>
Expand All @@ -124,4 +188,53 @@
</repository>
</repositories>

<build>
<plugins>
<!-- To release to Maven Central -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<doclint>none</doclint>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Loading