title: What is the difference between using maven -pl option and running maven from module level?
body: <p>Is there any difference between</p>
  
  <pre><code>C:/dev/path/to/Project&gt; mvn package -pl MyModule -am -s settings.xml
  </code></pre>
  
  <p>and</p>
  
  <pre><code>C:/dev/path/to/Project/MyModule&gt; mvn package -am -s ../settings.xml
  </code></pre>
  
  <p>As far as I'm concerned, the result of these two actions should be he same.</p>
  
  <p>However, the behaviour seems to be different in each case: the former one seems to be more extensive; the latter ends more quickly - and I'm trying to understand why is that.</p>