Artifact queryArtifact = MavenConvertUtils.coordinateToMavenArtifact(coord);
List<RemoteRepository> remoteRepos = MavenConvertUtils.convertToMavenRepos(query.getDependencyRepositories(),
settings);
remoteRepos.addAll(MavenRepositories.getRemoteRepositories(container, settings));
CollectRequest collectRequest = new CollectRequest(new org.eclipse.aether.graph.Dependency(queryArtifact,
null), remoteRepos);
DependencyRequest dr = new DependencyRequest(collectRequest, null);
DependencyResult result = system.resolveDependencies(session, dr);