Skip to content

Commit

Permalink
use older ruby DSL for pom.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Jan 9, 2014
1 parent 17c6d2d commit c4ecd6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maven/jruby-dist/pom.rb
Expand Up @@ -25,7 +25,7 @@
'outputDirectory' => '${project.build.directory}' } ] ) 'outputDirectory' => '${project.build.directory}' } ] )
end end


execute :fix_executable_bits do |ctx| execute :fix_executable_bits, 'package' do |ctx|
Dir[ File.join( ctx.project.build.directory, Dir[ File.join( ctx.project.build.directory,
'META-INF', 'META-INF',
'jruby.home', 'jruby.home',
Expand Down Expand Up @@ -65,7 +65,7 @@
end end


phase :package do phase :package do
execute :pack_sources do |ctx| execute :pack_sources, 'package' do |ctx|
require 'fileutils' require 'fileutils'


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

0 comments on commit c4ecd6b

Please sign in to comment.