title: What exactly happens during this command: mvn -pl <project list >
body: <p>What exactly happens during this command:</p>
  
  <pre><code>mvn -pl ABC  –am  -amd?
  </code></pre>
  
  <p>Does it compile the code?</p>
  
  <p>The reason I asked is I have purposely put an invalid file and when I run <code>mvn -pl ABC -am -amd</code> option I get successful result and I'm confused why Maven is not complaining about the errored file? </p>
  
  <p>But if I use <code>mvn install</code> command it errors!</p>