log.info(String.format("Resolving artifact=[%s] transitive=[%s] source=[%s]", p2.getId(), p2.shouldIncludeTransitive(),
p2.shouldIncludeSources()));
}
private ArtifactResolutionResult resolveArtifact(P2Artifact p2Artifact) {
ArtifactResolutionRequest resolutionRequest = ArtifactResolutionRequest.builder()
.rootArtifactId(p2Artifact.getId())
.resolveSource(p2Artifact.shouldIncludeSources())
.resolveTransitive(p2Artifact.shouldIncludeTransitive())
.excludes(p2Artifact.getExcludes())
.build();