Changeset 1:d156972e38f0

Removed unused stuff
author unexist
date Wed, 10 Feb 2021 16:11:17 +0100
parents e3eeb0da98dc
children df24c08dcc78
files pom.xml src/main/java/dev/unexist/showcase/todo/infrastructure/health/SimpleHealthCheck.java
diffstat 2 files changed, 26 insertions(+), 70 deletions(-) [+]
line wrap: on
line diff
--- a/pom.xml	Wed Feb 10 15:31:35 2021 +0100
+++ b/pom.xml	Wed Feb 10 16:11:17 2021 +0100
@@ -12,24 +12,22 @@
         <maven.compiler.release>11</maven.compiler.release>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <quarkus-plugin.version>1.9.1.Final</quarkus-plugin.version>
+
+        <apache-commons-lang.version>3.11</apache-commons-lang.version>
+        <hg-revision-plugin.version>0.10</hg-revision-plugin.version>
+        <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
+        <jackson-modules-java8.version>2.12.1</jackson-modules-java8.version>
+
+        <!-- Quarkus -->
+        <quarkus-plugin.version>1.11.1.Final</quarkus-plugin.version>
         <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
         <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
-        <quarkus.platform.version>1.9.1.Final</quarkus.platform.version>
-        <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
+        <quarkus.platform.version>1.11.1.Final</quarkus.platform.version>
+
+        <!-- Audit -->
         <checkstyle-plugin.version>3.1.1</checkstyle-plugin.version>
         <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version>
         <spotbugs-plugin.version>4.1.4</spotbugs-plugin.version>
-        <hg-revision-plugin.version>0.7</hg-revision-plugin.version>
-        <helm-plugin.version>5.6</helm-plugin.version>
-
-        <!-- Helm -->
-        <chartName>quarkus</chartName>
-        <skipSnapshotChart>false</skipSnapshotChart>
-        <helmVersion>2.16.1</helmVersion>
-        <chartRepoUsername>x</chartRepoUsername>
-        <chartRepoPassword>x </chartRepoPassword>
-        <chartRepoUrl>x</chartRepoUrl>
 
         <!-- Workaround to get the timestamp -->
         <timestamp>${maven.build.timestamp}</timestamp>
@@ -54,7 +52,7 @@
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-resteasy-jsonb</artifactId>
+            <artifactId>quarkus-resteasy-jackson</artifactId>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
@@ -62,19 +60,25 @@
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-smallrye-health</artifactId>
+            <artifactId>quarkus-smallrye-reactive-messaging-kafka</artifactId>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-smallrye-metrics</artifactId>
+            <artifactId>quarkus-hibernate-validator</artifactId>
         </dependency>
+
         <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-kubernetes</artifactId>
+            <groupId>com.fasterxml.jackson.module</groupId>
+            <artifactId>jackson-modules-java8</artifactId>
+            <version>${jackson-modules-java8.version}</version>
+            <type>pom</type>
         </dependency>
+
+        <!-- Apache Commons -->
         <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-container-image-jib</artifactId>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+            <version>${apache-commons-lang.version}</version>
         </dependency>
 
         <!-- Testing -->
@@ -128,27 +132,7 @@
                 </configuration>
             </plugin>
 
-            <!-- Deployment -->
-            <plugin>
-                <groupId>com.kiwigrid</groupId>
-                <artifactId>helm-maven-plugin</artifactId>
-                <version>${helm-plugin.version}</version>
-                <configuration>
-                    <chartDirectory>deployment/helm/${chartName}</chartDirectory>
-                    <chartVersion>${project.version}</chartVersion>
-
-                    <uploadRepoStable>
-                        <name>Repo</name>
-                        <url>${chartRepoUrl}</url>
-                        <username>${chartRepoUsername}</username>
-                        <password>${chartRepoPassword}</password>
-                        <type>ARTIFACTORY</type>
-                    </uploadRepoStable>
-                    <useLocalHelmBinary>true</useLocalHelmBinary>
-                </configuration>
-            </plugin>
-
-            <!-- Info
+            <!-- Info -->
             <plugin>
                 <groupId>com.github.volodya-lombrozo</groupId>
                 <artifactId>hg-revision-plugin</artifactId>
@@ -161,7 +145,7 @@
                         </goals>
                     </execution>
                 </executions>
-            </plugin>-->
+            </plugin>
 
             <!-- Audit -->
             <plugin>
--- a/src/main/java/dev/unexist/showcase/todo/infrastructure/health/SimpleHealthCheck.java	Wed Feb 10 15:31:35 2021 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-/**
- * @package Quarkus-Messaging-Showcase
- *
- * @file Simple health check
- * @copyright 2020-2021 Christoph Kappel <christoph@unexist.dev>
- * @version $Id$
- *
- * This program can be distributed under the terms of the GNU GPLv2.
- * See the file LICENSE for details.
- **/
-
-package dev.unexist.showcase.todo.infrastructure.health;
-
-import org.eclipse.microprofile.health.HealthCheck;
-import org.eclipse.microprofile.health.HealthCheckResponse;
-import org.eclipse.microprofile.health.Liveness;
-
-import javax.enterprise.context.ApplicationScoped;
-
-@Liveness
-@ApplicationScoped
-public class SimpleHealthCheck implements HealthCheck {
-
-    @Override
-    public HealthCheckResponse call() {
-        return HealthCheckResponse.up("Simple health check");
-    }
-}