gnodet opened a new pull request, #13014: URL: https://github.com/apache/maven/pull/13014
## Summary Backport of #12998 to `maven-4.0.x`. The standalone `ApiRunner` is the main entry point for using the Maven 4 API outside of a full Maven build (e.g. in tools like mvnup). This improves it to be production-ready: - Remove hardcoded `user.home = "target"` — read settings from real user home - Store effective settings on the session - Apply proxy, mirror, and server authentication from `settings.xml` - Configure dependency resolution machinery - Support encrypted settings passwords with `SecurityMode` enum - Load `maven-system.properties` and `maven-user.properties` - Detect and set Maven version from classpath `pom.properties` - Honor offline mode from settings - Use ApiRunner-provided repositories in mvnup instead of replacing them ## Test plan - [x] Cherry-pick applied cleanly (no conflicts) - [ ] CI passes on `maven-4.0.x` 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
