Skip to content

11.0.0

Compare
Choose a tag to compare
@vy vy released this 18 Apr 12:49
· 148 commits to main since this release
rel/11.0.0
b5bbe45

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 the main-site-stg-out branch serving the logging.staged.apache.org/logging-parent
  • the main-site-pro branch populates the main-site-pro-out branch serving the logging.apache.org/logging-parent
  • the release/<version> branch populates the release/<version>-site-stg-out branch serving the logging.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 version 2.43.0 (#108)
  • Update com.github.spotbugs:spotbugs-maven-plugin to version 4.8.4.0 (#156)
  • Update com.google.errorprone:error_prone_core to version 2.26.1 (#134)
  • Update com.palantir.javaformat:palantir-java-format to version 2.43.0 (#154)
  • Update org.apache.logging.log4j:log4j-changelog-maven-plugin to version 0.8.0 (#146)
  • Update org.apache.maven.plugins:maven-artifact-plugin to version 3.5.1 (#149)
  • Update org.codehaus.mojo:flatten-maven-plugin to version 1.6.0 (#102)
  • Update org.cyclonedx:cyclonedx-maven-plugin to version 2.8.0 (#145)