-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMavenfile
More file actions
32 lines (23 loc) · 829 Bytes
/
Mavenfile
File metadata and controls
32 lines (23 loc) · 829 Bytes
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
properties 'push.skip': true, 'jruby.version': '9.3.1.0'
load File.join( basedir,'lib/maven/ruby/version.rb')
jar "io.takari.polyglot:polyglot-ruby:#{Maven::Ruby::POLYGLOT_VERSION}", scope: :provided
execute 'cleanup extensions', 'initialize' do |ctx|
FileUtils.rm_rf "#{ctx.project.build.directory}/../lib/extensions"
end
plugin :dependency do
execute_goal(:"copy-dependencies",
phase: 'prepare-package',
includeScope: :provided,
includeGroupIds: 'io.takari.polyglot',
outputDirectory: '${project.build.directory}/../lib/extensions')
end
profile :id => :release do
properties 'maven.test.skip' => true, 'invoker.skip' => true
properties 'push.skip' => false
build do
default_goal :deploy
end
end
# vim: syntax=Ruby