What makes you think this is a maven problem? What error message are you getting? Is col1.get() actually an int value? Is it an Integer instead of an int perhaps? We need more information to help you.