Migrate dependencies to maven.