Add <optional>true</otpiona> for Hamcrest.