One shouldn't ever use source/target without also setting a corresponding bootclasspath (and Java 8 displays a warning when that's not the case; as it could lead to code that doesn't actually run on the targeted JVM), so those settings should have NO default value. Java 9 will make it better with real cross-compilation without the need for a bootclasspath (with its new -release argument), but it's not there yet.
Le mer. 18 janv. 2017 16:38, Russell Gold <[email protected]> a écrit : Currently, the maven-compiler-plugin defaults to 1.5 for the values of “source” and “target.” But Java 1.5 was end-of-lifed some time ago, and Maven doesn’t even run with lower than 1.6. These settings are incompatible with Java 9. Would it not make sense now to change those defaults to at least 1.6, if not 1.7? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
