title: Runtime dependency included in war
body: <p>I am a little surprised: I declared a dependency in maven pom as runtime and it was still included in war.
  I honestly expected it not to do this...
  I used junit just for the purpose of demonstration...:)
  For example:</p>
  
  <pre>
  <code>
    &lt;dependencies>
      &lt;dependency>
        &lt;groupId>junit&lt;/groupId>
        &lt;artifactId>junit&lt;/artifactId>
        &lt;version>3.8.1&lt;/version>
        &lt;scope>runtime&lt;/scope>
      &lt;/dependency>
    &lt;/dependencies>
  </code>
  </pre>
  
  <p>Thanks,
  Roxana</p>