title: Maven - correct version of a plugin found in an alternate repository instead of Maven central: how to force it?
body: <p>I’m trying to get org.jfrog.buildinfo:artifactory-maven-plugin:2.6.1 which can be found in <a href="https://jcenter.bintray.com" rel="nofollow noreferrer">https://jcenter.bintray.com</a>.</p>
  
  <p>But since there is a 2.2.1 version of the same artifact in Maven Central, resolve always fails</p>
  
  <pre><code>« Failure to find org.jfrog.buildinfo:artifactory-maven-plugin:jar:2.6.1 in https://repo.maven.apache.org/maven2 »
  </code></pre>
  
  <p>I tried reordering the repositories section in pom.xml, no luck.</p>
  
  <p>Any clue?</p>
  
  <p>Thanks.</p>
  
  <p>Edit: I was looking for a plugin !</p>