forked from loafle/openapi-generator-original
* Allow selection of MP REST API version for MicroProfile REST client generation * fix typo in pom.xml * fix typo in pom.xml, update samples * add exception when incorrect MP Rest Client version is chosen
178 lines
6.6 KiB
XML
178 lines
6.6 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</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>microprofile-rest-client</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>io.smallrye</groupId>
|
|
<artifactId>smallrye-rest-client</artifactId>
|
|
<version>${smallrye.rest.client.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.smallrye</groupId>
|
|
<artifactId>smallrye-config</artifactId>
|
|
<version>${smallrye.config.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>
|
|
<dependency>
|
|
<groupId>jakarta.json.bind</groupId>
|
|
<artifactId>jakarta.json.bind-api</artifactId>
|
|
<version>${jakarta.json.bind.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.json</groupId>
|
|
<artifactId>jakarta.json-api</artifactId>
|
|
<version>${jakarta.json.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>${jakarta.xml.bind.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-core</artifactId>
|
|
<version>${jaxb.core.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-impl</artifactId>
|
|
<version>${jaxb.impl.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>1.8</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.10</logback.version>
|
|
<cxf.version>3.2.7</cxf.version>
|
|
<jackson.jaxrs.version>2.9.7</jackson.jaxrs.version>
|
|
<jakarta.activation.version>1.2.2</jakarta.activation.version>
|
|
<jakarta.annotation.version>1.3.5</jakarta.annotation.version>
|
|
<jakarta.json.bind.version>1.0.2</jakarta.json.bind.version>
|
|
<jakarta.json.version>1.1.6</jakarta.json.version>
|
|
<jakarta.ws.rs.version>2.1.6</jakarta.ws.rs.version>
|
|
<jakarta.xml.bind.version>2.3.3</jakarta.xml.bind.version>
|
|
<microprofile.rest.client.api.version>2.0</microprofile.rest.client.api.version>
|
|
<smallrye.rest.client.version>1.2.1</smallrye.rest.client.version>
|
|
<smallrye.config.version>1.3.5</smallrye.config.version>
|
|
<cxf.rt.rs.extension.providers.version>3.2.6</cxf.rt.rs.extension.providers.version>
|
|
<jaxb.core.version>2.2.11</jaxb.core.version>
|
|
<jaxb.impl.version>2.2.11</jaxb.impl.version>
|
|
<hibernate.validator.version>5.2.2.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>
|