zalando-zmon / zmon-controller

ZMON UI and REST API
https://docs.zmon.io/
Other
21 stars 17 forks source link

Build problem (spring-social-github/1.0.0.M4) #12

Closed gnomix closed 8 years ago

gnomix commented 8 years ago

When I tried to build the project it failed since it couldn't find spring-social-github/1.0.0.M4 in spring-milestones (http://repo.spring.io/milestone)

In order to make the build work I had to add the following into the <repositories> section of the parent POM

<repository>
   <id>spring-snapshots</id>
   <name>Spring Snapshots</name>
   <url>http://repo.spring.io/libs-snapshot</url>
</repository>
jbellmann commented 8 years ago

Are you sure that solves your problem? Spring put milestones always in 'milestone-repositories' as you can find it declared in the parent-pom of this project. You can also have a look at the repo here. You should see the milestone-artifacts. You also find the milestones in the repo declared by your snippet but I would not expect to find them there. So please try again. Remove the snapshots repo, clean your local-m2-repository and try to fetch them again.

hjacobs commented 8 years ago

@gnomix can you try again in a "clean" environment, i.e. without any settings.xml? The build works fine both on Travis CI (https://travis-ci.org/zalando/zmon-controller) and our internal CI server.

gnomix commented 8 years ago

@jbellmann You're right. It works

hjacobs commented 8 years ago

:+1: please note that the current master branch still has issues (database tests failing, token authentication is not complete, e.g. for ZMON Scheduler)