Skip to content

Commit

Permalink
Showing 5 changed files with 12 additions and 27 deletions.
8 changes: 1 addition & 7 deletions maven/jruby-complete/pom.rb
Original file line number Diff line number Diff line change
@@ -82,13 +82,7 @@
: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
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin' )

['sonatype-oss-release', 'snapshots'].each do |name|
profile name do
8 changes: 2 additions & 6 deletions maven/jruby-dist/pom.rb
Original file line number Diff line number Diff line change
@@ -62,14 +62,10 @@
: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( 'net.ju-n.maven.plugins:checksum-maven-plugin' )

plugin( :invoker )

# since the source packages are done from the git repository we need
8 changes: 1 addition & 7 deletions maven/jruby-jars/Mavenfile
Original file line number Diff line number Diff line change
@@ -63,12 +63,6 @@ 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
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin' )

# vim: syntax=Ruby
8 changes: 1 addition & 7 deletions maven/jruby/pom.rb
Original file line number Diff line number Diff line change
@@ -30,13 +30,7 @@
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
plugin( 'net.ju-n.maven.plugins:checksum-maven-plugin' )

profile :apps do
activation do
7 changes: 7 additions & 0 deletions maven/pom.rb
Original file line number Diff line number Diff line change
@@ -23,6 +23,13 @@
{ 'file' => '${basedir}/src/empty.jar',
'classifier' => 'javadoc' } ] )
end

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

# module to profile map

0 comments on commit 703be9e

Please sign in to comment.