-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The parent pom in the Maven Central Repo seems to be missing #13
Comments
Thanks for the report. Can you provide a sample pom.xml or .sbt file and a Maven/SBT command line that reproduces the failure? |
When trying to run
It produces the following error
|
I just looked a bit more into the underlying problem. It seems that it's indeed the parent project that's missing from Maven Central. When I installed it locally it sorta worked. See my steps below:
In my new Play2 Scala SBT project I used this dependency: After I also added that dependency explicitly it worked: However, this sounds weird to me since protobuf is already a dependency: |
It looks like the original issue is fixed (parent pom missing). The parent pom is there now: Can you open another issue about the protobuf warning? Which version of proto-c did you install with brew? |
Thanks, that fixed the original problem indeed :) I have 2.5.0 installed but it seemed to use 2.4.1 sometimes. To test this I made 1 empty project with Maven and 1 empty project with SBT. The maven project resolved the dependencies and picked protobuf-java-2.5.0 right away. The sbt project resolved the dependencies and picked protobuf-java-2.5.0 at first since google-api-services-datastore-protobuf depends on it, but then it got to google-http-client-protobuf (which also has a dependency on protobuf-java but doesn't specify a version) at which point sbt started downloading protobuf-java-2.4.1 for some reason. I don't understand why, but that's the reason it doesn't work. Anyway, it looks like the problem is in the google-http-client-protobuf pom (or maybe in the ivy resolver?) and not in this lib. |
Trying to use the Java lib with a dependency tool like SBT or Maven fails. There seems to be a parent pom missing or something like that.
See also:
http://stackoverflow.com/questions/18385456/how-to-use-google-api-services-datastore-protobuf-with-sbt-or-maven?noredirect=1
The text was updated successfully, but these errors were encountered: