larry-cable commented on issue #321: URL: https://github.com/apache/maven-compiler-plugin/issues/321#issuecomment-2779558976
tested with 3.9.9 and 3.14.0 with <source> and <target> set to 24 with JDK 24 installed. it compiles cleanly. I believe the underlying issue is the interaction between --release and --plugin-module in the javac compiler. while --plugin-module compiles the target sources as if they are in the scope of the target module, --release effectively overrides this and enforces module public access only, hence the compile errors reported against non-public dependencies thanks again for your assistance! -- 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