title: Getting 422:Unprocessable Entity when trying to add maven package form github registry to a gradle file
body: <p>I have a jar out in gitHub package registry called test.jar (version: 1.0.5), the repository name is testRepo, owner name: tejas3108.</p>
  
  <p>I am trying to add this jar as a dependency in my other gradle project, but with correct credentials, I still get this message: <code>Could not GET 'https://maven.pkg.github.com/tejas3108/com.tejas/1.0.5/testRepo-1.0.5.pom'. Received status code 422 from server: Unprocessable Entity.</code>
  Pasting the same in the browser gives the message: Invalid path for maven file. </p>
  
  <p>How do I successfully add this jar from the github registry to my build.gradle? Here is what I have now:</p>
  
  <pre><code>repositories {
      mavenCentral()
      maven{
          url = "https://maven.pkg.github.com/tejas3108"
          credentials {
              username = "tejas3108"
              password = "&lt;my_github_token&gt;"
          }
      }
  }
  
  dependencies {
     compile "com.tejas:testRepo:1.0.5"
  }
  </code></pre>