Better trap exceptions in VertexResource.
Fix pom for 2.4.1-SNAPSHOT.
Fix the 2.5.0-SNAPSHOT after a merge from 2.4.1 branch.