You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dev mode: "option --source cannot be used together with --release" - dev mode compile doesn't collapse source/target/release options like compiler plugin does
#1467
Closed
scottkurz opened this issue
Mar 30, 2022
· 0 comments
· Fixed by #1849
If I add the POM properties
(ignoring whether these values really make sense or not)
and do
mvn -X compile
I'll get:I.e. the source + target options will be dropped and ignored and the release option will be passed to javac.
In dev mode, though, we get:
I'm thinking dev mode should behave more like the compiler plugin here (though I don't see this documented specifically at: https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html)
Some other references:
The text was updated successfully, but these errors were encountered: