This release introduces several important bug fixes, including improved handling of negative epoch timestamps and better sanitization of invalid Automatic-Module-Name and manifest entry values. We have addressed multiple NullPointerExceptions related to manifest configurations and plugin maps to improve overall stability. Additionally, this version includes performance optimizations, such as caching model results and reducing redundant pattern compilation, alongside updated documentation regarding null-value behavior in manifest methods.
- fix: do not clamp negative epoch timestamps to DATE_MIN (#419) @gnodet
- Remove duplicate LOGGER field in MavenArchiver (#417) @ascheman
- [MJAR-595] - Clamp outputTimestamp to DATE_MIN when SOURCE_DATE_EPOCH=0 (#401) @gnodet
- fix: report invalid archiver properties (#414) @efegokdemir
- Sanitize invalid Automatic-Module-Name instead of failing (#402) @gnodet
- fix: support negative epoch timestamps in parseBuildOutputTimestamp (#410) @gnodet
- Handle null plugin maps in BuildHelper (#409) @efegokdemir
- fix: throw NullPointerException when getManifest is called without Session and classpath is enabled (#378) @elharo
- fix: prevent NPE in ManifestConfiguration.getClasspathPrefix() when prefix is null (#381) @elharo
- [MSHARED-815] - Sanitize newlines in manifest entry values (#363) @elharo
- fix: restrict
isNumeric()to ASCII digits to preventNumberFormatExceptionRefactordigit validation logic in MavenArchiver (#376) @HarshMehta112
- docs: document null-value behaviour in manifest entry methods (#411) @gnodet
- Convert the reference page from xdoc to Markdown (#391) @slachiewicz
- Fix Javadoc issues per Oracle conventions (#324) @elharo
- fix: replace deprecated testing stubs with non-deprecated equivalents (#399) @elharo
- Add tests verifying empty lines in manifest values are sanitized (#392) @elharo
- Let Dependabot bump the Maven 4 API artifacts (#394) @slachiewicz
- [MSHARED-815] - Pattern.compile() called on every invocation of handleSpecificationEntries (#377) @elharo
- small optimization (#389) @elharo
- Build against Maven 4.0.0-rc-6 (#390) @slachiewicz
- Fix #371: Cache
model.getBuild()result to avoid repeated calls (#379) @HarshMehta112 - Skip unused dependency resolution for
addExtensions(#380) @HarshMehta112 - Mockito improvements (#347) @slachiewicz
- JUnit Jupiter best practices (#329) @slachiewicz
- Add ATR configuration to .asf.yaml (#421) @gnodet
- Build with the shared workflow's Maven 4 version instead of rc-6 (#416) @slachiewicz
- Keep Dependabot off Mockito 5 on maven-archiver-3.x (#415) @slachiewicz
- Bump org.slf4j:slf4j-api from 2.0.17 to 2.0.20 (#359, #400, #412) @dependabot[bot]
- Bump org.apache.maven.shared:maven-shared-components from 45 to 50 (#339, #343, #360, #406) @dependabot[bot]
- Bump mavenVersion from 4.0.0-rc-6 to 4.0.0-rc-7 (#408) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.28 to 1.30.0 (#330, #397) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-archiver from 4.10.2 to 4.14.0 (#325, #333, #341, #353, #395) @slachiewicz
- Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml from 4 to 5 (#385) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml from 4 to 5 (#382) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#383) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/stale.yml from 4 to 5 (#384) @dependabot[bot]
- Bump SLF4J API dependency to version 2.0.17 (#357) @slachiewicz
- Bump Maven version to 4.0.0-rc-5 (#356) @slachiewicz
- Bump org.codehaus.plexus:plexus-utils from 3.6.0 to 4.0.3 (#348, #355) @slachiewicz
- Update to parent 48 (#352) @Bukama
- Bump org.assertj:assertj-core from 3.27.6 to 3.27.7 (#345) @dependabot[bot]