title: Could not find artifact in jitpack.io, almost all dependencies in pom broken
body: <p>I cannot seem to resolve dependencies in my POM. This project was working for me earlier this morning and is currently working on another machine, but somehow now my project is so borked that all my dependencies are broken, all my imports and most of my classes are just red underlines. I want to go back to where I'm no longer having dependency/pom/maven errors and can search for the original desiredCapabilities errors.</p>
  
  <p><strong>Environment</strong>: 
  MacOS
  Apache Maven 3.6.3
  Java 8 and 11 are installed on my machine
  Project SDK: Java 11
  IDE: IntelliJ
  Appium 1.16.0</p>
  
  <p><strong>Trying to solve the original problem:</strong><br>
  1. Mvn clean install, with and without -U<br>
  2. Right click on project > Maven -> reimport<br>
  3. Tried to open on eclipse but this project uses graphql and I got errors that there weren't marketplace options for what I needed<br>
  4. Restarted intelliJ<br>
  5. Restarted my computer<br>
  6. Build -> Build project, rebuild project<br>
  7. Deleted my .m2 directory and tried a mvn clean install/mvn install etc, but this is where all my artifacts started breaking. Almost all dependencies now say "Dependency not found" when I hover<br>
  8. Tried updating maven indices from the pom<br>
  9. Blew out the repo and re-cloned it<br>
  10. Reverted to a previous commit<br></p>
  
  <p><strong>The current error on mvn clean install is:</strong> [ERROR] Failed to execute goal on project mobile-app-automation: Could not resolve dependencies for project com.automation.cm:mobile-app-automation:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.seleniumhq.selenium:selenium-java:jar:3.141.59: Failed to read artifact descriptor for org.seleniumhq.selenium:selenium-java:jar:3.141.59: Could not transfer artifact org.seleniumhq.selenium:selenium-java:pom:3.141.59 from/to central (<a href="http://jcenter.bintray.com" rel="nofollow noreferrer">http://jcenter.bintray.com</a>): Authorization failed for <a href="http://jcenter.bintray.com/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.pom" rel="nofollow noreferrer">http://jcenter.bintray.com/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.pom</a> 403 Forbidden -> [Help 1]</p>
  
  <p><strong>mvn compile</strong> gives the error: "Failure to find org.seleniumhq.selenium:selenium-java:pom:3.141.59 in <a href="https://jitpack.io" rel="nofollow noreferrer">https://jitpack.io</a> was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced
  "</p>
  
  <p><strong>Here is my pom, 90% of the dependencies are red:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;com.automation.cm&lt;/groupId&gt;
  &lt;artifactId&gt;mobile-app-automation&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;jitpack.io&lt;/id&gt;
          &lt;url&gt;https://jitpack.io&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/snapshots&gt;
          &lt;id&gt;central&lt;/id&gt;
          &lt;name&gt;bintray&lt;/name&gt;
          &lt;url&gt;http://jcenter.bintray.com&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  &lt;dependencies&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;3.141.59&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;io.appium&lt;/groupId&gt;
          &lt;artifactId&gt;java-client&lt;/artifactId&gt;
          &lt;version&gt;7.2.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.github.annaFedorchenko&lt;/groupId&gt;
          &lt;artifactId&gt;automation-xray-integration-library&lt;/artifactId&gt;
          &lt;version&gt;1.0&lt;/version&gt;
      &lt;/dependency&gt;
  
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
          &lt;artifactId&gt;java-hamcrest&lt;/artifactId&gt;
          &lt;version&gt;2.0.0.0&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
          &lt;artifactId&gt;java-hamcrest&lt;/artifactId&gt;
          &lt;version&gt;2.0.0.0&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.saucelabs&lt;/groupId&gt;
          &lt;artifactId&gt;saucerest&lt;/artifactId&gt;
          &lt;version&gt;1.0.40&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;!-- DEPENDENCIES FOR THE API TESTING --&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
          &lt;version&gt;RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
          &lt;version&gt;2.9.4&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
          &lt;version&gt;2.9.4&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.jayway.restassured/rest-assured --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jayway.restassured&lt;/groupId&gt;
          &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
          &lt;version&gt;2.9.0&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
          &lt;artifactId&gt;lombok&lt;/artifactId&gt;
          &lt;version&gt;1.18.10&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.jayway.restassured&lt;/groupId&gt;
          &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
          &lt;version&gt;RELEASE&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.googlecode.json-simple&lt;/groupId&gt;
          &lt;artifactId&gt;json-simple&lt;/artifactId&gt;
          &lt;version&gt;1.1.1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
          &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
          &lt;version&gt;2.2.11&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;!-- https://mvnrepository.com/artifact/junit/junit --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.12&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.12&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.qameta.allure&lt;/groupId&gt;
          &lt;artifactId&gt;allure-junit4&lt;/artifactId&gt;
          &lt;version&gt;2.12.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.apollographql.apollo/apollo-android-support --&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.apollographql.apollo&lt;/groupId&gt;
          &lt;artifactId&gt;apollo-runtime&lt;/artifactId&gt;
          &lt;version&gt;1.2.3&lt;/version&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${basedir}/libs/apollo-runtime-1.2.3.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.apollographql.apollo&lt;/groupId&gt;
          &lt;artifactId&gt;api&lt;/artifactId&gt;
          &lt;version&gt;1.2.3&lt;/version&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${basedir}/libs/apollo-api-1.2.3.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Optional, needed only for ANNOTATED nullable type--&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jetbrains&lt;/groupId&gt;
          &lt;artifactId&gt;annotations&lt;/artifactId&gt;
          &lt;version&gt;13.0&lt;/version&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${basedir}/libs/annotations-13.0.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.qameta.allure&lt;/groupId&gt;
          &lt;artifactId&gt;allure-java-commons&lt;/artifactId&gt;
          &lt;version&gt;2.12.1&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  
  &lt;properties&gt;
      &lt;aspectj.version&gt;1.8.10&lt;/aspectj.version&gt;
  &lt;/properties&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.github.sparow199&lt;/groupId&gt;
              &lt;artifactId&gt;apollo-client-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.3&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;generate&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;!-- &lt;rootPackageName&gt;com.example.graphql.client&lt;/rootPackageName&gt;--&gt;
                          &lt;!-- &lt;skip&gt;false&lt;/skip&gt;--&gt;
                          &lt;!-- &lt;addSourceRoot&gt;true&lt;/addSourceRoot&gt;--&gt;
                          &lt;introspectionFile&gt;
                              src/main/java/com/automation/api/apiresources/config/schema.json
                          &lt;/introspectionFile&gt;
                          &lt;!-- &lt;generateTransformedQueries&gt;false&lt;/generateTransformedQueries&gt;--&gt;
                          &lt;!-- transformedQueriesOutputDir&gt;${project.build.directory}/generated-sources/graphql-client/transformedQueries&lt;/transformedQueriesOutputDir&gt;--&gt;
                          &lt;generateIntrospectionFile&gt;true&lt;/generateIntrospectionFile&gt;
                          &lt;schemaUrl&gt;https://qa-kong.command-api.kw.com/graphql/gql&lt;/schemaUrl&gt;
                          &lt;sourceDirName&gt;${project.basedir}/src/main/java/com/automation/api/apiresources/config
                          &lt;/sourceDirName&gt;
                          &lt;!-- &lt;outputDirectory&gt;${project.build.directory}/generated-sources/graphql-client&lt;/outputDirectory&gt;--&gt;
                          &lt;!-- &lt;generateModelBuilder&gt;true&lt;/generateModelBuilder&gt;--&gt;
                          &lt;!-- &lt;useJavaBeansSemanticNaming&gt;true&lt;/useJavaBeansSemanticNaming&gt;--&gt;
                          &lt;!-- &lt;useSemanticNaming&gt;true&lt;/useSemanticNaming&gt;--&gt;
                          &lt;!-- &lt;nullableValueType&gt;JAVA_OPTIONAL&lt;/nullableValueType&gt;--&gt;
                          &lt;!-- &lt;suppressRawTypesWarning&gt;false&lt;/suppressRawTypesWarning&gt;--&gt;
                          &lt;!-- &lt;generateKotlinModels&gt;false&lt;/generateKotlinModels&gt;--&gt;
                          &lt;!-- &lt;generateAsInternal&gt;false&lt;/generateAsInternal&gt;--&gt;
                          &lt;!-- &lt;generateVisitorForPolymorphicDatatypes&gt;false&lt;/generateVisitorForPolymorphicDatatypes&gt;--&gt;
                      &lt;/configuration&gt;
  
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.22.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;testFailureIgnore&gt;false&lt;/testFailureIgnore&gt;
                  &lt;argLine&gt;
                      -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
                  &lt;/argLine&gt;
                  &lt;properties&gt;
                      &lt;property&gt;
                          &lt;name&gt;listener&lt;/name&gt;
                          &lt;value&gt;io.qameta.allure.junit4.AllureJunit4&lt;/value&gt;
                      &lt;/property&gt;
                  &lt;/properties&gt;
                  &lt;systemProperties&gt;
                      &lt;property&gt;
                          &lt;name&gt;allure.results.directory&lt;/name&gt;
                          &lt;value&gt;${project.build.directory}/allure-results&lt;/value&gt;
                      &lt;/property&gt;
                  &lt;/systemProperties&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.8&lt;/source&gt;
                  &lt;target&gt;1.8&lt;/target&gt;
              &lt;/configuration&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                      &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
                      &lt;version&gt;${aspectj.version}&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;io.qameta.allure&lt;/groupId&gt;
              &lt;artifactId&gt;allure-maven&lt;/artifactId&gt;
              &lt;version&gt;2.10.0&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;reportVersion&gt;2.4.1&lt;/reportVersion&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>