public static final String SINGLETON = "singleton:=true";
public static final String TOOL_KEY = "Tool";
public static final String TOOL = "p2-maven-plugin (reficio.org)";
public static Analyzer buildAnalyzer(ArtifactBundlerRequest request, ArtifactBundlerInstructions instructions, boolean pedantic) throws Exception {
Analyzer analyzer = instantiateAnalyzer(request);
setAnalyzerOptions(analyzer, pedantic);
setPackageOptions(analyzer);
setInstructions(analyzer, instructions);
// they are set later as they may overwrite some instructions
setBundleOptions(analyzer, instructions);