forked from geosolutions-it/jai-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
620 lines (591 loc) · 21.6 KB
/
pom.xml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- -->
<!-- PROPERTIES -->
<!-- -->
<properties>
<path.native>${env.JAVA_HOME}/bin</path.native>
<java.lib>${env.JAVA_HOME}/jre/lib/ext</java.lib>
<extensive.tests>false</extensive.tests>
<interactive.tests>false</interactive.tests>
<test.maxHeapSize>1024M</test.maxHeapSize>
<test.maxPermSize>1024m</test.maxPermSize>
<jt.version>1.2.0</jt.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>4.8.1</junit.version>
<apache.version>2.1</apache.version>
<fork.javac>true</fork.javac>
<javac.maxHeapSize>256M</javac.maxHeapSize>
<guava.version>17.0</guava.version>
<project.version>1.0-SNAPSHOT</project.version>
</properties>
<!-- ======================================================== -->
<!-- Project Description -->
<!-- ======================================================== -->
<groupId>it.geosolutions.jaiext</groupId>
<artifactId>jaiext</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>GeoSolutions JAI Extensions Library Root Project</name>
<description>Container for tools and extensions to JAI project</description>
<organization>
<name>GeoSolutions</name>
<url>http://www.geo-solutions.it</url>
</organization>
<inceptionYear>2006</inceptionYear>
<licenses>
<license>
<name>Lesser General Public License (LGPL)</name>
<url>http://www.gnu.org/copyleft/lesser.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- ======================================================== -->
<!-- Deployment Repository -->
<!-- ======================================================== -->
<profiles>
<profile>
<id>deployosgeo</id>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>osgeo</id>
<name>OSGeo Geotools - Maven 2 repo</name>
<url>dav:http://download.osgeo.org/webdav/geotools/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>deployopengeo</id>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>opengeo</id>
<name>OpenGeo - Maven 2 repo</name>
<url>dav:http://repo.opengeo.org</url>
</repository>
</distributionManagement>
</profile>
<!--..................................-->
<!-- GeoSolutions Repository -->
<!--..................................-->
<profile>
<id>deploygeosolutions</id>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>geosolutions</id>
<url>ftp://demo.geo-solutions.it</url>
</repository>
</distributionManagement>
</profile>
<!-- Profiles set on the command-line overwrite default properties. -->
<profile>
<id>extensive.tests</id>
<properties>
<extensive.tests>true</extensive.tests>
</properties>
</profile>
<profile>
<id>interactive.tests</id>
<properties>
<interactive.tests>true</interactive.tests>
</properties>
</profile>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<!-- grab an ImageIO-Ext dependency to figure out its version -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>
it.geosolutions.jaiext.concurrent-tile-cache,
it.geosolutions.jaiext.affine,
it.geosolutions.jaiext.algebra,
it.geosolutions.jaiext.bandmerge,
it.geosolutions.jaiext.border,
it.geosolutions.jaiext.buffer,
it.geosolutions.jaiext.crop,
it.geosolutions.jaiext.iterators
it.geosolutions.jaiext.lookup,
it.geosolutions.jaiext.mosaic,
it.geosolutions.jaiext.nullop,
it.geosolutions.jaiext.rescale,
it.geosolutions.jaiext.scale,
it.geosolutions.jaiext.scheduler,
it.geosolutions.jaiext.stats,
it.geosolutions.jaiext.translate,
it.geosolutions.jaiext.utilities
it.geosolutions.jaiext.warp,
it.geosolutions.jaiext.zonal,
it.geosolutions.jaiext.squareroot
</includeGroupIds>
<includeArtifactIds>
concurrent-tile-cache,
jt-affine,
jt-algebra,
jt-bandmerge,
jt-border,
jt-buffer,
jt-crop,
jt-iterators,
jt-lookup,
jt-mosaic,
jt-nullop,
jt-rescale,
jt-scale,
jt-scheduler,
jt-stats,
jt-translate,
jt-utilities,
jt-warp,
jt-zonal,
square-root
</includeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>release</module>
</modules>
</profile>
</profiles>
<reporting>
<plugins>
<!-- ======================================================= -->
<!-- Javadoc generation. -->
<!-- -->
<!-- Notes: -->
<!-- Do NOT enable deep copying of "doc-files" -->
<!-- directories ("-docfilessubdirs" option), because -->
<!-- it has the unwanted side effect to copy .svn -->
<!-- directories as well. -->
<!-- -->
<!-- Do NOT link source code, because it duplicates -->
<!-- jxr-maven-plugin. -->
<!-- -->
<!-- <sourcepath/> and <subpackages/> elements do not -->
<!-- seem to work with aggregated javadoc. -->
<!-- -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Necessary to enable javadoc to handle J2SE 1.4 features. -->
<source>1.5</source>
<!-- source>1.5</source -->
<!-- Specifies whether or not the version text is included.-->
<version>false</version>
<!-- Omit qualifying package name before class names in output.-->
<noqualifier>all</noqualifier>
<!-- Shuts off non-error and non-warning messages.-->
<quiet>true</quiet>
<!-- The maximum Java heap size to be used to run javadoc. -->
<maxmemory>512M</maxmemory>
<!-- Specifies the encoding name of the source files.-->
<encoding>ISO-8859-1</encoding>
<!-- Whether to build an aggregated report at the root.-->
<aggregate>true</aggregate>
<!-- Set an additional parameter for the command line. -->
<additionalparam>-keywords</additionalparam>
<breakiterator>true</breakiterator>
<!-- Enables the Javadoc tool to interpret a simple, one-argument -->
<!-- custom block tag tagname in doc comments. Note: <placement/> -->
<!-- should be a combinaison of the letters Xaoptcmf. -->
<tags>
<tag>
<name>todo</name>
<placement>a</placement>
<head>TODO:</head>
</tag>
<tag>
<name>todo:</name>
<placement>a</placement>
<head>TODO:</head>
</tag>
<tag>
<name>TODO</name>
<placement>a</placement>
<head>TODO:</head>
</tag>
<tag>
<name>task</name>
<placement>tfmc</placement>
<head>TODO:</head>
</tag>
<tag>
<name>UML</name>
<placement>a</placement>
<head>UML:</head>
</tag>
<tag>
<name>uml.property</name>
<placement>a</placement>
<head>UML property:</head>
</tag>
</tags>
<!-- Separates packages on the overview page into the -->
<!-- groups specified. -->
</configuration>
</plugin>
<!-- ======================================================= -->
<!-- Web site generation. -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en</locales>
</configuration>
</plugin>
<!-- basic project information -->
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<!-- ======================================================== -->
<!-- Developers and contributors -->
<!-- ======================================================== -->
<developers>
<developer>
<name>Simone Giannecchini</name>
<id>Simboss</id>
<email>[email protected]</email>
<organization>GeoSolutions</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Daniele Romagnoli</name>
<id>Daniele</id>
<email>[email protected]</email>
<organization>GeoSolutions</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<!-- ======================================================== -->
<!-- Plugin Repositories -->
<!-- ======================================================== -->
<pluginRepositories>
<pluginRepository>
<id>codehaus.org</id>
<name>CodeHaus Plugin Snapshots</name>
<url>http://snapshots.repository.codehaus.org</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- ======================================================== -->
<!-- Repositories -->
<!-- ======================================================== -->
<repositories>
<repository>
<id>geosolutions</id>
<name>GeoSolutions libraries repository</name>
<url>http://maven.geo-solutions.it/</url>
</repository>
<repository>
<id>codehaus</id>
<name>Codehaus maven repository</name>
<url>http://repository.codehaus.org/</url>
</repository>
<repository>
<id>codehaus.org</id>
<name>CodeHaus Snapshots</name>
<url>http://snapshots.repository.codehaus.org</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>osgeo</id>
<name>Open Source Geospatial Foundation Repository</name>
<url>http://download.osgeo.org/webdav/geotools/</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>opengeo</id>
<name>OpenGeo Maven Repository</name>
<url>http://repo.opengeo.org</url>
</repository>
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<layout>default</layout>
</repository>
</repositories>
<!-- -->
<!-- Dependencies management. -->
<!-- If a POM declares one of those dependencies, then it will use -->
<!-- the version specified here. Otherwise, those dependencies are -->
<!-- ignored. -->
<!-- -->
<dependencyManagement>
<dependencies>
<!-- Tests or legacy -->
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_core</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_codec</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_imageio</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jaitools</groupId>
<artifactId>jt-utils</artifactId>
<version>${jt.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!--dependency>
<groupId>org.jcuda</groupId>
<artifactId>aggregation</artifactId>
<version>0.5.0a</version>
<scope>system</scope>
<systemPath>/usr/local/jcuda/jre/jcuda-0.5.0a.jar</systemPath>
</dependency-->
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Tests or legacy -->
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_core</artifactId>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_codec</artifactId>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_imageio</artifactId>
</dependency>
<dependency>
<groupId>org.jaitools</groupId>
<artifactId>jt-utils</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- ======================================================== -->
<!-- -->
<!-- Build Configuration -->
<!-- -->
<!-- ======================================================== -->
<build>
<!-- ========================================================= -->
<!-- Maven plugins dependencies management. -->
<!-- It should not be needed since Maven select by default -->
<!-- the latest plugins. Unfortunatly, experience shows that -->
<!-- new plugin releases sometime introduce new bugs that -->
<!-- break our build. So it is safer to specify plugin -->
<!-- versions that are known to work. This list is in -->
<!-- alphabetical order for easier comparaison with latest -->
<!-- plugins at -->
<!-- http://www.ibiblio.org/maven2/org/apache/maven/plugins/ -->
<!-- ========================================================= -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- ======================================================= -->
<!-- Compilation. -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source> <!-- The -source argument for the Java compiler. -->
<target>1.5</target> <!-- The -target argument for the Java compiler. -->
<debug>true</debug> <!-- Whether to include debugging information. -->
<encoding>ISO-8859-1</encoding> <!-- The -encoding argument for the Java compiler. -->
<!--source>1.6</source--> <!-- The -source argument for the Java compiler. -->
<!--target>1.6</target--> <!-- The -target argument for the Java compiler. -->
<!--debug>true</debug--> <!-- Whether to include debugging information. -->
<!--encoding>UTF-8</encoding--> <!-- The -encoding argument for the Java compiler. -->
<!--fork>${fork.javac}</fork-->
<maxmem>${javac.maxHeapSize}</maxmem>
<compilerArgs>
<arg>-XX:MaxPermSize=256m</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- ======================================================= -->
<!-- Tests -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<forkMode>once</forkMode>
<argLine>-Xmx${test.maxHeapSize} -XX:MaxPermSize=${test.maxPermSize} -enableassertions -Dtest.extensive=${extensive.tests} -Dtest.interactive=${interactive.tests}</argLine>
</configuration>
</plugin>
<!--Test Jar plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- artifact assembly -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1</version>
<configuration>
<descriptors>
<descriptor>release/src.xml</descriptor>
<descriptor>release/javadoc.xml</descriptor>
</descriptors>
<finalName>jai-ext-1.0-SNAPSHOT</finalName>
<outputDirectory>${project.build.directory}/release</outputDirectory>
</configuration>
</plugin>
</plugins>
<!-- ======================================================== -->
<!-- Extensions settings for Deployment -->
<!-- ======================================================== -->
<extensions>
<!--.............................................-->
<!-- geo-solutions (using wagon ftp) -->
<!--.............................................-->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-2</version>
</extension>
<!--....................................-->
<!-- (using wagon webdav) -->
<!--....................................-->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
<!-- ========================================================== -->
<!-- Modules for the build in approximate dependency order -->
<!-- ========================================================== -->
<modules>
<module>jt-squareroot</module>
<module>jt-concurrent-tile-cache</module>
<module>jt-scale</module>
<module>jt-affine</module>
<module>jt-utilities</module>
<module>jt-warp</module>
<module>jt-iterators</module>
<module>jt-mosaic</module>
<module>jt-translate</module>
<module>jt-lookup</module>
<module>jt-stats</module>
<module>jt-zonal</module>
<module>jt-crop</module>
<module>jt-rescale</module>
<module>jt-nullop</module>
<module>jt-bandmerge</module>
<module>jt-bandselect</module>
<module>jt-border</module>
<module>jt-algebra</module>
<module>jt-buffer</module>
<module>jt-scheduler</module>
<module>jt-binarize</module>
<module>jt-bandcombine</module>
<module>jt-convolve</module>
<module>jt-classifier</module>
<module>jt-piecewise</module>
<module>jt-artifact</module>
<module>jt-format</module>
<module>jt-colorconvert</module>
<module>jt-errordiffusion</module>
<module>jt-orderdither</module>
<module>jt-colorindexer</module>
<module>jt-imagefunction</module>
<module>jt-rlookup</module>
<module>jt-vectorbin</module>
</modules>
</project>