gnodet commented on issue #11802: URL: https://github.com/apache/maven/issues/11802#issuecomment-4776526514
Correction to my previous comment: PR #12135 (JPMS support) adds an `Automatic-Module-Name` to `maven-cli` but does not add an explicit `module-info.java` — so the module currently exports all packages by default. That said, the point stands: `impl/maven-cli` is the Maven launcher, not a library. It is not part of Maven's public API (`api/maven-api-*`). No external code should depend on it, and the `ModelVersionUtils` class is only used within the `mvnup.goals` package. When a full `module-info.java` is added to `maven-cli` in the future, these internal packages will not be exported. -- 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]
