mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Fix Javadoc JAR generation (#246)
For performance reasons, the Javadoc JARs are not generated when executing `mvn install`. They are generally only compiled when running `mvn release:perform`, as part of the `release` Maven profile. The downside of this setup is that Javadoc generation issues may not be caught until release time. This change resolves such an issue. To prevent future regressions, Javadoc generation is now also performed by the GitHub Actions build workflow. While there, drop the deprecated `useReleaseProfile` configuration setting of the javadoc-maven-plugin, as its value matches the default.
This commit is contained in:
committed by
GitHub
parent
066931fe53
commit
ae7068f464
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -28,8 +28,8 @@ jobs:
|
||||
cache: maven
|
||||
- name: Display build environment details
|
||||
run: mvn --version
|
||||
- name: Build project against vanilla Error Prone
|
||||
run: mvn -T1C install
|
||||
- name: Build project against vanilla Error Prone, compile Javadoc
|
||||
run: mvn -T1C install javadoc:jar
|
||||
- name: Build project with self-check against Error Prone fork
|
||||
run: mvn -T1C clean verify -Perror-prone-fork -Pnon-maven-central -Pself-check -s settings.xml
|
||||
- name: Remove installed project artifacts
|
||||
|
||||
Reference in New Issue
Block a user