Skip to content

Commit

Permalink
Generate Javadoc only with Java 11
Browse files Browse the repository at this point in the history
For a reason beyond me, the CI-profile of Maven causes the unit tests to fail (with instrumentation errors) when running on Java 17.

This removes the CI profile from the generic build phase.

The CI profile (and thus, generation of Javadoc and Sources) is still active on the 'deploy' phase. In this phase, only Java 11 is used.
  • Loading branch information
guusdk committed Jul 14, 2023
1 parent a5b52ac commit d81aca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
distribution: ${{ matrix.distribution }}
cache: maven
- name: Build with Maven
run: ./mvnw -B package -Pcoverage,ci --file pom.xml
run: ./mvnw -B package -Pcoverage --file pom.xml
- name: Upload distribution
if: ${{ matrix.distribution == 'zulu' }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit d81aca0

Please sign in to comment.