dafd96a4b6
Foundation + commands module of the i18n spec. - I18n registry/loader + Lang.tr facade + reloadI18n - PT source-of-truth bundle + EN translation - CanalhandiaCommand player-facing strings migrated; admin-tuning/help/enum-labels deferred - I18nTest: parity + per-locale render + pt_BR fallback; 316/316 green 🤖 Generated with [Claude Code](https://claude.com/claude-code)
98 lines
3.6 KiB
XML
98 lines
3.6 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>dev.marcospaulo</groupId>
|
|
<artifactId>canalhandia</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<!-- Paper 26.2's API ships Java 25 class files, so the build JDK must be 25. -->
|
|
<maven.compiler.release>25</maven.compiler.release>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>bluecolored</id>
|
|
<url>https://repo.bluecolored.de/releases</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- The BOM keeps the jupiter engine and the platform launcher on matching
|
|
versions. Left to transitive resolution they drift apart, and a mismatched
|
|
launcher fails to discover tests rather than failing the build. -->
|
|
<dependency>
|
|
<groupId>org.junit</groupId>
|
|
<artifactId>junit-bom</artifactId>
|
|
<version>5.11.3</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.papermc.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>26.2.build.92-stable</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- BlueMap's API, for putting public notes on the web map. "provided"
|
|
because BlueMap ships these classes itself: the plugin compiles
|
|
against them but never bundles them, and BlueMapBridge is the only
|
|
class that touches them, so the plugin still loads on a server that
|
|
has no BlueMap at all. -->
|
|
<dependency>
|
|
<groupId>de.bluecolored</groupId>
|
|
<artifactId>bluemap-api</artifactId>
|
|
<version>2.7.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<!-- Version comes from junit-bom above. -->
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>Canalhandia-${project.version}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<!-- Pinned because the version Maven bundles by default decides whether JUnit 5
|
|
tests are discovered at all. An older default would skip the whole suite and
|
|
still report BUILD SUCCESS, which is the one failure this project can't see. -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.4</version>
|
|
<configuration>
|
|
<!-- The pin above guards against a surefire version that quietly stops
|
|
discovering tests. It does not guard against a test class being
|
|
misplaced or misnamed, which ends the same way: a green build that
|
|
ran nothing. Failing on an empty suite closes that gap. A disabled
|
|
class is still reported as skipped, so it is not covered here. -->
|
|
<failIfNoTests>true</failIfNoTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|