Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4ecd6b

Browse files
committed
use older ruby DSL for pom.rb
1 parent 17c6d2d commit c4ecd6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maven/jruby-dist/pom.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'outputDirectory' => '${project.build.directory}' } ] )
2626
end
2727

28-
execute :fix_executable_bits do |ctx|
28+
execute :fix_executable_bits, 'package' do |ctx|
2929
Dir[ File.join( ctx.project.build.directory,
3030
'META-INF',
3131
'jruby.home',
@@ -65,7 +65,7 @@
6565
end
6666

6767
phase :package do
68-
execute :pack_sources do |ctx|
68+
execute :pack_sources, 'package' do |ctx|
6969
require 'fileutils'
7070

7171
revision = `git show`.gsub( /\n.*|commit /, '' )

0 commit comments

Comments
 (0)