Skip to content

use latest Maven 4 - #1045

Merged
hboutemy merged 1 commit into
maven-compiler-plugin-3.xfrom
use-latest-mvn4
Aug 4, 2026
Merged

use latest Maven 4#1045
hboutemy merged 1 commit into
maven-compiler-plugin-3.xfrom
use-latest-mvn4

Conversation

@hboutemy

@hboutemy hboutemy commented Apr 19, 2026

Copy link
Copy Markdown
Member
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 75, Failed: 1, Errors: 0, Skipped: 5
[INFO] -------------------------------------------------
Error:  The following builds failed:
Error:  *  MCOMPILER-346/pom.xml
[INFO] -------------------------------------------------

@Bukama Bukama left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval as we want to see if it works on latest Maven 4 build

@Bukama

Bukama commented May 19, 2026

Copy link
Copy Markdown
Contributor
Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
Maven home: C:\apache-maven-4.0.0-rc-5
Java version: 25.0.2, vendor: Azul Systems, Inc., runtime: C:\Program Files\Zulu\zulu-25
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 11", version: "10.0", arch: "amd64", family: "winnt"

[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 74, Failed: 2, Errors: 0, Skipped: 5
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  mcompiler-120\pom.xml
[ERROR] *  MCOMPILER-346\pom.xml
[INFO] -------------------------------------------------
[WARNING] The following builds were skipped:
[WARNING] *  default-fork\pom.xml
[WARNING] *  groovy-project-with-new-plexus-compiler\pom.xml
[WARNING] *  MCOMPILER-197\pom.xml
[WARNING] *  MCOMPILER-275_separate-moduleinfo\pom.xml
[WARNING] *  multirelease-patterns\singleproject-toolchains\pom.xml


mcompiler-120

not language agnostic, I've created an issue

[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] D:\Github\Maven\maven-compiler-plugin\target\it\mcompiler-120\src\main\java\org\maven\test\Main.java:[29,8] [rawtypes] Raw-Typ gefunden: List
  Typargumente f?r generische Klasse List<E> fehlen
  Dabei ist E eine Typvariable:
    E erweitert Object, deklariert in Schnittstelle List
[WARNING] D:\Github\Maven\maven-compiler-plugin\target\it\mcompiler-120\src\main\java\org\maven\test\Main.java:[29,24] [rawtypes] Raw-Typ gefunden: ArrayList
  Typargumente f?r generische Klasse ArrayList<E> fehlen
  Dabei ist E eine Typvariable:
    E erweitert Object, deklariert in Klasse ArrayList
[WARNING] D:\Github\Maven\maven-compiler-plugin\target\it\mcompiler-120\src\main\java\org\maven\test\Main.java:[30,16] [unchecked] Nicht gepr?fter Aufruf von add(E) als Mitglied des Raw-Typs List
  Dabei ist E eine Typvariable:
    E erweitert Object, deklariert in Schnittstelle List
[INFO] 3 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Fehler: Warnungen gefunden und -Werror angegeben
[INFO] 1 error

MCOMPILER-346

Missing dependency and that makes the build fail.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.525 s
[INFO] Finished at: 2026-05-19T18:37:18+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project MCOMPILER-346-mre: Could not collect dependencies for project com.basilcrow:MCOMPILER-346-mre:jar:1.0
[ERROR] Failed to read artifact descriptor for org.jenkins-ci.main:remoting:jar:3.2
[ERROR] 	Caused by: The following artifacts could not be resolved: org.jenkins-ci:jenkins:pom:1.37 (absent): Could not find artifact org.jenkins-ci:jenkins:pom:1.37 in local.central (file:///C:/Users/matth/.m2/repository) (remote repositories: local.central (file:///C:/Users/matth/.m2/repository, default, releases+snapshots), repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)): Failed to collect dependencies at org.jenkins-ci.main:remoting:jar:3.2: One or more requests failed

@desruisseaux desruisseaux added dependencies Pull requests that update a dependency file 3.x labels Jul 20, 2026
@hboutemy

hboutemy commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

upgrade to RC6 done in #1105
this PR is still useful, just to remove version override

@hboutemy
hboutemy merged commit 5850d40 into maven-compiler-plugin-3.x Aug 4, 2026
49 checks passed
@hboutemy
hboutemy deleted the use-latest-mvn4 branch August 4, 2026 21:52
@github-actions github-actions Bot added this to the 3.15.1 milestone Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants