Skip to content

Commit

Permalink
use another rubygems-proxy repository with its
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Jul 29, 2015
1 parent e840a7d commit 53aef42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion maven/jruby/src/templates/osgi_all_inclusive/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

pom 'org.jruby:jruby', '${jruby.version}'

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' )

jruby_plugin! :gem, :includeRubygemsInResources => true

# ruby-maven will dump an equivalent pom.xml
Expand Down Expand Up @@ -67,7 +72,7 @@
jar 'org.apache.felix:org.apache.felix.framework:3.2.2'
end
profile :id => 'knoplerfish' do
repository( :id => :knoplerfish,
repository( :id => :knoplerfish,
:url => 'http://www.knopflerfish.org/maven2' )
jar 'org.knopflerfish:framework:5.1.6'
end
Expand Down
6 changes: 5 additions & 1 deletion maven/jruby/src/templates/osgi_all_inclusive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,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

0 comments on commit 53aef42

Please sign in to comment.