From 9ad0733d45a3e81a7ebb3b92c0c3e5547a698a3b Mon Sep 17 00:00:00 2001 From: Burke Davison Date: Tue, 24 Jan 2023 11:11:02 -0500 Subject: [PATCH 1/2] fix: support mvn fmt:check and fmt:format --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index 5cf661aae5..332a20e88c 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,11 @@ + + com.coveo + fmt-maven-plugin + 2.9 + org.apache.maven.plugins maven-deploy-plugin From fb8d565111a86523b46d7ee0db40e8d422d987ec Mon Sep 17 00:00:00 2001 From: Burke Davison Date: Tue, 24 Jan 2023 11:12:29 -0500 Subject: [PATCH 2/2] ci: remove unnecessary root project exclusion from fmt:check --- .github/workflows/ci-maven.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-maven.yaml b/.github/workflows/ci-maven.yaml index 76a7206815..5616767d45 100644 --- a/.github/workflows/ci-maven.yaml +++ b/.github/workflows/ci-maven.yaml @@ -148,7 +148,7 @@ jobs: - run: java -version - name: Java Linter # Exclude the root project - run: mvn -B -ntp --projects '!.' fmt:check + run: mvn -B -ntp fmt:check showcase: runs-on: ubuntu-latest