Permalink
Browse files

use older ruby DSL for pom.rb

  • Loading branch information...
1 parent 17c6d2d commit c4ecd6b82af0d12a0cf43f7f91b959e493c1aeb5 @mkristian mkristian committed Jan 9, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 maven/jruby-dist/pom.rb
View
4 maven/jruby-dist/pom.rb
@@ -25,7 +25,7 @@
'outputDirectory' => '${project.build.directory}' } ] )
end
- execute :fix_executable_bits do |ctx|
+ execute :fix_executable_bits, 'package' do |ctx|
Dir[ File.join( ctx.project.build.directory,
'META-INF',
'jruby.home',
@@ -65,7 +65,7 @@
end
phase :package do
- execute :pack_sources do |ctx|
+ execute :pack_sources, 'package' do |ctx|
require 'fileutils'
revision = `git show`.gsub( /\n.*|commit /, '' )

0 comments on commit c4ecd6b

Please sign in to comment.