forked from loafle/openapi-generator-original
* upgrade spring-boot-starter-parent * upgrade springdoc and swagger-ui * upgrade v3 swagger-annotations * generate samples * upgrade jackson * fix spring cloud, remove temp comment Putting "8" instead of "1.8" should be ok, because Spring Boot 3 requires Java 17 anyway, so it should be able to understand that 8 is the same as 1.8. * generate samples * upgrade JUnit 5, remove commons-io dependency, remove outdated samples/client/petstore/java/feign/feign10x/ files, generate samples commons-io dependency was introduced in https://github.com/OpenAPITools/openapi-generator/pull/8484, but I don't see why it would be needed now or back then. * update gson, generate samples * update logback * update feign * update scribejava * generate samples * update httpmime * okhttp-gson: update commons-lang & okhttp & junit-platform, remove mockito; generate samples It seems Mockito is not used at all there. * okhttp-gson: remove unnecessary sample files, generate sample files * upgrade google-api-client & jersey-common, restore ClientTest, generate samples * misc. upgrades in jersey2 and jersey3 jersey 3.1.3 is available already, but IntelliJ reports security problems in 3.1.3 and 3.1.2, so I used 3.1.1 instead. * align some gradle&sbt files with poms, generate samples * whitespace fix
180 lines
6.9 KiB
XML
180 lines
6.9 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>microprofile-rest-client-3-jackson-with-xml</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>microprofile-rest-client-3-jackson-with-xml</name>
|
|
<description>This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.</description>
|
|
<version>1.0.0</version>
|
|
<build>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jboss.jandex</groupId>
|
|
<artifactId>jandex-maven-plugin</artifactId>
|
|
<version>${jandex.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>make-index</id>
|
|
<goals>
|
|
<goal>jandex</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven.failsafe.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>${build.helper.maven.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/gen/java</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Eclipse MicroProfile Rest Client -->
|
|
<dependency>
|
|
<groupId>org.eclipse.microprofile.rest.client</groupId>
|
|
<artifactId>microprofile-rest-client-api</artifactId>
|
|
<version>${microprofile.rest.client.api.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JAX-RS -->
|
|
<dependency>
|
|
<groupId>jakarta.ws.rs</groupId>
|
|
<artifactId>jakarta.ws.rs-api</artifactId>
|
|
<version>${jakarta.ws.rs.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.ext.microprofile</groupId>
|
|
<artifactId>jersey-mp-rest-client</artifactId>
|
|
<version>${jersey.mp.rest.client.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.config</groupId>
|
|
<artifactId>geronimo-config-impl</artifactId>
|
|
<version>${geronimo.config.impl.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-rs-extension-providers</artifactId>
|
|
<version>${cxf.rt.rs.extension.providers.version}</version>
|
|
</dependency>
|
|
<!-- JSON processing: jackson -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<!-- XML processing with Jackson -->
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>${jakarta.xml.bind.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.activation</groupId>
|
|
<artifactId>jakarta.activation-api</artifactId>
|
|
<version>${jakarta.activation.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
<version>${jackson.jaxrs.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.annotation</groupId>
|
|
<artifactId>jakarta.annotation-api</artifactId>
|
|
<version>${jakarta.annotation.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<repositories>
|
|
<repository>
|
|
<id>sonatype-snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<properties>
|
|
<java.version>11</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<swagger.core.version>1.5.18</swagger.core.version>
|
|
<jetty.version>9.2.9.v20150224</jetty.version>
|
|
<junit.version>4.13.2</junit.version>
|
|
<logback.version>1.2.12</logback.version>
|
|
<cxf.version>3.2.7</cxf.version>
|
|
<jackson.jaxrs.version>2.15.2</jackson.jaxrs.version>
|
|
<jackson.version>2.15.2</jackson.version>
|
|
<jakarta.activation.version>2.1.0</jakarta.activation.version>
|
|
<jakarta.annotation.version>2.0.0</jakarta.annotation.version>
|
|
<jakarta.json.bind.version>2.0.0</jakarta.json.bind.version>
|
|
<jakarta.json.version>2.0.1</jakarta.json.version>
|
|
<jakarta.ws.rs.version>3.0.0</jakarta.ws.rs.version>
|
|
<jakarta.xml.bind.version>3.0.1</jakarta.xml.bind.version>
|
|
<microprofile.rest.client.api.version>3.0</microprofile.rest.client.api.version>
|
|
<jersey.mp.rest.client.version>3.0.4</jersey.mp.rest.client.version>
|
|
<geronimo.config.impl.version>1.2.3</geronimo.config.impl.version>
|
|
<cxf.rt.rs.extension.providers.version>3.5.1</cxf.rt.rs.extension.providers.version>
|
|
<jaxb.core.version>3.0.2</jaxb.core.version>
|
|
<jaxb.impl.version>3.0.2</jaxb.impl.version>
|
|
<hibernate.validator.version>7.0.4.Final</hibernate.validator.version>
|
|
<jandex.maven.plugin.version>1.1.0</jandex.maven.plugin.version>
|
|
<maven.failsafe.plugin.version>2.6</maven.failsafe.plugin.version>
|
|
<build.helper.maven.plugin.version>1.9.1</build.helper.maven.plugin.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
</project> |