Updating pom.xml to properly deploy snapshot releases to Nexus and to release stable versions to maven central repository.