forked from geosolutions-it/imageio-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
623 lines (595 loc) · 23.4 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
621
622
623
<?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>
<m2.localrepo>${settings.localRepository}</m2.localrepo>
<extensive.tests>false</extensive.tests>
<interactive.tests>false</interactive.tests>
<test.maxHeapSize>512M</test.maxHeapSize>
<kakadu.version>5.2.6</kakadu.version>
<java.awt.headless>true</java.awt.headless>
<gdal.version>3.2.0</gdal.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<libdeflate.java.version>0.1.0-beta</libdeflate.java.version>
</properties>
<!-- ======================================================== -->
<!-- Project Description -->
<!-- ======================================================== -->
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext</artifactId>
<packaging>pom</packaging>
<version>1.4-SNAPSHOT</version>
<name>GeoSolutions Image I/O-Extensions Library Root Project</name>
<scm>
<connection>
scm:git:git://github.com/geosolutions-it/imageio-ext/
</connection>
<url>https://github.com/geosolutions-it/imageio-ext/tree/master/</url>
</scm>
<description>Container for tools and extensions to Image I/O project</description>
<organization>
<name>GeoSolutions</name>
<url>https://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.imageio-ext</includeGroupIds>
<includeArtifactIds>imageio-ext-gdalframework</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.8</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>
<excludePackageNames>
org.geotools.resources:org.geotools.maven:com
</excludePackageNames>
<!-- 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. -->
<groups>
<group>
<title>GDAL Framework</title>
<packages>
it.geosolutions.imageio.gdalframework
</packages>
</group>
<group>
<title>Plugins</title>
<packages>
it.geosolutions.imageio.plugins.*
</packages>
</group>
<group>
<title>Custom Streams</title>
<packages>it.geosolutions.imageio.stream*:it.geosolutions.io*</packages>
</group>
<group>
<title>Multithreaded ImageRead</title>
<packages>
it.geosolutions.imageio.imageioimpl.imagereadmt*
</packages>
</group>
</groups>
</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>Alessio Fabiani</name>
<id>AlFa</id>
<email>[email protected]</email>
<organization>GeoSolutions</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Simone Giannecchini</name>
<id>Simboss</id>
<email>[email protected]</email>
<organization>GeoSolutions</organization>
<roles>
<role>Java Developer</role>
<role>Project Architect</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>osgeo</id>
<name>OSGeo Nexus Maven Repository</name>
<url>https://repo.osgeo.org/repository/release/</url>
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</pluginRepository>
<pluginRepository>
<id>osgeo-snapshot</id>
<name>OSGeo Nexus Maven Repository</name>
<url>https://repo.osgeo.org/repository/snapshot/</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>false</enabled></releases>
</pluginRepository>
</pluginRepositories>
<!-- ======================================================== -->
<!-- Repositories -->
<!-- ======================================================== -->
<repositories>
<!-- Maven Central is assumed -->
<repository>
<id>geosolutions</id>
<name>GeoSolutions libraries repository</name>
<url>https://maven.geo-solutions.it/</url>
</repository>
<repository>
<id>jboss</id>
<name>jboss</name>
<url>https://repository.jboss.org/maven2/</url>
</repository>
<repository>
<id>osgeo</id>
<name>OSGeo Nexus Release Repository</name>
<url>https://repo.osgeo.org/repository/release/</url>
<!-- contains release (including third-party-dependences) -->
<!-- ucar (https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases) -->
<!-- geosolutions (http://maven.geo-solutions.it/) -->
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
<repository>
<id>osgeo-snapshot</id>
<name>OSGeo Nexus Snapshot Repository</name>
<url>https://repo.osgeo.org/repository/snapshot/</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>false</enabled></releases>
</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>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.gdal</groupId>
<artifactId>gdal</artifactId>
<version>${gdal.version}</version>
</dependency>
<!--dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-gdal-bindings</artifactId>
<version>${gdal.version}</version>
</dependency-->
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-kakadujni</artifactId>
<version>${kakadu.version}</version>
</dependency>
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-kakadu</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-test-data</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-streams</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-imagereadmt</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>it.geosolutions.imageio-ext</groupId>
<artifactId>imageio-ext-utilities</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>me.steinborn</groupId>
<artifactId>libdeflate-java-core</artifactId>
<version>${libdeflate.java.version}</version>
</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>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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- ======================================================= -->
<!-- Compilation. -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source> <!-- The -source argument for the Java compiler. -->
<target>1.8</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. -->
</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} -enableassertions -Dtest.extensive=${extensive.tests} -Dtest.interactive=${interactive.tests} -Djava.awt.headless=${java.awt.headless} -XX:+IgnoreUnrecognizedVMOptions --illegal-access=debug</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- artifact assembly -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>release/src.xml</descriptor>
<descriptor>release/javadoc.xml</descriptor>
</descriptors>
<finalName>imageio-ext-${project.version}</finalName>
<outputDirectory>${project.build.directory}/release</outputDirectory>
</configuration>
</plugin>
</plugins>
<!-- ======================================================== -->
<!-- Extensions settings for Deployment -->
<!-- ======================================================== -->
<extensions>
<!--....................................-->
<!-- java.net maven2 (using wagon svn) -->
<!--....................................-->
<!-- <extension> -->
<!-- <groupId>org.jvnet.wagon-svn</groupId> -->
<!-- <artifactId>wagon-svn</artifactId> -->
<!-- <version>RELEASE</version> -->
<!-- </extension> -->
<!--.............................................-->
<!-- 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>library</module>
<module>plugin</module>
</modules>
</project>