From 2ddb09b3cc556a84292ddb7230b0da1d800d73ac Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Tue, 22 Sep 2026 19:09:39 +0000 Subject: [PATCH] build: standardise XML and Maven POM layout --- .editorconfig | 8 ++++++++ pom.xml | 35 +++++++++++++++++++++-------------- 2 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..94f6f5c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +# Shared TFMC XML formatting; see Docs/POM-CONVENTIONS.md. +[*.xml] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/pom.xml b/pom.xml index fe994e6..9526f3d 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 net.tfminecraft @@ -9,17 +9,11 @@ 1.1.0 - 1.1.1 21 + UTF-8 + 1.1.1 - - - spigot-snapshots - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - com.google.guava @@ -48,7 +42,10 @@ provided - ** + + * + * + @@ -59,17 +56,28 @@ + + + spigot-snapshots + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + src/main/resources true - plugin.yml + + plugin.yml + src/main/resources false - plugin.yml + + plugin.yml + @@ -80,5 +88,4 @@ - - \ No newline at end of file +