Sha256: 2ff36d9f2270d6cd1181f9e31fbcb90c499edc39b7eb3b23509177516b6d4edf

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

#-*- mode: ruby -*-

snapshot_repository :id => 'sonatype', :url => 'https://oss.sonatype.org/content/repositories/snapshots'

gemspec :jar => 'jopenssl', :include_jars => true

if model.version.to_s.match /[a-zA-Z]/
  model.group_id = 'org.jruby.gems'

  model.version = model.version + '-SNAPSHOT'
  plugin :deploy do
    execute_goals( :deploy, 
                  :skip => false,
                  :altDeploymentRepository => 'sonatype-nexus-snapshots::default::https://oss.sonatype.org/content/repositories/snapshots/' )
  end
end

plugin( :compiler, :target => '1.6', :source => '1.6', :debug => true, :verbose => false, :showWarnings => true, :showDeprecation => true )

jruby_plugin! :gem do
  # avoid adding this not yet built openssl to the load_path
  # when installing dependent gems
  execute_goal :initialize, :lib => 'non-existing'
  execute_goals :id => 'default-push', :skip => true
end

# you can use -Djruby.version=1.6.8 to pick a jruby version
# TODO use 1.6.8 and let the gem-maven-plugin pick the right version
properties 'jruby.version' => '1.7.12'
# we need the jruby API here, the version should be less important here
jar 'org.jruby:jruby-core', '${jruby.version}', :scope => :provided
# this artifact is needed to run the packaging at the end of the build
jar 'org.jruby:jruby-stdlib', '${jruby.version}', :scope => :provided

scope :test do
  jar 'junit:junit:4.11'
end

properties( 'gem.home' => '../target/rubygems',
            'gem.path' => '${gem.home}',
            'tesla.dump.pom' => 'pom.xml',
            'tesla.dump.readonly' => true )

# vim: syntax=Ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-openssl-0.9.5-java Mavenfile