-
Notifications
You must be signed in to change notification settings - Fork 179
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
Builds using spring-cloud-starter-parent fail due to missing dependencies. #44
Comments
It doesn't look like you're pointing to The actual build is broken because of this issue: https://travis-ci.org/spring-cloud/spring-cloud-starters/builds/113183780 |
My repositories are defined thusly:
|
Why doesn't you log attempt to download from |
I'm not sure why that doesn't show up. Could it be a maven transitive dependency thing? From the downloads, it resolves spring-cloud-starter-parent from repo.spring.io/libs-snapshot-local, however it appears there is a reference in that artifact to spring-cloud-dependencies-parent that goes right to repo.maven.apache.org instead of resolving through the spring repositories. Off the top of my head, does spring-cloud-starter-parent need to have the repositories element pointing to the spring repositories? FWIW, I'm using maven 3.2.2. |
What is the your pom's parent? |
I get this error using a pom with no parent. If I set the parent to the following, I get the same download problem and more maven errors.
|
For what it's worth, the project: https://github.com/spring-cloud-samples/customers-stores seems to have the same problem, except it's looking for the 1.1.0.BUILD-SNAPSHOT release of spring-cloud-dependencies-parent. |
I think 70beb5e may have fixed things. |
hmm, never mind. |
Ok, b632d9d really fixed things. |
When can I expect the changes to be published to the repos? And thanks for the quick responses! |
Snapshots are published immediately. You may need to force an update with |
The problem still exists. I removed spring-cloud-starter-parent and spring-cloud-starter-dependencies from my local repository, and rebuilt, and I get the same error. Downloading: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-starter-parent/Brixton.BUILD-SNAPSHOT/maven-metadata.xml It seems like it's still skipping the milestones repository, even with the following dependencyManagement and repositories configuration:
|
It would appear the recent spate of Spring releases has broken Brixton.BUILD-SNAPSHOT.
In a maven project with the following:
(I'm also pointing at the repo.spring.io libs-{snapshot,milestone,release}-local repositories)
I get the following resolution error for spring-cloud-dependencies-parent:
The text was updated successfully, but these errors were encountered: