Skip to content

Commit

Permalink
[build] add an alternative to the torquebox repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed May 29, 2015
1 parent 0385b17 commit 45f25bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lib/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def to_pathname
jar "org.jruby:jruby-core:#{version}", :scope => 'test'

repository( :url => 'http://rubygems-proxy.torquebox.org/releases',
:id => 'tb-rubygems-releases' )
repository( :url => 'https://otto.takari.io/content/repositories/rubygems/maven/releases',
:id => 'rubygems-releases' )

plugin( :clean,
Expand Down
6 changes: 5 additions & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,13 @@
</dependencies>
<repositories>
<repository>
<id>rubygems-releases</id>
<id>tb-rubygems-releases</id>
<url>http://rubygems-proxy.torquebox.org/releases</url>
</repository>
<repository>
<id>rubygems-releases</id>
<url>https://otto.takari.io/content/repositories/rubygems/maven/releases</url>
</repository>
</repositories>
<build>
<resources>
Expand Down
7 changes: 2 additions & 5 deletions test/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ def truffle_spec_config(spec_type, generate_report)
id 'org.jruby:jruby-tests'

repository( 'http://rubygems-proxy.torquebox.org/releases',
:id => 'tb-rubygems-releases' )
repository( :url => 'https://otto.takari.io/content/repositories/rubygems/maven/releases',
:id => 'rubygems-releases' )
repository( 'http://rubygems-proxy.torquebox.org/prereleases',
:id => 'rubygems-prereleases' ) do
releases 'false'
snapshots 'true'
end

plugin_repository( 'https://oss.sonatype.org/content/repositories/snapshots/',
:id => 'sonatype' ) do
Expand Down

0 comments on commit 45f25bf

Please sign in to comment.