Skip to content

chore: build and test with Apache Maven 4.0.0-rc-5#1528

Draft
algomaster99 wants to merge 6 commits intomainfrom
building-with-maven-4
Draft

chore: build and test with Apache Maven 4.0.0-rc-5#1528
algomaster99 wants to merge 6 commits intomainfrom
building-with-maven-4

Conversation

@algomaster99
Copy link
Copy Markdown
Member

@algomaster99 algomaster99 commented Mar 15, 2026

Reference: #1081

Trying out building with mvn 4

Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
Maven home: /home/aman/.sdkman/candidates/maven/current
Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /home/aman/.sdkman/candidates/java/17.0.10-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-101-generic", arch: "amd64", family: "unix"

Claude Code suggested

 <extensions>                                                                                                                                                                   
   <extension>                                                                                                                                                                  
     <groupId>com.gradle</groupId>                                                                                                                                              
-    <artifactId>gradle-enterprise-maven-extension</artifactId>                                                                                                                 
-    <version>1.17</version>                                                                                                                                                    
+    <artifactId>develocity-maven-extension</artifactId>                                                                                                                        
+    <version>2.3.4</version>                                                                                                                                                   
   </extension>                                                                                                                                                                 
 </extensions> 

but then I am not exactly sure what we use this file for so I simply deleted it.

@algomaster99 algomaster99 changed the title chore: build with Apache Maven 4.0.0-rc-5 chore: build and test with Apache Maven 4.0.0-rc-5 Mar 15, 2026
@algomaster99
Copy link
Copy Markdown
Member Author

There also seems to be a tool mvnup but its changes did not affect the build with Maven 4.

@algomaster99 algomaster99 force-pushed the building-with-maven-4 branch 2 times, most recently from 902ad96 to 8113786 Compare March 15, 2026 20:08
@algomaster99 algomaster99 force-pushed the building-with-maven-4 branch from 8113786 to 1c16f45 Compare March 22, 2026 20:05
@algomaster99
Copy link
Copy Markdown
Member Author

@LogFlames I need some help here. it.IntegrationTestsIT#remoteRepositoryShouldResolve is failing. Here is the error log which is much easier to read
it.IntegrationTestsIT.txt.

It complains of having missing dependencies but I do get spoon-core is the lockfile generated like it is expected here. I am unsure what exactly validation fails on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant