11.0.0
This release contains a big revamp to the website build and several other minor enhancements.
Website build changes
The website build system is migrated from asciidoctor-maven-plugin
to Antora. This implies that src/site
and generate-email.sh
files need to be adapted, and target/site
can be viewed without needing a local web server.
The Maven site
phase is re-engineered such that generated sources (i.e., src/site/_release_notes
and src/site/_constants.adoc
) will be targeted to target/generated-site
and the website will be built from there. This avoids the need to commit generated sources to the repository and, hence, works around changelog merge conflict problems.
Website deployment changes
The newly added site-deploy-reusable.yaml
GitHub Actions workflow enables to automate the website deployment. Using the <source-branch>-site-<environment>-out
branch naming convention, the Maven site
goal running on
- the
main
branch populates themain-site-stg-out
branch serving thelogging.staged.apache.org/logging-parent
- the
main-site-pro
branch populates themain-site-pro-out
branch serving thelogging.apache.org/logging-parent
- the
release/<version>
branch populates therelease/<version>-site-stg-out
branch serving thelogging.staged.apache.org/logging-parent-<version>
Refer to the usage and project release instructions pages for details.
Added
- Add
coverage
profile to generate a test coverage report (#140) - Add
deploy-site-yaml
GitHub actions workflow to automate the website deployment - Add instructions on XML schema publication (#138)
Changed
- Replace
process-sbom
script with CycloneDX plugin configuration (#105) - Support parallel releases by uploading the distribution to
<projectId>/<version>
folders. This is needed for parallel Log4j 2 and 3 releases. (#139) - Migrate website support from
asciidoctor-maven-plugin
to Antora
Updated
- Update
com.diffplug.spotless:spotless-maven-plugin
to version2.43.0
(#108) - Update
com.github.spotbugs:spotbugs-maven-plugin
to version4.8.4.0
(#156) - Update
com.google.errorprone:error_prone_core
to version2.26.1
(#134) - Update
com.palantir.javaformat:palantir-java-format
to version2.43.0
(#154) - Update
org.apache.logging.log4j:log4j-changelog-maven-plugin
to version0.8.0
(#146) - Update
org.apache.maven.plugins:maven-artifact-plugin
to version3.5.1
(#149) - Update
org.codehaus.mojo:flatten-maven-plugin
to version1.6.0
(#102) - Update
org.cyclonedx:cyclonedx-maven-plugin
to version2.8.0
(#145)