143 lines
5.6 KiB
XML
143 lines
5.6 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<!--
|
||
|
|
AuthLimbo v2 — Minecraft auth/login gatekeeper, successor to AuthLimbo v1.
|
||
|
|
Copyright (C) 2026 s8n <admin@s8n.ru>
|
||
|
|
|
||
|
|
This program is free software: you can redistribute it and/or modify
|
||
|
|
it under the terms of the GNU Affero General Public License as
|
||
|
|
published by the Free Software Foundation, either version 3 of the
|
||
|
|
License, or (at your option) any later version.
|
||
|
|
|
||
|
|
This program is distributed in the hope that it will be useful,
|
||
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
GNU Affero General Public License for more details.
|
||
|
|
|
||
|
|
You should have received a copy of the GNU Affero General Public License
|
||
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||
|
|
-->
|
||
|
|
<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>ru.s8n</groupId>
|
||
|
|
<artifactId>auth-limbo-v2</artifactId>
|
||
|
|
<version>0.1.0-SNAPSHOT</version>
|
||
|
|
<packaging>jar</packaging>
|
||
|
|
|
||
|
|
<name>AuthLimbo v2</name>
|
||
|
|
<description>Production-grade Minecraft auth/login gatekeeper. Successor to AuthLimbo v1.</description>
|
||
|
|
<url>https://git.s8n.ru/s8n/auth-limbo-v2</url>
|
||
|
|
|
||
|
|
<licenses>
|
||
|
|
<license>
|
||
|
|
<name>GNU Affero General Public License v3.0 or later</name>
|
||
|
|
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
|
||
|
|
<distribution>repo</distribution>
|
||
|
|
</license>
|
||
|
|
</licenses>
|
||
|
|
|
||
|
|
<scm>
|
||
|
|
<connection>scm:git:ssh://git@git.s8n.ru:222/s8n/auth-limbo-v2.git</connection>
|
||
|
|
<developerConnection>scm:git:ssh://git@git.s8n.ru:222/s8n/auth-limbo-v2.git</developerConnection>
|
||
|
|
<url>https://git.s8n.ru/s8n/auth-limbo-v2</url>
|
||
|
|
</scm>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<maven.compiler.source>21</maven.compiler.source>
|
||
|
|
<maven.compiler.target>21</maven.compiler.target>
|
||
|
|
<maven.compiler.release>21</maven.compiler.release>
|
||
|
|
<paper.api.version>1.21.4-R0.1-SNAPSHOT</paper.api.version>
|
||
|
|
<adventure.version>4.17.0</adventure.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<repositories>
|
||
|
|
<repository>
|
||
|
|
<id>papermc</id>
|
||
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||
|
|
</repository>
|
||
|
|
<repository>
|
||
|
|
<id>sonatype</id>
|
||
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
||
|
|
</repository>
|
||
|
|
</repositories>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<!-- Paper API (provided by the server runtime). Adventure is
|
||
|
|
bundled with Paper, so we don't shade it. -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.papermc.paper</groupId>
|
||
|
|
<artifactId>paper-api</artifactId>
|
||
|
|
<version>${paper.api.version}</version>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Adventure API for explicit text components in plugin code.
|
||
|
|
Paper re-exports this; declared here for clarity. -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.kyori</groupId>
|
||
|
|
<artifactId>adventure-api</artifactId>
|
||
|
|
<version>${adventure.version}</version>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- AuthMe will be re-introduced as a system-scope dep when the
|
||
|
|
integration layer is implemented. v1 vendored the jar in
|
||
|
|
lib/ — v2 will follow the same pattern in a later commit. -->
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||
|
|
|
||
|
|
<resources>
|
||
|
|
<resource>
|
||
|
|
<directory>src/main/resources</directory>
|
||
|
|
<filtering>true</filtering>
|
||
|
|
</resource>
|
||
|
|
</resources>
|
||
|
|
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<version>3.13.0</version>
|
||
|
|
<configuration>
|
||
|
|
<release>21</release>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
<!-- Shade plugin wired in but with no relocations until
|
||
|
|
we have shaded deps (e.g. SQLite for AuthMe DB reads). -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
|
<version>3.5.3</version>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<phase>package</phase>
|
||
|
|
<goals>
|
||
|
|
<goal>shade</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||
|
|
<minimizeJar>false</minimizeJar>
|
||
|
|
<filters>
|
||
|
|
<filter>
|
||
|
|
<artifact>*:*</artifact>
|
||
|
|
<excludes>
|
||
|
|
<exclude>META-INF/*.SF</exclude>
|
||
|
|
<exclude>META-INF/*.DSA</exclude>
|
||
|
|
<exclude>META-INF/*.RSA</exclude>
|
||
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
||
|
|
</excludes>
|
||
|
|
</filter>
|
||
|
|
</filters>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|