vasco / google-apis-client-generator

Automatically exported from code.google.com/p/google-apis-client-generator
0 stars 0 forks source link

Build failure of java code generated. #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generated java code with goolge-apis-client-generator.
2. mvn compile.
3. Build failure.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Latest code from git repository.
Both Mac and ubuntu

Please provide any additional information below.
localhost:discovery jchen$ mvn compile
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building APIs Discovery Service v1 (revision snapshot) 
v1-revsnapshot-1.9.0-beta
[INFO] ------------------------------------------------------------------------
Downloading: 
http://mavenrepo.google-api-java-client.googlecode.com/hg/com/google/api-client/
google-api-client/1.12.0-beta-SNAPSHOT/maven-metadata.xml
Downloading: 
http://mavenrepo.google-api-java-client.googlecode.com/hg/com/google/api-client/
google-api-client/1.12.0-beta-SNAPSHOT/google-api-client-1.12.0-beta-SNAPSHOT.po
m
[WARNING] The POM for 
com.google.api-client:google-api-client:jar:1.12.0-beta-SNAPSHOT is missing, no 
dependency information available
Downloading: 
http://mavenrepo.google-api-java-client.googlecode.com/hg/com/google/api-client/
google-api-client/1.12.0-beta-SNAPSHOT/google-api-client-1.12.0-beta-SNAPSHOT.ja
r
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.658s
[INFO] Finished at: Thu Feb 07 17:36:47 PST 2013
[INFO] Final Memory: 2M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project google-api-services-discovery: Could 
not resolve dependencies for project 
com.google.apis:google-api-services-discovery:jar:v1-revsnapshot-1.9.0-beta: 
Could not find artifact 
com.google.api-client:google-api-client:jar:1.12.0-beta-SNAPSHOT in 
google-api-services (http://mavenrepo.google-api-java-client.googlecode.com/hg) 
-> [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/DependencyResolutionException
localhost:discovery jchen$ 

Original issue reported on code.google.com by LoocalVi...@gmail.com on 8 Feb 2013 at 2:04

GoogleCodeExporter commented 9 years ago
Not fixing for a few reasons:
- 1.9.x is out of date.  pull the latest changes and try 1.14
- if the generated source for any particular language fails, file a bug against 
the language itself.  For Java, the project is 
https://code.google.com/p/google-api-java-client
- if you want an official Google issued library for one of their APIs, download 
it from https://code.google.com/p/google-api-java-client/wiki/APIs
The download will contain a source jar which should work.

Original comment by ai...@google.com on 14 Mar 2013 at 6:38