Benedikt Ritter wrote:

> Hi all,
> 
> I've just tested building [validator] with the latest JDK 9 EA build. The
> build doesn't work and fails with the following message:
> 
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] Source option 1.4 is no longer supported. Use 1.6 or later.
> [ERROR] Target option 1.4 is no longer supported. Use 1.6 or later.
> [INFO] 2 errors
> 
> Maybe it's finally time to start upgrading all components to Java 1.6.

Just add a profile that sets the two properties to 1.6 when compiling with 
Java 9. However, all components supporting a lower level should add an 
enforcement rule to the release profile to prevent an accidental release 
with Java 9 then.

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to