Skip to content

Commit

Permalink
#1622: Fixing Unknown lifecycle phase ".javadoc.skip=true" error on…
Browse files Browse the repository at this point in the history
… Windows builds.
  • Loading branch information
jonashackt authored and ccoltx committed Feb 11, 2021
1 parent 7b5e1cb commit 5e7926c
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 @@ -23,5 +23,7 @@ jobs:
with:
java-version: 1.8

# 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 -Dmaven.javadoc.skip=true
run: 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 @@ -23,8 +23,10 @@ jobs:
with:
java-version: 1.8

# 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 -Dmaven.javadoc.skip=true
run: mvn -B install --no-transfer-progress -D maven.javadoc.skip=true

publish-snapshot:
needs: build
Expand Down

0 comments on commit 5e7926c

Please sign in to comment.