Closed sam closed 11 years ago
I agree. Not necessary, so I fixed it.
I should have waited for Travis CI to come back with results.
We shouldn't exclude the other repos just because we're on Travis, so we should only have if/end
and not if/else/end
.
Travis doesn't have a complete mirror, so it still tried some things from repo1.maven.org and got errors. Only 1 of the 3 Travis test runs had this happen.
@sam: Are any of the 3 non-Travis and non-Maven mirrors full mirrors? That's what we need.
@ckrailo I'm not sure what you're asking. repo1 is Central. ibiblio is the main mirror for it.
I made the if...end
change.
Ah, cool. Just making sure we have more than one complete mirror, since repo1.maven is unreliable. Close once you see it pass tests.
This seems wrong since we can't lock down repositories on TravisCI... but I'm not 100% confident.
The code I'm referencing is here: https://github.com/sam/doubleshot/blob/master/ext/java/Aether.java#L54-55
If we decide to remove this, then I'm pretty sure it would just involve deleting those lines.
If it defaulted to Central when no other repository was specified (like Doubleshot does) that would be one thing, but it's actually adding it in the constructor, so you don't get the option of not adding Central.
Thoughts?