Hi,

tested on some projects but the BOM-Support does not work anymore. It produces a packaging "bom" in the resulting POM which means that is not working POM file (Model Version 4.0.0) which will produces errors..

That means we should either produce an error because we don't support it...

The support for flatting the POM's without parent etc. (resolving versions) does not work anymore (consumer vs. build pom). I reactivated it by using: -Dmaven.consumer.pom.flatten=true which resolves also in an issue which means the version-tags for the dependencies are not added to the resulting POM file ... like this:

  <artifactId>bom</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Maven 4 :: BOM :: MOD BOM</name>
  <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>

That means also this features has a bug...

I tend to give -1....

Kind regards
Karl Heinz Marbaise


On 08.11.25 01:38, Guillaume Nodet wrote:
Hi all,

DISCLAIMER:
I accidentally published the distributions to the dist area instead of the
dev area.
If the vote is not successful, I'll ask infra to remove it...

Draft release notes:
https://gist.github.com/gnodet/8a837a04a11f0e1359475c9dc5e68000

Staging repo:
https://repository.apache.org/content/repositories/maven-2339/
https://repository.apache.org/content/repositories/maven-2339/org/apache/maven/apache-maven/4.0.0-rc-5/apache-maven-4.0.0-rc-5-src.zip

Distribution staging area:
https://dist.apache.org/repos/dist/release/maven/maven-4/4.0.0-rc-5/

Staging site:
https://maven.apache.org/ref/4-LATEST/

Please review and vote !



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to