Hi,
so first +1 from me.
I tested several projects...
bom-module
new life cycles (before/after)
other default projects which work fine without any issue..
But I found a little thing related to BOM Packaging:
The dependencyManagement of my BOM Module looks like this:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.soebes.examples.maven4</groupId>
<artifactId>mod-1</artifactId>
</dependency>
<dependency>
<groupId>com.soebes.examples.maven4</groupId>
<artifactId>mod-2</artifactId>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${version.junit-bom}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
The property version.junit-bom is defined in my parent of the project.
But the resulting pom which will be install in my local cache (mvn clean
install) looks like this while still contains the property which is NOT
resolved:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.soebes.examples.maven4</groupId>
<artifactId>mod-1</artifactId>
<version>7.0.0</version>
</dependency>
<dependency>
<groupId>com.soebes.examples.maven4</groupId>
<artifactId>mod-2</artifactId>
<version>7.0.0</version>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${version.junit-bom}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Should I file an issue? Or is this intended?
Kind regards
Karl Heinz Marbaise
On 29.07.26 10:01, Guillaume Nodet wrote:
Hi,
I'd like to call a vote on releasing Apache Maven 4.0.0-rc-6.
All known issues reported in RC-5 have been fixed:
- Bean configuration bug causing plugin configuration injection failures
- ConcurrentModificationException in the v4 API
- BOM packaging: consumer POM conversion now correctly preserves dependency
versions
- macOS Gatekeeper: JLine native binaries removed from the distribution
(xattr workaround no longer needed)
Other notable changes include validation control, reduced allocation
pressure
in model building, mvnup upgrade strategies for Maven 4 compatibility
issues,
hardlink instead of file copy, and module-aware resource handling.
Issues solved:
https://github.com/apache/maven/issues?q=is%3Aclosed%20milestone%3A4.0.0-rc-6
Open issues:
https://github.com/apache/maven/issues?q=is%3Aissue+is%3Aopen
Changes since the last release:
https://github.com/apache/maven/compare/maven-4.0.0-rc-5...maven-4.0.0-rc-6
Draft release notes:
https://github.com/apache/maven/releases/tag/maven-4.0.0-rc-6
Staging repo:
https://repository.apache.org/content/repositories/maven-2450/
ATR staging:
https://release-test.apache.org/vote/maven/4.0.0-rc-6
Source release:
https://repository.apache.org/content/repositories/maven-2450/org/apache/maven/apache-maven/4.0.0-rc-6/apache-maven-4.0.0-rc-6-src.zip
Source release checksums (sha512):
apache-maven-4.0.0-rc-6-src.zip:
61e90ebdb46d69b940da615467c8be5c03953d7d1b6fac448ebceb0d32a33e8d6111af043edbfb286ef4545c860668b890425b6c60830f873538ef420054863f
apache-maven-4.0.0-rc-6-src.tar.gz:
ec2bcf8c6b66d6d03adba070d127e149c9e6268ff3fad12a981f9790fdcc04a644424bd94a5198b694c6e392795f6e875a8f15699b169e75a03fa63482ae67d7
apache-maven-4.0.0-rc-6-bin.zip:
1460d8ea11f87f5de99c149d526b260d976d9c58da53a348c3b6f57af15c2e51bb0276bdf1d9439f347f89e38ed61c155fd5851acd7061855e688c550793f455
apache-maven-4.0.0-rc-6-bin.tar.gz:
aeee861bcd63633562488f8d6f7116f08d5166e08522073774fe58ccd83ee35f6e97daf8f7a330ae96ebd9ba22c7789a428ce3966010d5d3e6861d25b2f69545
Staging site:
https://maven.apache.org/ref/4-LATEST/
Guide to testing staged releases:
https://maven.apache.org/guides/development/guide-testing-releases.html
Vote open for at least 72 hours.
[ ] +1
[ ] +0
[ ] -1
--
------------------------
Guillaume Nodet
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]