Remove transitive dependency that does not need to be declared explcitly from POM.