gnodet opened a new pull request, #12889:
URL: https://github.com/apache/maven/pull/12889

   ## Summary
   
   Backport of #12875 to `maven-4.0.x`.
   
   Fixes Maven Wrapper and IDE compatibility broken with Maven 4.0.0-beta-5+ 
because `maven.mainClass` is not set when launching through external tools.
   
   **Changes:**
   - `m2.conf`: Hardcode `main is org.apache.maven.cling.MavenCling from 
plexus.core` — no variable resolution needed
   - `MavenCling.java`: Check `maven.mainClass` system property and delegate to 
the specified class via reflection when set
   - New `MavenClingTest.java` with delegation tests
   
   Cherry-picked cleanly from a8be2cb908ec2f747c7b6af13f63e3de124fc7be.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to