You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bukama (via GitHub)" <gi...@apache.org> on 2025/05/12 17:57:19 UTC
[I] master branch breaks on Maven 4.0.0-rc3 on Windows [maven-enforcer]
Bukama opened a new issue, #364:
URL: https://github.com/apache/maven-enforcer/issues/364
### Affected version
3.6.0-SNAPSHOT (master - f6c114b7d7f8035c152af0efe955d71c12870222)
### Bug description
The master branch breaks on Maven 4.0.0-rc3 on Windows (with admin rights)
[2025-05-12_maven-enforcer-master_Maven4.0.0-rc3.log](https://github.com/user-attachments/files/20168763/2025-05-12_maven-enforcer-master_Maven4.0.0-rc3.log)
```
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 125, Failed: 2, Errors: 0, Skipped: 4
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * ban-dependency-management-scope-fail\pom.xml
[ERROR] * require-dependency-scope\pom.xml
[INFO] -------------------------------------------------
[WARNING] The following builds were skipped:
[WARNING] * ban-duplicate-dependencies-versions\pom.xml
[WARNING] * ban-pom-dependency-version-utf8-with-bom\pom.xml
[WARNING] * ban-pom-dependency-version\pom.xml
[WARNING] * require-profile-ids-exist_failure\pom.xml
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] master branch breaks on Maven 4.0.0-rc3 on Windows [maven-enforcer]
Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on issue #364:
URL: https://github.com/apache/maven-enforcer/issues/364#issuecomment-2873609518
> The dependency tree has slightly changed between in Maven 4, so I suspect it comes from that. If that's the case (you may want to diff the dependency tree), that's not a bug and you'll have to slightly adjust.
Differences in tree (funny to see that Maven 3.9.8 has newer of jsr, while Maven 4 has newer of plexus-cipher)
```
Maven 3.9.8:
com.google.code.findbugs:jsr305:jar:3.0.2:provided
org.sonatype.plexus:plexus-cipher:jar:1.4:provided
Maven 4.0.0-rc3:
com.google.code.findbugs:jsr305:jar:3.0.1:provided
org.sonatype.plexus:plexus-cipher:jar:1.7:provided
```
[dependency-tree_3.9.8.txt](https://github.com/user-attachments/files/20173697/dependency-tree_3.9.8.txt)
[dependency-tree_4.0.0-rc-3.txt](https://github.com/user-attachments/files/20173696/dependency-tree_4.0.0-rc-3.txt)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] master branch breaks on Maven 4.0.0-rc3 on Windows [maven-enforcer]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #364:
URL: https://github.com/apache/maven-enforcer/issues/364#issuecomment-2873540958
The dependency tree has slightly changed between in Maven 4, so I suspect it comes from that. If that's the case (you may want to diff the dependency tree), that's not a bug and you'll have to slightly adjust.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] master branch breaks on Maven 4.0.0-rc3 on Windows [maven-enforcer]
Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on issue #364:
URL: https://github.com/apache/maven-enforcer/issues/364#issuecomment-2873499765
On Maven 3.9.8 it's working fine.
[2025-05-12_master_Maven3.9.8.log](https://github.com/user-attachments/files/20170042/2025-05-12_master_Maven3.9.8.log)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org