title: Maven can't resolve the Kotlin Maven Plugin jar
body: <p>Not sure how to fix this.</p>
  
  <p>I want <a href="https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-runtime/1.2-M2" rel="nofollow noreferrer">this version</a> of the Kotlin runtime and <a href="https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-maven-plugin/1.2-M2" rel="nofollow noreferrer">maven plugin</a>.</p>
  
  <p>These are the bits in my pom.xml:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.jetbrains.kotlin&lt;/groupId&gt;
          &lt;artifactId&gt;kotlin-runtime&lt;/artifactId&gt;
          &lt;version&gt;1.2-M2&lt;/version&gt;
      &lt;/dependency&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.jetbrains.kotlin&lt;/groupId&gt;
              &lt;artifactId&gt;kotlin-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.2-M2&lt;/version&gt;
              &lt;executions&gt;
  </code></pre>
  
  <p>And I added this as a repo:</p>
  
  <pre><code>    &lt;repository&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/snapshots&gt;
          &lt;id&gt;kotlin-bintray&lt;/id&gt;
          &lt;name&gt;Kotlin Bintray&lt;/name&gt;
          &lt;url&gt;http://dl.bintray.com/kotlin/kotlin-dev/&lt;/url&gt;
      &lt;/repository&gt;
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Failure to find
    org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.2-M2 in
    <a href="https://repo.maven.apache.org/maven2" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2</a> was cached in the local
    repository, resolution will not be reattempted until the update
    interval of central has elapsed or updates are
    forced</p>
  </blockquote>
  
  <p>But I don't see anything that might be wrong. </p>
  
  <p>By the way, notice that the runtime jar is found, so the repository section must be correct since this repository is where maven finds it. The maven plugin jar is a different matter for some reason though...</p>