Skip to content

Commit

Permalink
#1622: Fixing problems on Windows with spring-javaformat-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashackt authored and ccoltx committed Feb 11, 2021
1 parent 5e7926c commit 38b0029
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
# since we also build on Windows Powershell, we need to add a space between -D maven.javadoc.skip=true
# otherwise the build will fail https://stackoverflow.com/questions/38051787/maven-javadoc-skip-true-throws-an-error
- name: Build with Maven
run: mvn -B install --no-transfer-progress -D maven.javadoc.skip=true
run: |
mvn -B spring-javaformat:apply --no-transfer-progress
mvn -B install --no-transfer-progress -D maven.javadoc.skip=true
4 changes: 3 additions & 1 deletion .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
# since we also build on Windows Powershell, we need to add a space between -D maven.javadoc.skip=true
# otherwise the build will fail https://stackoverflow.com/questions/38051787/maven-javadoc-skip-true-throws-an-error
- name: Build with Maven
run: mvn -B install --no-transfer-progress -D maven.javadoc.skip=true
run: |
mvn -B spring-javaformat:apply --no-transfer-progress
mvn -B install --no-transfer-progress -D maven.javadoc.skip=true
publish-snapshot:
needs: build
Expand Down

0 comments on commit 38b0029

Please sign in to comment.