I answered perhaps a similar type of question here, not sure if helpful: Maven bans dependencies with no configuration