Modernize: parameterize JDK version, bump it to 1.7, add encoding properties.
Sync