Check if build is possible before polling queue
Updated pom.xml with maven-shade