Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Redirect and display compiler output
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Nov 1, 2024
1 parent 1e2ec98 commit 970113a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
- name: Build with Maven
run: |
./mvnw --no-transfer-progress --show-version help:effective-settings
./mvnw --no-transfer-progress --debug clean verify
./mvnw --no-transfer-progress --debug clean verify || cat javac.out
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<fork>true</fork>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xstdout</arg><arg>javac.out</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED</arg>
Expand Down

0 comments on commit 970113a

Please sign in to comment.