Added required hamcrest dependency to main pom.xml.