Skip to content

Commit

Permalink
Showing 4 changed files with 30 additions and 3 deletions.
8 changes: 8 additions & 0 deletions maven/jruby-complete/pom.rb
Original file line number Diff line number Diff line change
@@ -82,6 +82,14 @@
:failOnError => false )
end

phase :package do
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin', '1.2' ) do
execute_goals(
:artifacts,
algorithms: ['MD5', 'SHA-1', 'SHA-256', 'SHA-512' ] )
end
end

['sonatype-oss-release', 'snapshots'].each do |name|
profile name do

9 changes: 6 additions & 3 deletions maven/jruby-dist/pom.rb
Original file line number Diff line number Diff line change
@@ -62,6 +62,12 @@
:attach => false,
:descriptors => [ 'src/main/assembly/bin200.xml' ] )
end

plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin', '1.2' ) do
execute_goals(
:artifacts,
algorithms: ['MD5', 'SHA-1', 'SHA-256', 'SHA-512' ] )
end
end

plugin( :invoker )
@@ -102,9 +108,6 @@
:classifier => 'src' } ] )

end
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin', '1.2' ) do
execute_goals( :artifacts, :algorithms => ['SHA256' ] )
end
end
end
end
8 changes: 8 additions & 0 deletions maven/jruby-jars/Mavenfile
Original file line number Diff line number Diff line change
@@ -63,4 +63,12 @@ end

plugin :invoker, :properties => { 'ruby.version' => ruby_version, 'gem.home' => '${project.build.directory}/rubygems', 'gem.path' => '${project.build.directory}/rubygems' }

phase :package do
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin', '1.2' ) do
execute_goals(
:artifacts,
algorithms: ['MD5', 'SHA-1', 'SHA-256', 'SHA-512' ] )
end
end

# vim: syntax=Ruby
8 changes: 8 additions & 0 deletions maven/jruby/pom.rb
Original file line number Diff line number Diff line change
@@ -30,6 +30,14 @@
end
end

phase :package do
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin', '1.2' ) do
execute_goals(
:artifacts,
algorithms: ['MD5', 'SHA-1', 'SHA-256', 'SHA-512' ] )
end
end

profile :apps do
activation do
property :name => 'invoker.test'

0 comments on commit 023317e

Please sign in to comment.