UPDATE: Added some configuration for JAR deployment.