fix(maven): Pass CompileCommandParser instead of ScanCommandArgumentParser to DetectableOptionFactory.
@@ -70,6 +70,7 @@ import com.synopsys.integration.detect.workflow.diagnostic.DiagnosticSystem;
import com.synopsys.integration.detect.workflow.event.Event;
import com.synopsys.integration.detect.workflow.event.EventSystem;
import com.synopsys.integration.detect.workflow.file.DirectoryManager;
+import com.synopsys.integration.detectable.detectables.clang.compilecommand.CompileCommandParser;
import com.synopsys.integration.rest.proxy.ProxyInfo;
import freemarker.template.Configuration;
@@ -203,7 +204,7 @@ public class DetectBoot {
DetectableOptionFactory detectableOptionFactory;
try {
ProxyInfo detectableProxyInfo = detectConfigurationFactory.createBlackDuckProxyInfo();
- detectableOptionFactory = new DetectableOptionFactory(detectConfiguration, diagnosticSystem, pathResolver, detectableProxyInfo, new ScanCommandArgumentParser());
+ detectableOptionFactory = new DetectableOptionFactory(detectConfiguration, diagnosticSystem, pathResolver, detectableProxyInfo, new CompileCommandParser());
} catch (DetectUserFriendlyException e) {
return Optional.of(DetectBootResult.exception(e, detectConfiguration, directoryManager, diagnosticSystem));
}
