Pankraz76 commented on code in PR #2376:
URL: https://github.com/apache/maven/pull/2376#discussion_r2103910930


##########
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java:
##########
@@ -306,7 +306,7 @@ private void doExecute(MavenSession session, MojoExecution 
mojoExecution, Depend
 
         ensureDependenciesAreResolved(mojoDescriptor, session, 
dependencyContext);
 
-        try (NoExceptionCloseable lock = getProjectLock(session, 
mojoDescriptor)) {
+        try (NoExceptionCloseable ignore = getProjectLock(session, 
mojoDescriptor)) {

Review Comment:
   really? Is your IDE showing something different?
   
   Looks like a bug in maven to me.
   
   <img width="1331" alt="image" 
src="https://github.com/user-attachments/assets/d5fc78b9-51e8-435b-97b1-b7724b2ccd62";
 />
   



-- 
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-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to