pom.xml: Bump version, update dependencies Dockerfile: Added build step, Added healthcheck SnowflakeService.java: added endpoint for health check
177 lines
6.5 KiB
XML
177 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>space.b00tload.services</groupId>
|
|
<artifactId>SnowflakeService</artifactId>
|
|
<version>1.1.0</version>
|
|
|
|
<name>SnowflakeService</name>
|
|
<description>A tool/microservice to centrally generate snowflake IDs.</description>
|
|
<inceptionYear>2024</inceptionYear>
|
|
<url>https://github.com/B00tLoad/SnowflakeService</url>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>B00tLoad_</id>
|
|
<name>Alix von Schirp</name>
|
|
<email>alix.von-schirp@bootmedia.de</email>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
<timezone>Europe/Berlin</timezone>
|
|
<properties>
|
|
<disordHandle>@b00tload_</disordHandle>
|
|
<mastodonhandle>@b00tload_</mastodonhandle>
|
|
<mastodoninstance>order-of-gathering.de</mastodoninstance>
|
|
<blueskyHandle>@b00tload.space</blueskyHandle>
|
|
<pronouns>she/they</pronouns>
|
|
</properties>
|
|
</developer>
|
|
</developers>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/B00tLoad/SnowflakeService/issues</url>
|
|
</issueManagement>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU GPL v3.0</name>
|
|
<url>https://github.com/B00tLoad/SnowflakeService/blob/master/LICENSE</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/B00tLoad/SnowflakeService.git</connection>
|
|
<developerConnection>scm:git:ssh://github.com:B00tLoad/SnowflakeService.git</developerConnection>
|
|
<url>https://github.com/B00tLoad/SnowflakeService</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>space.b00tload.utils</groupId>
|
|
<artifactId>ConfigurationUtilities</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.5.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>24.1.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.javalin</groupId>
|
|
<artifactId>javalin</artifactId>
|
|
<version>6.1.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aayushatharva.brotli4j</groupId>
|
|
<artifactId>brotli4j</artifactId>
|
|
<version>1.16.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.11.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<tags>
|
|
<tag>
|
|
<name>example</name>
|
|
<placement>a</placement>
|
|
<head>Usage example:</head>
|
|
</tag>
|
|
</tags>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
<configuration>
|
|
<keyname>${gpg.keyname}</keyname>
|
|
<passphraseServerId>${gpg.keyname}</passphraseServerId>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.7.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>space.b00tload.services.snowflake.SnowflakeService</mainClass>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |