Releases: apache/logging-parent
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)
10.6.0
This minor release contains several small changes to the build pipeline.
Most notably it bans wildcard imports from source code, which will require expanding those imports before upgrading logging-parent
.
Added
- Add JSpecify to dependency management. (#88)
- Add enforcer rule to ban wildcard imports. All imports must be expanded to provide better comparison of branches. (#63)
Changed
- Merge Dependabot PRs instead of closing them. (#82)
- Disable
-jpms-multi-release
BND option. (#93) - Clean up residual
module-info.class
before compilation. (#90)
Updated
10.5.0
This minor release contains dependency updates and a change in the way BND is employed.
BND Maven Plugins are upgraded to version 7.0.0
, which requires Java 17. Log4j was the blocker for this upgrade and the issue is resolved in apache/logging-log4j2#2021. Note that BND Maven Plugins version 7.0.0
increased the minimum required Maven version to 3.8.1
.
Changed
- Switch from
bnd:jar
tobnd:bnd-process
to improve integration with the ecosystem; IDEs, Maven plugins, etc. (#69) - Replace
log4j-changelog
entry type ofdependabot
updates fromchanged
toupdated
- Minimum required Maven version is increased to
3.8.1
due to BND Maven Plugin updates
Updated
- Update
biz.aQute.bnd:bnd-baseline-maven-plugin
to version7.0.0
(#78) - Update
biz.aQute.bnd:bnd-maven-plugin
to version7.0.0
- Update
com.diffplug.spotless:spotless-maven-plugin
to version2.41.1
(#70) - Update
com.github.spotbugs:spotbugs-annotations
to version4.8.3
(#80) - Update
com.github.spotbugs:spotbugs-maven-plugin
to version4.8.2.0
(#71) - Update
com.palantir.javaformat:palantir-java-format
to version2.39.0
- Update
org.apache:apache
to version31
(#73) - Update
org.apache.logging.log4j:log4j-changelog-maven-plugin
to version0.7.0
(#84)
10.4.0
This minor release contains several small improvements.
Added
- Add deterministic Palantir Java formatter
Changed
- Increase directory scanning depth from 8 to 32 in the distribution BeanShell script
10.3.0
This minor release contains several small improvements.
Added
- Add support to extend the
bnd-maven-plugin
configuration withbnd-extra-config
property (apache/logging-log4j2#1895) - Add support to replace
project.build.outputTimestamp
Maven property in CI (#50) - Add XSLT transformation step to add a deterministic
serialNumber
and VDR links to the SBOM - Add support for an optional
spotbugs-exclude.xml
file
Changed
deploy-release-reusable.yaml
is improved to automatically derive deployed artifacts as attachments. This renders bothdistribution-attachment-filepath-pattern
anddistribution-attachment-count
input arguments redundant for almost all cases.- Disable the usage of
<distributionManagement>
and alpha releases in thebnd-baseline-maven-plugin
- Convert
bnd-maven-plugin
API leakage warnings to errors (apache/logging-log4j2#1895) - Update
com.github.spotbugs:spotbugs-annotations
to version4.8.1
(#58) - Update
com.github.spotbugs:spotbugs-maven-plugin
to version4.8.1.0
(#57) - Update
com.google.errorprone:error_prone_core
to version2.23.0
(#49) - Update
org.apache.maven.plugins:maven-artifact-plugin
to version3.5.0
- Update
org.cyclonedx:cyclonedx-maven-plugin
to version2.7.10
(#54)
Fixed
- Fix broken changelog entry validation
- Attach
flatten:clean
toclean
phase - Add missing
Implementation-
andSpecification-
entries inMANIFEST.MF
tobnd-maven-plugin
configuration (apache/logging-log4j2#1923)
10.2.0
This minor release contains several small improvements.
Added
- Added support for auto-generating CycloneDX Software Bill of Materials (SBOM)
Changed
- Add a compulsory
bnd-baseline-maven-plugin
execution to check for breaking API changes - Apply the default
bnd-maven-plugin
configuration to all the plugin's goals - Moves
.flattened-pom.xml
to the same directory aspom.xml
to preserve the relative parent path. This requires adding.flattened-pom.xml
to the.gitignore
file of the repository. - Update
org.apache.logging.log4j:log4j-changelog-maven-plugin
to version0.5.0
- Update
log4j-changelog
XSD (used for validating changelog entries) to version0.1.2
- Update
com.github.spotbugs:spotbugs-annotations
to version4.8.0
(#44)
Fixed
- Prioritize definitions in
bnd-extra-*
variables over those inherited (#39) - Keep parent in
flatten-bom
configuration (#37) - Remove
build
inflatten-bom
configuration - Fixed the archiving of symbolically linked directories in the
distribution
Maven profile (#43) - Used specific execution IDs in
defaultGoal
s to avoid running unwanted plugins
10.1.1
This patch release contains minor fixes addressing issues blocking the release of log4j-tools
, log4j-kotlin
, etc.
Added
- Used
project.build.outputTimestamp
to timestamp generated distribution files
Changed
- Changes the default OSGi and module name to use full stops
.
instead of non-alphanumeric characters - Update
com.diffplug.spotless:spotless-maven-plugin
to version2.40.0
Fixed
- Fixed checksum (i.e.,
*.sha512
) file format - Fix BND module name detection on multi-release JARs
10.1.0
This minor release focuses on shipping AsciiDoc-based website generation convenience targeting the src/site
folder. As a part of this effort, logging-parent
started publishing its own website and log4j-changelog
support is switched from Markdown to AsciiDoc.
The introduced bnd-maven-plugin
default auto-generates both OSGi and JPMS descriptors. Users only need to annotate packages that are to be exported with org.osgi.annotation.bundle.Export
, plugin will do the rest of the magic. Hence, no need for custom .bnd
and/or module-info.java
files anymore. In particular, we expect the absence of module-info.java
files to avoid several IDE and testing related headaches.
Added
- Added
asciidoc
andconstants-tmpl-adoc
profiles to generate AsciiDoc-based websites fromsrc/site
- Added support to auto-generate changelog entries for
dependabot
updates - Added
bnd-maven-plugin
defaults to auto-generate both OSGi and JPMS descriptors - Added CI report uploading in case of test or reproducibility failures (#28)
- Started publishing the project website
Changed
- Switched the default
log4j-changelog
configuration from Markdown (.release-notes.md.ftl
and.index.md.ftl
) to AsciiDoc (.release-notes.adoc.ftl
and.index.adoc.ftl
) - Update
actions/checkout
to version4.1.0
- Update
com.github.spotbugs:spotbugs-maven-plugin
to version4.7.3.6
- Update
com.google.errorprone:error_prone_core
to version2.22.0
- Update
org.apache:apache
to version30
- Update
org.osgi:osgi.annotation
to version8.1.0
Removed
- Removed
project.build.outputTimestamp
override since it is already provided by the parent POM and its old value0
was causing reproducibility issues forspring-boot:repackage
Fixed
- Replaced incorrect
java.version
Maven property override withmaven.compiler.{source,release,target}
10.0.0
This minor release contains various improvements that we expect to relieve the load on pom.xml
and GitHub Actions workflows of Maven-based projects we parent. This is of particular importance while managing and cutting releases from multiple repositories. See README.adoc
for the complete list of features and their usage.
See this log4j-tools
GitHub Actions workflow run demonstrating a successful release cut using a SNAPSHOT version of this logging-parent
release. All preparations (release notes, source and binary distributions, vote & announcement emails, etc.) are staged to both Nexus and SVN and waiting the release manager to proceed.
Changes
Added
- Added
changelog-export
profile to easily export changelogs to Markdown files - Added
changelog-release
profile to easily movesrc/changelog/.?.x.x
contents to their associated release directory - Added
deploy
profile to ease the Mavendeploy
goal - Added
distribution
profile to easily create a distribution file containing Git-tracked sources, release notes, binary attachments,NOTICE.txt
, etc. - Documented release instructions (i.e.,
RELEASING.md
) - Added
release
profile to share common release-specific Maven configuration - Added reusable GitHub Actions workflows to share CI boilerplate for other repositories
- Switched to using
log4j-changelog-maven-plugin
for managing changelog and release notes
Changed
- Switched to semantic versioning (old version:
9
, new version:10.0.0
)