2026-09-01 08:43:25 +02:00
|
|
|
<?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>com.gabriel20xx.shared</groupId>
|
|
|
|
|
<artifactId>java-backend</artifactId>
|
|
|
|
|
<version>0.1.0</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
<name>java-backend</name>
|
|
|
|
|
<description>Shared account-management, TOTP, admin reset-code, and AuthGuard client primitives for Java services.</description>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
This pom.xml exists only so this package can be built and tested on
|
|
|
|
|
its own (mirroring @gabriel20xx/node-backend's package.json and
|
|
|
|
|
python-backend's pyproject.toml). It is not how the real,
|
|
|
|
|
already-identified consumer of this package - MegaBasterd - uses it:
|
|
|
|
|
MegaBasterd/pom.xml instead adds src/main/java as an extra source
|
|
|
|
|
directory of its own build via build-helper-maven-plugin, compiling
|
|
|
|
|
this source straight into its jar with no dependency on this
|
|
|
|
|
artifact. That is also why maven.compiler.source/target below is
|
|
|
|
|
pinned to 1.8 - it must match MegaBasterd/pom.xml's
|
|
|
|
|
<maven.compiler.source>/<target>, since both poms compile the exact
|
|
|
|
|
same .java files.
|
|
|
|
|
-->
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
<junit.version>5.10.2</junit.version>
|
2026-09-02 20:49:29 +02:00
|
|
|
<!-- Pinned to match MegaBasterd/pom.xml's jackson-databind version - both
|
|
|
|
|
poms compile the exact same AuthClient.java, which now builds/parses
|
|
|
|
|
JSON via Jackson for its full (non-validate-only) method surface. -->
|
|
|
|
|
<jackson.version>2.18.6</jackson.version>
|
2026-09-01 08:43:25 +02:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2026-09-02 20:49:29 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
</dependency>
|
2026-09-01 08:43:25 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>3.2.5</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|