private void bundleArtifact(P2Artifact p2Artifact, ResolvedArtifact resolvedArtifact) {
P2Validator.validateBundleRequest(p2Artifact, resolvedArtifact);
ArtifactBundler bundler = getArtifactBundler();
ArtifactBundlerInstructions bundlerInstructions = P2Helper.createBundlerInstructions(p2Artifact, resolvedArtifact);
ArtifactBundlerRequest bundlerRequest = P2Helper.createBundlerRequest(p2Artifact, resolvedArtifact, bundlesDestinationFolder);
bundler.execute(bundlerRequest, bundlerInstructions);
}
private ArtifactBundler getArtifactBundler() {
return new AquteBundler(pedantic);
}