diff --git a/.jpb/jpb-settings.xml b/.jpb/jpb-settings.xml new file mode 100644 index 0000000..9db0f76 --- /dev/null +++ b/.jpb/jpb-settings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.jpb/persistence-units.xml b/.jpb/persistence-units.xml new file mode 100644 index 0000000..a462c23 --- /dev/null +++ b/.jpb/persistence-units.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index a88197e..1ca3b13 100644 --- a/pom.xml +++ b/pom.xml @@ -1,127 +1,153 @@ - - 4.0.0 - com.devonfw - devon-quarkus-cicd-service-b - 1.0.0-SNAPSHOT - - 3.8.1 - true - 11 - 11 - UTF-8 - UTF-8 - quarkus-bom - io.quarkus.platform - 2.1.2.Final - 3.0.0-M5 - - + + 4.0.0 + com.devonfw + devon-quarkus-cicd-service-b + 1.0.0-SNAPSHOT + + 3.8.1 + true + 11 + 11 + UTF-8 + UTF-8 + quarkus-bom + io.quarkus.platform + 2.1.2.Final + 3.0.0-M5 + + + + + ${quarkus.platform.group-id} + ${quarkus.platform.artifact-id} + ${quarkus.platform.version} + pom + import + + + - - ${quarkus.platform.group-id} - ${quarkus.platform.artifact-id} - ${quarkus.platform.version} - pom - import - - - - - - io.quarkus - quarkus-resteasy - - - io.quarkus - quarkus-resteasy-jackson - - - io.quarkus - quarkus-arc - - - io.quarkus - quarkus-junit5 - test - - - io.rest-assured - rest-assured - test - - - - - - ${quarkus.platform.group-id} - quarkus-maven-plugin - ${quarkus.platform.version} - true - - - - build - generate-code - generate-code-tests - - - - - - maven-compiler-plugin - ${compiler-plugin.version} - - ${maven.compiler.parameters} - - - - maven-surefire-plugin - ${surefire-plugin.version} - - - org.jboss.logmanager.LogManager - ${maven.home} - - - - - - - - native - - - native - - - - - + + io.quarkus + quarkus-resteasy + ${quarkus.platform.version} + + + io.quarkus + quarkus-hibernate-orm-panache + ${quarkus.platform.version} + + + io.quarkus + quarkus-jdbc-postgresql + ${quarkus.platform.version} + + + io.quarkus + quarkus-resteasy-jackson + ${quarkus.platform.version} + + + io.quarkus + quarkus-arc + + + io.quarkus + quarkus-junit5 + test + + + io.rest-assured + rest-assured + test + + + org.apache.maven.plugins maven-failsafe-plugin ${surefire-plugin.version} - - - - integration-test - verify - + maven-plugin + + + + + + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus.platform.version} + true + + + + build + generate-code + generate-code-tests + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + ${maven.compiler.parameters} + + + + org.apache.maven.plugins + maven-surefire-plugin + ${surefire-plugin.version} - - ${project.build.directory}/${project.build.finalName}-runner - org.jboss.logmanager.LogManager - ${maven.home} - + + org.jboss.logmanager.LogManager + ${user.home}\bin + - - - + - - - native - - - + + + + native + + + native + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + ${surefire-plugin.version} + + + + integration-test + verify + + + + + ${project.build.directory}/${project.build.finalName}-runner + + org.jboss.logmanager.LogManager + + ${user.home} + + + + + + + + + native + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ff9f06a..e5b7f27 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,7 @@ -quarkus.http.port=8081 \ No newline at end of file +quarkus.http.port=8081 +quarkus.datasource.url = jdbc:postgresql://localhost:5432/quarkus +quarkus.datasource.driver = org.postgresql.Driver +quarkus.datasource.username = postgres +quarkus.datasource.password = postgres + +quarkus.hibernate-orm.database.generation = drop-and-create \ No newline at end of file