forked from qisantanu/warbler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMavenfile
More file actions
47 lines (39 loc) · 1.63 KB
/
Mavenfile
File metadata and controls
47 lines (39 loc) · 1.63 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#-*- 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' )
plugin_repository( :url => 'https://central.sonatype.com/repository/maven-snapshots/',
:id => 'central-snapshots' ) do
releases 'false'
snapshots 'true'
end
repository( :url => 'https://central.sonatype.com/repository/maven-snapshots/',
:id => 'central-snapshots' ) do
releases 'false'
snapshots 'true'
end
properties( 'jruby.plugins.version' => '3.0.6',
'jruby.version' => '9.4.13.0',
'jetty.version' => '8.1.16.v20140903',
'bundler.version' => '2.6.3')
# 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 => '8', :target => '8'
gem 'bundler', '${bundler.version}'
gem 'jruby-jars', '${jruby.version}'
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' => '${bundler.version}',
'jruby.plugins.version' => '${jruby.plugins.version}' },
:goals => ['verify'],
:projectsDirectory => 'integration',
:streamLogs => true )
end