-
Notifications
You must be signed in to change notification settings - Fork 9
/
pom.rb
92 lines (80 loc) · 3.35 KB
/
pom.rb
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
project 'jruby_art', 'https://github.com/ruby-processing/JRubyArt' do
model_version '4.0.0'
id 'ruby-processing:jruby_art:2.6.1'
packaging 'jar'
description 'Jar for JRubyArt'
{
'monkstone' => 'Martin Prout', 'sampottinger' => 'Sam Pottinger',
'benfry' => 'Ben Fry', 'REAS' => 'Casey Reas', 'codeanticode' => 'Andres Colubri'
}.each do |key, value|
developer key do
name value
roles 'developer'
end
end
issue_management 'https://github.com/ruby-processing/JRubyArt/issues', 'Github'
source_control( :url => 'https://github.com/ruby-processing/JRubyArt',
:connection => 'scm:git:git://github.com/ruby-processing/JRubyArt.git',
:developer_connection => 'scm:git:git@github.com/ruby-processing/JRubyArt.git' )
properties( 'jruby_art.basedir' => '${project.basedir}',
'processing.api' => 'http://processing.github.io/processing-javadocs/core/',
'source.directory' => 'src',
'polyglot.dump.pom' => 'pom.xml',
'project.build.sourceEncoding' => 'UTF-8',
'jogl.version' => '2.3.2',
'jruby.version' => '9.3.3.0',
'itextpdf.version' => '5.5.13.2',
'batik.version' => '1.14',
'jruby.api' => 'http://jruby.org/apidocs/' )
jar 'org.jruby:jruby-base:${jruby.version}'
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
jar 'org.processing:video:3.0.2'
jar 'org.apache.xmlgraphics:batik-all:${batik.version}'
jar 'com.itextpdf:itextpdf:${itextpdf.version}'
overrides do
plugin :resources, '3.2.0'
plugin :dependency, '3.2.0' do
execute_goals( :id => 'default-cli',
'artifactItems' => [ { 'groupId' => 'com.itextpdf',
'artifactId' => 'itextpdf',
'version' => '${itextpdf.version}',
'type' => 'jar',
'outputDirectory' => '${jruby_art.basedir}/library/pdf' },
{ 'groupId' => 'org.apache.xmlgraphics',
'artifactId' => 'batik-all',
'version' => '${batik.version}',
'type' => 'jar',
'outputDirectory' => '${jruby_art.basedir}/library/svg' } ] )
end
plugin( :compiler, '3.9.0',
'release' => '17' )
plugin( :javadoc, '3.3.1',
'detectOfflineLinks' => 'false',
'links' => [ '${processing.api}',
'${jruby.api}' ] )
plugin( :jar, '3.2.2',
'archive' => {
'manifestEntries' => {
'Automatic-Module-Name' => 'processing.core'
}
} )
plugin :pmd, '3.15.0'
plugin :jdeps, '3.1.2' do
execute_goals 'jdkinternals', 'test-jdkinternals'
end
end
build do
resource do
directory '${source.directory}/main/java'
excludes '**/**/*.java'
end
resource do
directory '${source.directory}/main/resources'
includes '**/*.png', '**/*.txt', '**/*.glsl'
end
end
reporting do
plugin 'org.apache.maven.plugins:mavan-jxr-plugin:2.3'
end
end