Remove references to http://www.ibiblio.org/maven2/
diff --git a/CHANGELOG b/CHANGELOG
index 68493f5..f32fe14 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,8 @@
 1.5.8 (Pending)
 * Fixed:  Changed references to `https://repo1.maven.org/maven2` to use https where possible.
 * Change: Use the `zapwhite` gem to manage file whitespace within repository.
+* Fixed:  Replace references to long removed `http://www.ibiblio.org/maven2/` repository with
+          `https://repo1.maven.org/maven2`.
 
 1.5.7 (2019-02-16)
 * Fixed:  The fix that allowed special characters in usernames and passwords was only partially applied
diff --git a/doc/artifacts.textile b/doc/artifacts.textile
index b07044e..6733026 100644
--- a/doc/artifacts.textile
+++ b/doc/artifacts.textile
@@ -99,7 +99,7 @@
 When you call @repositories.remote@, you get an array of URLs for the various remote repositories.  Initially, it's an empty array, to which you can add new repositories.  For example:
 
 {% highlight ruby %}
-repositories.remote << 'http://www.ibiblio.org/maven2/'
+repositories.remote << 'https://repo1.maven.org/maven2'
 {% endhighlight %}
 
 If your repository requires HTTP authentication, you can write,
@@ -171,7 +171,7 @@
 
 When you let Buildr download artifacts for you, or by invoking the artifact task yourself, it scans through the remote repositories assuming each repository follows the Maven 2 structure.  Starting from the root repository URL, it will look for each artifact using the path @group/id/version/id-version.type@ (or ...@/id-version-classifier.type@).  The group identifier becomes a path by turning periods (@.@) into slashes (@/@). So to find @org.apache.axis2:axis2:jar:1.2@, we're going to look for @org/apache/axis2/axis2/1.2/axis2-1.2.jar@.
 
-You'll find a lot of open source Java libraries in public repositories that support this structure (for example, the "Ibiblio Maven":http://www.ibiblio.org/maven2/ repository).  And, of course, every remote repository you setup for your projects.
+You'll find a lot of open source Java libraries in public repositories that support this structure (for example, the "Maven Central":https://repo1.maven.org/maven2 repository).  And, of course, every remote repository you setup for your projects.
 
 But there are exceptions to the rule.  Say we want to download the Dojo widget library and use it in our project.  It's available from the Dojo Web site, but that site doesn't follow the Maven repository conventions, so our feeble attempt to use existing remote repositories will fail.
 
diff --git a/doc/projects.textile b/doc/projects.textile
index 3418075..75c8f11 100644
--- a/doc/projects.textile
+++ b/doc/projects.textile
@@ -26,7 +26,7 @@
 OPENJPA = ['org.apache.openjpa:openjpa:jar:1.2.0',
   'net.sourceforge.serp:serp:jar:1.12.0']
 
-repositories.remote << 'http://www.ibiblio.org/maven2/'
+repositories.remote << 'https://repo1.maven.org/maven2'
 
 desc 'Code. Build. ??? Profit!'
 define 'killer-app' do
diff --git a/doc/quick_start.textile b/doc/quick_start.textile
index e0831ce..87b0802 100644
--- a/doc/quick_start.textile
+++ b/doc/quick_start.textile
@@ -67,7 +67,7 @@
 So far, we have seen how Buildr can automatically infer what amounts to dozens of lines of @build.xml@ contents, all based on a buildfile and a directory structure.  However, the best is yet to come.  Buildr also provides Maven-style dependency management (but without the long loading times!).  In other words, you specify each dependent library using a string descriptor and Buildr figures out how to download and configure your classpath (the library descriptors are just a Ruby array, therefore they are separated by commas (@,@)).  You must specify at least one remote repository so that Buildr knows from where to download these libraries.  For example, we can configure our project to reference the "Apache Commons CLI":http://commons.apache.org/cli/ library and download libraries from the Ibiblio repository:
 
 {% highlight ruby %}
-repositories.remote << 'http://www.ibiblio.org/maven2'
+repositories.remote << 'https://repo1.maven.org/maven2'
 
 define 'killer-app' do
   project.version = '0.1.0'
@@ -83,7 +83,7 @@
 Unfortunately, not all libraries are quite as simple as Commons CLI.  Many libraries (such as Apache Wicket) have dependencies of their own.  While we may be able to _compile_ against Apache Wicket without these extra libraries on our classpath, we cannot actually _run_ our application without its transitive dependencies. To avoid tracking down each of these dependencies and adding them manually, we can simply use the @transitive@ directive (this is how Maven behaves by default):
 
 {% highlight ruby %}
-repositories.remote << 'http://www.ibiblio.org/maven2'
+repositories.remote << 'https://repo1.maven.org/maven2'
 
 define 'killer-app' do
   project.version = '0.1.0'
@@ -95,7 +95,7 @@
 The @compile.with@ property accepts a full array of comma-separated artifacts, making it possible to specify any number of dependencies as necessary.  Of course, such a long list of verbose string descriptors could get very tiresome and messy.  For this reason, it is conventional to assign each dependency to a constant (e.g. @WICKET@) which is declared just above the project in the buildfile and passed to @compile.with@ in a clean, easy-to-read style:
 
 {% highlight ruby %}
-repositories.remote << 'http://www.ibiblio.org/maven2'
+repositories.remote << 'https://repo1.maven.org/maven2'
 
 WICKET = transitive('org.apache.wicket:wicket:jar:1.4-rc6')
 SLF4J = 'org.slf4j:slf4j-jdk14:jar:1.5.8'
diff --git a/lib/buildr/packaging/artifact_search.rb b/lib/buildr/packaging/artifact_search.rb
index fc96e18..0abef26 100644
--- a/lib/buildr/packaging/artifact_search.rb
+++ b/lib/buildr/packaging/artifact_search.rb
@@ -96,7 +96,7 @@
 
     def remote_versions(art, base, from = :metadata, fallback = true)
       path = (art[:group].split(/\./) + [art[:id]]).flatten.join('/')
-      base ||= "http://mirrors.ibiblio.org/pub/mirrors/maven2"
+      base ||= "https://repo1.maven.org/maven2"
       uris = {:metadata => "#{base}/#{path}/maven-metadata.xml"}
       uris[:listing] = "#{base}/#{path}/" if base =~ /^https?:/
         xml = nil
diff --git a/spec/ide/idea_spec.rb b/spec/ide/idea_spec.rb
index 35c7a12..61eb506 100644
--- a/spec/ide/idea_spec.rb
+++ b/spec/ide/idea_spec.rb
@@ -1419,7 +1419,7 @@
         touch 'foo/src/main/java/foo/Foo.java' # needed so that buildr will treat as a java project
         artifact('group:id:jar:1.0') { |t| write t.to_s }
         define "root" do
-          repositories.remote << 'http://mirrors.ibiblio.org/pub/mirrors/maven2/'
+          repositories.remote << 'https://repo1.maven.org/maven2'
           project.version = "2.5.2"
           define 'foo' do
             resources.from _(:source, :main, :resources)
diff --git a/spec/packaging/artifact_spec.rb b/spec/packaging/artifact_spec.rb
index 8a654d9..54abe3d 100644
--- a/spec/packaging/artifact_spec.rb
+++ b/spec/packaging/artifact_spec.rb
@@ -215,7 +215,7 @@
       @local = @remote = @release_to = nil
     end
 
-    @repos = [ 'https://oss.sonatype.org/', 'http://www.ibiblio.org/maven2', { :url => 'https://repo1.maven.org/maven2', :username => 'user', :password => 'password' } ]
+    @repos = [ 'https://oss.sonatype.org/', { :url => 'https://repo1.maven.org/maven2', :username => 'user', :password => 'password' } ]
   end
 
   it 'should convert remote to array of uri' do
@@ -223,7 +223,7 @@
       uri.user = 'user'
       uri.password = 'password'
 
-      uris = [ URI.parse( 'https://oss.sonatype.org/'), URI.parse( 'http://www.ibiblio.org/maven2' ), uri ]
+      uris = [ URI.parse( 'https://oss.sonatype.org/'), uri ]
 
       repositories.remote = @repos
       repositories.remote_uri.should eql(uris)
@@ -236,7 +236,7 @@
       @local = @remote = @release_to = @mirrors = nil
     end
 
-    @repos = [ 'http://www.ibiblio.org/maven2', 'https://repo1.maven.org/maven2' ]
+    @repos = %w(http://www.ibiblio.org/maven2 https://repo1.maven.org/maven2)
   end
 
   it 'should be empty initially' do
@@ -310,7 +310,7 @@
       @local = @remote = @release_to = nil
     end
 
-    @repos = [ 'http://www.ibiblio.org/maven2', 'https://repo1.maven.org/maven2' ]
+    @repos = %w(http://www.ibiblio.org/maven2 https://repo1.maven.org/maven2)
   end
 
   it 'should be empty initially' do