diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/invokeLocal/index.js
+++ b/lib/plugins/aws/invokeLocal/index.js
@@ -233,7 +233,7 @@ class AwsInvokeLocal {
           'package',
           '-f',
           path.join(javaBridgePath, 'pom.xml'),
-        ]);
+        ], { shell: true });
 
         this.serverless.cli
           .log('Building Java bridge, first invocation might take a bit longer.');
Add Windows support for spawning mvn