Skip to content
Open
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
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<groupId>com.redhat.consulting</groupId>
<artifactId>openapi-quarkus-archetype</artifactId>
<version>1.0.11-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>maven-archetype</packaging>

<name>openapi-quarkus-archetype</name>

<description>OpenAPI And Quarkus Bootstrap Archetype</description>
<url>https://github.com/redhat-appdev-practice/openapi-quarkus-archetype</url>

Expand All @@ -25,15 +25,15 @@
<comments>At least one license must be present. Here is an example of ASL v. 2.0</comments>
</license>
</licenses>

<!-- Source code management information is mandatory as well.-->
<scm>
<connection>scm:git:git@github.com:redhat-appdev-practice/openapi-quarkus-archetype.git</connection>
<url>scm:git:git@github.com:redhat-appdev-practice/openapi-quarkus-archetype.git</url>
<developerConnection>scm:git:https://github.com/redhat-appdev-practice/openapi-quarkus-archetype.git</developerConnection>
<tag>HEAD</tag>
</scm>

<!-- At least one developer should be mentioned -->
<developers>
<developer>
Expand All @@ -42,7 +42,7 @@
<organization>Red Hat</organization>
</developer>
</developers>

<build>
<extensions>
<extension>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pom.xml
build.gradle
settings.gradle
src/main/resources/application.properties
src/main/resources/application.yaml
49 changes: 14 additions & 35 deletions src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<properties>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>2.6.1.Final</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
<quarkus.platform.version>3.19.2</quarkus.platform.version>
<surefire-plugin.version>3.2.3</surefire-plugin.version>
<jkube.version>1.3.0</jkube.version>
<jkube.enricher.jkube-service.type>NodePort</jkube.enricher.jkube-service.type>
</properties>
Expand All @@ -36,23 +37,24 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-keycloak-authorization</artifactId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
<artifactId>quarkus-rest-jackson</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>0.2.6</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
<artifactId>quarkus-config-yaml</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-multipart</artifactId>
<artifactId>quarkus-arc</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down Expand Up @@ -80,25 +82,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
<executions>
<execution>
<?m2e execute onConfiguration?>
<phase>initialize</phase>
<goals>
<goal>checkout</goal>
</goals>
<configuration>
<connectionUrl>scm:git:https://github.com/redhat-appdev-practice/openapi-generator-quarkus-templates.git</connectionUrl>
<checkoutDirectory>templates</checkoutDirectory>
<connectionType>connection</connectionType>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
Expand All @@ -110,16 +93,13 @@
<fileset>
<directory>${project.basedir}/target</directory>
</fileset>
<fileset>
<directory>${project.basedir}/templates</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<artifactId>openapi-generator-maven-plugin</artifactId>
<groupId>org.openapitools</groupId>
<version>5.1.1</version>
<version>7.1.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
Expand All @@ -135,7 +115,6 @@
<output>${project.basedir}</output>
<skipOverwrite>false</skipOverwrite>
<inputSpec>${openapi_app_contract_uri}</inputSpec>
<templateDirectory>${project.basedir}/templates</templateDirectory>
<configOptions>
<dateLibrary>java8</dateLibrary>
<modelPackage>${package}.models</modelPackage>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
quarkus.oidc.auth-server-url=https://oidc.example.com/auth/realm/client
quarkus:
rest:
path: /api/v1