Skip to content
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

nexus.onebusaway.org is down, substituting download.osgeo.com allows OpenTripPlanner to build #1463

Closed
ed-g opened this issue Jul 30, 2014 · 11 comments

Comments

@ed-g
Copy link

ed-g commented Jul 30, 2014

maven for OpenTripPlanner doesn't find some dependencies because nexus.onebusaway.org is down.

I substituted

<url>http://nexus.onebusaway.org/content/repositories/releases/</url>

with

<url>http://download.osgeo.org/webdav/geotools/</url>

In pom.xml

And OTP now builds.

@barbeau
Copy link
Contributor

barbeau commented Jul 30, 2014

@ed-g Thanks for the report. We've had some intermittent issues with nexus.onebusaway.org, and I've re-opened the ticket for this at OneBusAway/onebusaway-application-modules#93.

@barbeau
Copy link
Contributor

barbeau commented Aug 4, 2014

nexus.onebusaway.org should be back up now. As indicated on the OBA issue, we're looking at some options to move it to a more stable environment.

@robludwig
Copy link
Contributor

It appears that this problem has resurfaced. @ed-g 's solution still applies. It looks like OneBusAway is in the process of moving the repo over to a working server

@barbeau
Copy link
Contributor

barbeau commented Nov 3, 2014

@robludwig You're correct, we're in the processing of moving the maven repo. If you need OBA-specific artifacts in the mean time, the temporary location http://developer.onebusaway.org/content/ should have them.

@robludwig
Copy link
Contributor

@barbeau would it make sense to (temporarily) patch the pom.xml file so that a user can clone the repo and have it build? this way the versions tagged stable (esp. 0.11.x) can remain stable while the repo is being moved over?

If so, I can quickly submit the patch.

@barbeau
Copy link
Contributor

barbeau commented Nov 4, 2014

@robludwig If you're talking about patching the OTP pom.xml, @abyrd or one of the other key OTP developers would need to weigh in on that. I don't know the exact timeline for bringing nexus.onebusaway.org back up (I'm not intimately involved with that server), but I believe it should happen within the next two weeks.

On a related topic - I'm not sure of all the dependencies currently being used in 0.11 tag and newer branches, but it may be possible to get rid of the OBA maven repo reference entirely. I recently noticed that the OBA project was using the OBA maven repo as a reference for JTS, which should be referenced in Maven Central instead. It's possible that earlier in the life of the project (OTP and OBA) JTS, and maybe other artifacts, weren't available in Maven Central, which is why they ended up being hosted in the OBA Maven repo. If you can do a fresh build by just switching the maven repo URL to http://download.osgeo.org/webdav/geotools/, my suspicion is that the OBA dependency could be eliminated (at least for that branch).

@robludwig
Copy link
Contributor

Thanks for the input-- that's helpful to know about the OBA repository.

My main concern is that I have an architecture that requires me to re-clone and re-install OTP on new VMs with some frequency. With the OBA repository down, it's not longer possible simply to git clone the stable 0.11.x release and then mvn package. I definitely think that as long as the repository is down, the pom.xml file should be edited so that a newcomer to the project can follow the intended clone --> package workflow.

As for possibly removing the OBA dependency, I've already done that locally so I can attest that it would work were the maintainers to choose to do that, but I don't have other thoughts.

@barbeau
Copy link
Contributor

barbeau commented Nov 4, 2014

@robludwig I'd suggest going ahead and submitting a PR that patches the OTP release branches that you're concerned with (e.g., 0.11.x). That way @abyrd and others can review and easily merge the change, if they choose to do so.

@abyrd
Copy link
Member

abyrd commented Nov 5, 2014

Confirmed that OTP will now build without the OBA repository. The OBA artifacts are available on Maven central. I will patch 0.10.x, 0.11.x, and master.

@abyrd
Copy link
Member

abyrd commented Nov 5, 2014

Patched on all three branches. Closing.

@abyrd abyrd closed this as completed Nov 5, 2014
@barbeau
Copy link
Contributor

barbeau commented Nov 5, 2014

Thanks @abyrd!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants