title: Cannot Create Maven Web Project in Netbeans 8.2
body: <p>I installed netbeans 8.2 recently and I keep trying to create a <code>maven web project</code> but I'm getting this error. </p>
  
  <pre><code>Cannot run program "cmd" (in directory "C:\Users\Administrator\Documents\NetBeansProjects"): 
  Malformed argument has embedded quote: "C:\opt\apache-maven-3.6.2\bin\mvn.cmd" 
  -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee7 
  -DarchetypeVersion=1.1 -DarchetypeRepository=http://repo.maven.apache.org/maven2 
  -DgroupId=com.dilini -DartifactId=mavenproject1 -Dversion=1.0-SNAPSHOT -Dpackage=com.dilini.mavenproject1 
  -Dbasedir=C:\Users\Administrator\Documents\NetBeansProjects -Darchetype.interactive=false 
  -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar" 
  --batch-mode archetype:generate
  </code></pre>
  
  <p>I updated java ee plugings in netbeans, I added <code>settings.xml</code> to <code>C:\Users\Administrator\.m2</code> location which I copied from the maven package.
  <br/></p>
  
  <p>But nothing seems to be working.
  <br/>
  Please help</p>