You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I depend on //third_party:appcompat_v7 I get the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.10:get (default-cli) @ standalone-pom ---
[INFO] Resolving com.android.support:appcompat_v7:aar:26.0.1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.072 s
[INFO] Finished at: 2017-08-28T22:25:55+01:00
[INFO] Final Memory: 13M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Failure to find com.android.support:appcompat_v7:aar:26.0.1 in https://maven.google.com was cached in the local repository, resolution will not be reattempted until the update interval of google has elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.android.support -DartifactId=appcompat_v7 -Dversion=26.0.1 -Dpackaging=aar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.android.support -DartifactId=appcompat_v7 -Dversion=26.0.1 -Dpackaging=aar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.android.support:appcompat_v7:aar:26.0.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] google (https://maven.google.com, releases=true, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
+ mvn -s settings.xml org.apache.maven.plugins:maven-dependency-plugin:2.10:get -Dtransitive=false -Dartifact=com.android.support:appcompat_v7:26.0.1:aar
Failed to fetch Maven dependency and referenced by '//third_party:appcompat_v7'.
I'm assuming it's an issue with my Maven settings since I've never had to set up something like this before. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
I can't seem to get maven.google.com working with maven_aar for the Android support libraries. Here's what I have so far:
WORKSPACE:
external/google-maven.xml
third_party/BUILD:
But if I depend on
//third_party:appcompat_v7
I get the following error:I'm assuming it's an issue with my Maven settings since I've never had to set up something like this before. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: