-
Notifications
You must be signed in to change notification settings - Fork 3
/
Mavenfile
37 lines (31 loc) · 1.25 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
33
34
35
36
37
# -*- mode:ruby -*-
gemspec
plugin :dependency do
execute_goal(:unpack, phase: 'process-sources',
outputAbsoluteArtifactFilename: false,
artifactItems: [{ :groupId => 'org.apache.maven',
:artifactId => 'apache-maven',
:version => '${maven.version}',
:classifier => 'bin',
:type => 'zip',
:outputDirectory => '${project.build.directory}' }])
end # maven-dependency-plugin
plugin :clean do
execute_goals( 'clean',
:id => 'default-clean',
:phase => 'clean',
'filesets' => [ { 'directory' => '${project.basedir}/pkg',
'includes' => [ '**/*' ] },
{ 'directory' => '${project.basedir}/maven-home',
'includes' => [ '**/*' ] } ],
'failOnError' => 'false' )
end
build do
resource do
target_path "${project.basedir}/maven-home"
directory "${project.build.directory}/apache-maven-${maven.version}"
end
end
# just lock the versions
properties 'jruby.version': '9.4.5.0'
# vim: syntax=Ruby