Maven loads wrong version of dependency
<p>In my maven pom.xml I have the following dependency:</p>

<pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.webjars.bower&lt;/groupId&gt;
    &lt;artifactId&gt;Chart.js&lt;/artifactId&gt;
    &lt;version&gt;2.0.2&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>

<p>When I build it, maven loads Version <code>1.1.1</code> instead of <code>2.0.2</code>. I can't explain why this could happen. <code>mvn dependency:tree</code> gives me the following output:</p>

<pre><code>[INFO] my.group:mypackage:war:0.0.1-SNAPSHOT
[INFO] ...
[INFO] +- org.webjars.bower:Chart.js:jar:1.1.1:compile
[INFO] +- org.webjars.bower:angular-chart.js:jar:0.10.2:compile
[INFO] ...
</code></pre>

<p>So, <code>Chart.js</code> is a direct dependency of my project and no other dependency depends on <code>Chart.js</code> and forces loading of version <code>1.1.1</code>. Even when I look at the effective pom in IntelliJ, there is no dependency for version <code>1.1.1</code>, only my dependency for <code>2.0.2</code>.</p>

<p>Any idea why maven loads the wrong version?</p>