forked from jruby/warbler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mavenfile
32 lines (26 loc) · 1.17 KB
/
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 -*-
# tell the gem setup for maven where the java sources are
# and how to name the jar file (default path for the jar: ./lib )
gemspec( :jar => 'warbler_jar.jar',
:source => 'ext' )
properties( 'jruby.plugins.version' => '1.1.5',
'jruby.version' => '9.1.8.0',
'jetty.version' => '9.2.10.v20150310' )
# dependencies needed for compilation
scope :provided do
jar 'org.jruby:jruby', '${jruby.version}'
jar 'org.eclipse.jetty:jetty-webapp', '${jetty.version}'
end
plugin :compiler, '3.1', :source => '1.6', :target => '1.6'
plugin :invoker, '1.8' do
execute_goals( :install, :run,
:id => 'integration-test',
:properties => { 'warbler.version' => '${project.version}',
'jruby.version' => '${jruby.version}',
'jetty.version' => '${jetty.version}',
'bundler.version' => '1.12.5',
'jruby.plugins.version' => '${jruby.plugins.version}' },
:goals => ['verify'],
:projectsDirectory => 'integration',
:streamLogs => true )
end