make the lock count volatile, pom file to post artifacts