Remove unused dependencies.

Change dependency from project to maven.