-
-
Notifications
You must be signed in to change notification settings - Fork 921
/
Mavenfile
32 lines (23 loc) · 934 Bytes
/
Mavenfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#-*- mode: ruby -*-
gemspec :jar => 'ripper'
version = File.read( File.join( basedir, '..', '..', 'VERSION' ) ).strip
parent 'org.jruby:jruby-ext', version
if model.version.match /[a-zA-Z]/
model.version = model.version + "-SNAPSHOT"
plugin :deploy do
execute_goal( :deploy,
:skip => false,
:altDeploymentRepository => 'sonatype-nexus-snapshots::default::https://oss.sonatype.org/content/repositories/snapshots/' )
end
end
jruby_plugin! :gem do
execute_goals :id => 'default-push', :skip => true
end
# we need the jruby API here, the version should be less important here
jar 'org.jruby:jruby:1.7.11', :scope => :provided
properties( 'gem.home' => '${basedir}/../target/rubygems',
'gem.path' => '${gem.home}',
'jruby.plugins.version' => '1.0.7',
'tesla.dump.pom' => 'pom.xml',
'tesla.dump.readonly' => true )
# vim: syntax=Ruby