From 1760d6189712009279b1f5b9ca232bdf64666641 Mon Sep 17 00:00:00 2001 From: Pandiyan Rajendran Date: Sat, 2 Dec 2023 21:15:18 +0530 Subject: [PATCH] Parsing maven path inside quotes --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f8cc10d68..d72d5f517 100644 --- a/index.js +++ b/index.js @@ -1181,7 +1181,7 @@ export const createJavaBom = async (path, options) => { `maven settings.xml found in ${basePath}. Please set the MVN_ARGS environment variable based on the full mvn build command used for this project.\nExample: MVN_ARGS='--settings ${settingsXml}'` ); } - const mavenCmd = getMavenCommand(basePath, path); + const mavenCmd = '"'+ getMavenCommand(basePath, path)+'"'; // Should we attempt to resolve class names if (options.resolveClass || options.deep) { const tmpjarNSMapping = collectMvnDependencies(