From 91fdd5d7116fb23c50d49a91a4b8d4caecf4b6d4 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 | 30 +++++++++++++++++------------- 2 files changed, 25 insertions(+), 13 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 93696bb..f991443 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 me.plugins @@ -10,15 +10,9 @@ 21 + UTF-8 - - - spigot-snapshots - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - local @@ -68,7 +62,7 @@ 1.21.10-R0.1-SNAPSHOT provided - + local MythicMobs 5.8.0 @@ -77,17 +71,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 + @@ -98,5 +103,4 @@ - - \ No newline at end of file +