cloudendpoints / endpoints-java

A Java framework for building RESTful APIs on Google App Engine
Apache License 2.0
32 stars 35 forks source link

Can't download to local maven repository #94

Open jonathansolorzn opened 7 years ago

jonathansolorzn commented 7 years ago

I'm trying to run

mvn dependency:get -Dartifact=com.google.endpoints:endpoints-framework:2.0.7

But I get the following error:


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Missing:
[ERROR] ----------
[ERROR] 1) com.google.endpoints:test-utils:jar:2.0.7
[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.google.endpoints -DartifactId=test-utils -Dversion=2.0.7 -Dpackaging=jar -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.google.endpoints -DartifactId=test-utils -Dversion=2.0.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR]   Path to dependency: 
[ERROR]         1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR]         2) com.google.endpoints:endpoints-framework:jar:2.0.7
[ERROR]         3) com.google.endpoints:test-utils:jar:2.0.7
[ERROR] 
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR] 
[ERROR] for artifact: 
[ERROR]   org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] 

I tried to download it manually, but when I go to https://mvnrepository.com/artifact/com.google.endpoints/test-utils/2.0.7 happens that it's not there... so... what can I do now?