refactor package to make maven transitive dependencies.