prevent publication with invalid JDK version. publish sources.