Avoiding unnecessary resume and pause events
Updating pom.xml and README.md