set default encoding
only run the sonatype plugin if the release profile is active
add Java version requirement
build with openjdk7 as well as Oracle JDK