Added tasks for JAR and JAR sources generation.