Fix the bnd specs ; the aqute maven repository was decommissioned.

Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/3d9963d1
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/3d9963d1
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/3d9963d1

Branch: refs/heads/master
Commit: 3d9963d1d2972a5cf029eed66c192bec3bdf8c47
Parents: 7f5b25e
Author: Antoine Toulme <[email protected]>
Authored: Wed Aug 10 20:43:37 2016 -0700
Committer: Antoine Toulme <[email protected]>
Committed: Wed Aug 10 20:45:11 2016 -0700

----------------------------------------------------------------------
 CHANGELOG              | 2 +-
 addon/buildr/bnd.rb    | 6 ------
 doc/packaging.textile  | 2 +-
 spec/addon/bnd_spec.rb | 2 +-
 4 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/3d9963d1/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 45d09bb..e89b3e6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -21,7 +21,7 @@
 * Change: Update the custom_pom addon to generate poms with exclusions section 
that excludes
           all transitive dependencies. This is required as buildr dependencies 
are not
           transitive while Maven's dependencies are transitive by default.
-
+* Change: Remove the BND aqute maven repository, as it was decomissioned. Use 
Maven Central instead.
 1.4.25 (2016-04-18)
 * Change: BUILDR-712 Update jruby-openssl dependency version or support a 
range of versions
 * Change: Update gwt addon to add the GWT artifacts to project dependencies as 
specs rather

http://git-wip-us.apache.org/repos/asf/buildr/blob/3d9963d1/addon/buildr/bnd.rb
----------------------------------------------------------------------
diff --git a/addon/buildr/bnd.rb b/addon/buildr/bnd.rb
index 57a23ac..d0f247d 100644
--- a/addon/buildr/bnd.rb
+++ b/addon/buildr/bnd.rb
@@ -30,12 +30,6 @@ module Buildr
         ["biz.aQute:bnd:jar:#{version}"]
       end
 
-      # Repositories containing the requirements
-      def remote_repository
-        Buildr.application.deprecated "'Buildr:Bnd.remote_repository 
deprecated as the dependencies appear in maven central."
-        "http://www.aqute.biz/repo";
-      end
-
       def bnd_main(*args)
         cp = Buildr.artifacts(self.dependencies).each(&:invoke).map(&:to_s)
         Java::Commands.java 'aQute.bnd.main.bnd', *(args + [{ :classpath => cp 
}])

http://git-wip-us.apache.org/repos/asf/buildr/blob/3d9963d1/doc/packaging.textile
----------------------------------------------------------------------
diff --git a/doc/packaging.textile b/doc/packaging.textile
index 9c0f4bb..318a8c8 100644
--- a/doc/packaging.textile
+++ b/doc/packaging.textile
@@ -375,7 +375,7 @@ The bundle packaging format is included as an addon so the 
build file must expli
 {% highlight ruby %}
 require "buildr/bnd"
 
-repositories.remote << Buildr::Bnd.remote_repository
+repositories.remote << "http://central.maven.org/maven2";
 # uncomment the next version to override the version of bnd
 # Buildr::Bnd.version = '0.0.384'
 

http://git-wip-us.apache.org/repos/asf/buildr/blob/3d9963d1/spec/addon/bnd_spec.rb
----------------------------------------------------------------------
diff --git a/spec/addon/bnd_spec.rb b/spec/addon/bnd_spec.rb
index ec3a10b..eff5ef3 100644
--- a/spec/addon/bnd_spec.rb
+++ b/spec/addon/bnd_spec.rb
@@ -33,7 +33,7 @@ end
 
 describe Buildr::Bnd do
   before do
-    repositories.remote << Buildr::Bnd.remote_repository
+    repositories.remote << "http://central.maven.org/maven2";
   end
 
   describe "project.bnd version (assure backward compatibility)" do

Reply via email to