Sha256: f1018688ef44c74a8e706d08b5762027bd94734c109118f3f256f70359286056
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 KB
Contents
#-*- mode: ruby -*- gemspec ruby_version = model.version inherit "org.jruby:jruby-artifacts:#{ruby_version.sub( /.dev$/, '-SNAPSHOT' )}" model.version = nil name "JRuby Jars Gem" jar 'org.jruby:jruby-core-complete', '${project.parent.version}' jar 'org.jruby:jruby-stdlib-complete', '${project.parent.version}' plugin( :clean, '2.5' ) do execute_goals( :clean, :phase => :clean, :id => 'clean-lib', :filesets => [ { :directory => '${basedir}/lib', :includes => ['*.jar'] } ], :failOnError => false ) end properties( 'tesla.dump.pom' => 'pom.xml', 'tesla.dump.readOnly' => true, 'jruby.home' => '${basedir}/../../' ) jruby_plugin!( :gem, :gemspec => 'jruby-jars.gemspec', :includeDependencies => true ) do execute_goals :id => 'default-push', :skip => true end build do final_name "${project.artifactId}-#{ruby_version}" end # TODO remove once gem-maven-plugin honors the final_name plugin :install, :skip => true execute 'rename gem file', :verify do |ctx| require 'fileutils' FileUtils.rm_rf(Dir["#{ctx.project.build.directory}/*.gem"]) FileUtils.mv(Dir["#{ctx.project.basedir}/*.gem"], ctx.project.build.directory) end plugin( :invoker, :projectsDirectory => 'src/it', :cloneProjectsTo => '${project.build.directory}/it', :postBuildHookScript => 'verify.bsh', :streamLogs => true ) do execute_goals( :install, :run ) # :settingsFile => '${basedir}/src/it/settings.xml', # :localRepositoryPath => '${project.build.directory}/local-repo' ) end # vim: syntax=Ruby
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jruby-jars-1.7.16.2 | Mavenfile |
jruby-jars-1.7.16.1 | Mavenfile |
jruby-jars-1.7.16 | Mavenfile |