buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toulm...@apache.org
Subject [4/5] buildr git commit: Add maven central repository reference, so ECJ can be downloaded by Travis
Date Fri, 12 Aug 2016 06:43:44 GMT
Add maven central repository reference, so ECJ can be downloaded by Travis


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

Branch: refs/heads/master
Commit: 1f914faf2bf5e394ff72cc50fbaeb978e258aabd
Parents: bdbedc4
Author: Antoine Toulme <antoine@lunar-ocean.com>
Authored: Thu Aug 11 11:33:48 2016 -0700
Committer: Antoine Toulme <antoine@lunar-ocean.com>
Committed: Thu Aug 11 11:33:48 2016 -0700

----------------------------------------------------------------------
 spec/java/ecj_spec.rb | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/1f914faf/spec/java/ecj_spec.rb
----------------------------------------------------------------------
diff --git a/spec/java/ecj_spec.rb b/spec/java/ecj_spec.rb
index f8c18d8..3f444b1 100644
--- a/spec/java/ecj_spec.rb
+++ b/spec/java/ecj_spec.rb
@@ -77,6 +77,7 @@ describe 'ecj compiler' do
   end
 
   it 'should include tools.jar dependency' do
+    repositories.remote << "http://repo1.maven.org/maven2/"
     write 'src/main/java/UseApt.java', <<-JAVA
     import com.sun.mirror.apt.AnnotationProcessor;
     public class UseApt { }
@@ -228,6 +229,7 @@ describe 'ecj compiler options' do
   end
 
   it 'should complain about options it doesn\'t know' do
+    repositories.remote << "http://repo1.maven.org/maven2/"
     write 'source/Test.java', 'class Test {}'
     compile_task.using(:unknown=>'option')
     lambda { compile_task.from('source').invoke }.should raise_error(ArgumentError, /no such
option/i)


Mime
View raw message