From 3b34a229b3d5fb27a7a9b6e8b31c973fc476aafc Mon Sep 17 00:00:00 2001 From: Lukas Sembera Date: Wed, 18 Oct 2023 15:20:30 +0000 Subject: [PATCH 1/2] Sort pom.xml in format.sh --- format.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/format.sh b/format.sh index 0cade08f5..c28d5da84 100755 --- a/format.sh +++ b/format.sh @@ -19,3 +19,6 @@ if ! command -v java > /dev/null; then fi echo "Running Google Java Format" find ./src -type f -name "*.java" -print0 | xargs -0 java -jar "${JAR_FILE}" --replace --set-exit-if-changed && echo "OK" + +echo "Sorting pom.xml" +mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort \ No newline at end of file From 4994b912c85c78e7e252879f307aab6e3a6934bc Mon Sep 17 00:00:00 2001 From: Lukas Sembera Date: Wed, 18 Oct 2023 15:21:19 +0000 Subject: [PATCH 2/2] newline --- format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.sh b/format.sh index c28d5da84..cb58bd995 100755 --- a/format.sh +++ b/format.sh @@ -21,4 +21,4 @@ echo "Running Google Java Format" find ./src -type f -name "*.java" -print0 | xargs -0 java -jar "${JAR_FILE}" --replace --set-exit-if-changed && echo "OK" echo "Sorting pom.xml" -mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort \ No newline at end of file +mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort