Skip to content

Commit f6ce6d0

Browse files
tillscolleolleolle
authored andcommitted
Freeze Bundler version in Mavenfile
Since the `gem-maven-plugin` attempts to install the latest Bundler version by default, we need to explicitly freeze it for compatibility with older ruby versions
1 parent aede88a commit f6ce6d0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Mavenfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ end
1818

1919
properties( 'jruby.plugins.version' => '3.0.6',
2020
'jruby.version' => '9.4.13.0',
21-
'jetty.version' => '8.1.16.v20140903' )
21+
'jetty.version' => '8.1.16.v20140903',
22+
'bundler.version' => '2.6.3')
2223

2324
# dependencies needed for compilation
2425
scope :provided do
@@ -28,13 +29,15 @@ end
2829

2930
plugin :compiler, '3.1', :source => '8', :target => '8'
3031

32+
gem 'bundler', '${bundler.version}'
33+
3134
plugin :invoker, '1.8' do
3235
execute_goals( :install, :run,
3336
:id => 'integration-test',
3437
:properties => { 'warbler.version' => '${project.version}',
3538
'jruby.version' => '${jruby.version}',
3639
'jetty.version' => '${jetty.version}',
37-
'bundler.version' => '2.6.3',
40+
'bundler.version' => '${bundler.version}',
3841
'jruby.plugins.version' => '${jruby.plugins.version}' },
3942

4043
:goals => ['verify'],

0 commit comments

Comments
 (0)