forked from opengeospatial/geoapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
669 lines (598 loc) · 24.3 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
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================
Maven 2 project configuration file
http://maven.apache.org/maven2/
==================================================== -->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0.2</maven>
</prerequisites>
<!-- ====================================================
Project description (including license)
==================================================== -->
<groupId>org.opengis</groupId>
<artifactId>geoapi-parent</artifactId>
<packaging>pom</packaging>
<version>4.0-SNAPSHOT</version>
<name>GeoAPI</name>
<url>http://www.geoapi.org/</url>
<description>
The development community in building GIS solutions is sustaining an enormous
level of effort. The GeoAPI project aims to reduce duplication and increase
interoperability by providing neutral, interface-only APIs derived from OGC/ISO
Standards.
</description>
<organization>
<name>Open Geospatial Consortium</name>
<url>http://www.opengeospatial.org/</url>
</organization>
<inceptionYear>1994</inceptionYear>
<licenses>
<license>
<name>OGC copyright</name>
<url>https://raw.githubusercontent.com/opengeospatial/geoapi/master/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- ====================================================
Profiles and properties
If the Proj.4 native library is installed on the
local machine, then GeoAPI can be built as below:
mvn install -DskipNativeLibraryTests=false
==================================================== -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<website.encoding>UTF-8</website.encoding>
<skipNativeLibraryTests>true</skipNativeLibraryTests>
</properties>
<!--
The default configuration is used for snapshot deployments, in order to test GeoAPI
experimental features in an open source implementation. The "sign-artifacts" profile
shall be activated for all final releases by OGC staff.
-->
<profiles>
<profile>
<id>sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Open Source Geospatial Foundation</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<!-- ====================================================
Issue managements and mailing lists
==================================================== -->
<scm>
<connection>scm:git:https://github.com/opengeospatial/geoapi</connection>
<url>https://github.com/opengeospatial/geoapi</url>
</scm>
<ciManagement>
<system>jenkins</system>
<url>http://jenkins.geotoolkit.org/job/GeoAPI/</url>
</ciManagement>
<issueManagement>
<system>JIRA</system>
<url>https://osgeo-org.atlassian.net/projects/GEO/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>GeoAPI development (public)</name>
<subscribe>http://lists.sourceforge.net/lists/listinfo/geoapi-devel</subscribe>
<unsubscribe>http://lists.sourceforge.net/lists/listinfo/geoapi-devel</unsubscribe>
<post>[email protected]</post>
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=geoapi-devel</archive>
</mailingList>
<mailingList>
<name>GeoAPI Standard Working Group (OGC)</name>
<subscribe>https://lists.opengeospatial.org/mailman/listinfo/geoapi-3.0.swg</subscribe>
<unsubscribe>https://lists.opengeospatial.org/mailman/listinfo/geoapi-3.0.swg</unsubscribe>
<post>[email protected]</post>
<archive>https://lists.opengeospatial.org/mailman/private/geoapi-3.0.swg</archive>
</mailingList>
</mailingLists>
<!-- ====================================================
Developers and contributors
==================================================== -->
<developers>
<developer>
<name>GeoAPI contributors</name>
<organizationUrl>http://www.geoapi.org/</organizationUrl>
<roles>
<role>Java developers</role>
</roles>
</developer>
<developer>
<name>GeoAPI 3.0 Standard Working Group</name>
<organization>Open Geospatial Consortium</organization>
<organizationUrl>http://www.opengeospatial.org/</organizationUrl>
<roles>
<role>Specification editors</role>
</roles>
</developer>
</developers>
<!-- ====================================================
Repository for the legacy JSR-275 dependency
and vecmath (demo modules only).
==================================================== -->
<repositories>
<repository>
<id>geotoolkit</id>
<name>Geotoolkit repository</name>
<url>http://maven.geotoolkit.org/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<!-- ====================================================
External dependencies
==================================================== -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.unitsofmeasurement</groupId>
<artifactId>unit-api</artifactId>
<version>0.6.1</version>
</dependency>
<dependency>
<groupId>javax.measure</groupId>
<artifactId>jsr-275</artifactId>
<version>0.9.3</version>
</dependency>
<dependency>
<!-- The JUnit version number appears also in the Javadoc plugin configuration,
in shell scripts, in Java code generating reports, and in NetBeans project
configuration. If JUnit is updated, please search for the version number in
the whole project. Search also for version number of the Hamcrest dependency. -->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- The vecmath dependency is used only by demo modules. The latest version available on
Maven Central is 1.3.1, but more recent versions are available on other repositories. -->
<groupId>java3d</groupId>
<artifactId>vecmath</artifactId>
<version>1.5.2</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- dependency>
<groupId>org.unitsofmeasurement</groupId>
<artifactId>unit-api</artifactId>
</dependency -->
<dependency>
<groupId>javax.measure</groupId>
<artifactId>jsr-275</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- ====================================================
Build management
==================================================== -->
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
</plugin>
</plugins>
</pluginManagement>
<!-- ====================================================
Compilation
==================================================== -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<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>false</debug> <!-- Whether to include debugging information. -->
<optimize>true</optimize> <!-- Use the compiler's optimization methods. -->
<encoding>${project.build.sourceEncoding}</encoding>
<useIncrementalCompilation>false</useIncrementalCompilation> <!-- https://issues.apache.org/jira/browse/MCOMPILER-209 -->
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- ====================================================
JAR packaging (standard tools and OSGi)
==================================================== -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Specification-Title>GeoAPI</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Vendor>The GeoAPI project</Implementation-Vendor>
<Implementation-URL>http://www.geoapi.org</Implementation-URL>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
<Bundle-DocURL>http://www.geoapi.org</Bundle-DocURL>
<Specification-Title>GeoAPI</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Vendor>The GeoAPI project</Implementation-Vendor>
<Implementation-URL>http://www.geoapi.org</Implementation-URL>
</instructions>
</configuration>
</plugin>
<!-- =======================================================
Remove previous snapshots from local repository
======================================================= -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>remove-old-artifacts</id>
<goals>
<goal>remove-project-artifact</goal>
</goals>
<configuration>
<removeAll>false</removeAll> <!-- Remove only snapshots of this project version. -->
</configuration>
</execution>
</executions>
</plugin>
<!-- ====================================================
Web site generation
==================================================== -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en</locales>
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
<outputEncoding>${website.encoding}</outputEncoding>
</configuration>
</plugin>
</plugins>
<!-- Following is for users who need to deploy using the ssh rather then the file protocol. -->
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
</build>
<!-- ==============================================================
Reports configuration.
============================================================== -->
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>summary</report>
<report>modules</report>
<report>license</report>
<report>scm</report>
<report>cim</report>
<report>project-team</report>
<report>mailing-list</report>
<report>issue-tracking</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-management</report>
<report>plugin-management</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- ====================================================
Javadoc generation
==================================================== -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${website.encoding}</docencoding>
<charset>${website.encoding}</charset>
<author>false</author> <!-- Specifies whether or not the author text is included. -->
<version>false</version> <!-- Includes or not the version text in the generated docs. -->
<source>1.5</source> <!-- Necessary to enable javadoc to handle J2SE 1.5 features. -->
<noqualifier>all</noqualifier> <!-- Omits qualifying package name from ahead of class names in output. -->
<quiet>true</quiet> <!-- Shuts off non-error and non-warning messages. -->
<maxmemory>384M</maxmemory> <!-- The maximum Java heap size to be used when launching the javadoc. -->
<locale>en</locale> <!-- The locale that javadoc uses when generating documentation. -->
<keywords>true</keywords> <!-- Adds HTML meta keyword tags to the generated file for each class. -->
<breakiterator>true</breakiterator>
<stylesheetfile>geoapi/src/main/javadoc/stylesheet.css</stylesheetfile>
<!-- Do not add the "API" word in document title, because it is already included in the "GeoAPI name. -->
<doctitle>${project.name} ${project.version}</doctitle>
<windowtitle>${project.name} ${project.version}</windowtitle>
<!-- Doclet for special processing of CSS files. -->
<doclet>org.opengis.tools.doclet.Doclet</doclet>
<docletArtifact>
<groupId>org.opengis</groupId>
<artifactId>tools</artifactId>
<version>${project.version}</version>
</docletArtifact>
<!-- Custom taglets implemented in Java. -->
<taglets>
<taglet><tagletClass>org.opengis.tools.taglet.Departure</tagletClass></taglet>
</taglets>
<tagletArtifact>
<groupId>org.opengis</groupId>
<artifactId>tools</artifactId>
<version>${project.version}</version>
</tagletArtifact>
<!-- Enables the Javadoc tool to interpret a simple, one-argument
custom block tag tagname in doc comments. Note: <placement/>
should be a combination of the "Xaoptcmf" letters. -->
<tags>
<tag><placement>X</placement> <name>category</name> <head>Category:</head></tag>
<tag><placement>tfmc</placement> <name>condition</name> <head>Condition:</head></tag>
<tag><placement>tfmc</placement> <name>todo</name> <head>TODO:</head></tag>
<tag><placement>X</placement> <name>issue</name> <head>JIRA:</head></tag>
<tag><placement>fm</placement> <name>unitof</name> <head>Unit:</head></tag>
</tags>
<!-- Creates links to existing javadoc-generated
documentation of external referenced classes. -->
<detectJavaApiLink>false</detectJavaApiLink>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link> <!-- For InternationalString link. -->
<link>http://download.java.net/media/java3d/javadoc/1.5.2/</link>
<link>http://junit.org/javadoc/latest/</link>
<link>http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/javadoc/</link> <!-- Used by example code. -->
<link>http://www.geoapi.org/snapshot/javadoc/</link> <!-- For modules that depend on GeoAPI. -->
</links>
<!-- Separates packages on the overview page into the groups specified.
Places the normative packages first, and the pending ones last. -->
<groups>
<group>
<title>Feature and coverage</title>
<packages>org.opengis.feature*:org.opengis.coverage*</packages>
</group>
<group>
<title>Geometry and Topology</title>
<packages>org.opengis.geometry*:org.opengis.topology*</packages>
</group>
<group>
<title>Spatial Referencing by Coordinates</title>
<packages>org.opengis.referencing*:org.opengis.temporal*:org.opengis.parameter*</packages>
</group>
<group>
<title>Metadata</title>
<packages>org.opengis.metadata*</packages>
</group>
<group>
<title>Base package</title>
<packages>org.opengis.util*:org.opengis.annotation*</packages>
</group>
<!-- Pending packages. -->
<group>
<title>Filter</title>
<packages>org.opengis.filter*</packages>
</group>
<group>
<title>Display and Styling</title>
<packages>org.opengis.display*:org.opengis.style*:org.opengis.layer*:org.opengis.sld*</packages>
</group>
<group>
<title>Observations and Measurements</title>
<packages>org.opengis.observation*</packages>
</group>
<group>
<title>Catalog Services</title>
<packages>org.opengis.catalog*</packages>
</group>
<!-- Other packages. -->
<group>
<title>Conformance tests</title>
<packages>org.opengis.test*</packages>
</group>
<group>
<title>Tests runner and reports</title>
<packages>org.opengis.test.runner*:org.opengis.test.report*</packages>
</group>
<group>
<title>Wrappers to existing libraries</title>
<packages>org.opengis.wrapper*:org.opengis.openoffice*</packages>
</group>
<group>
<title>Examples in public domain</title>
<packages>org.opengis.example*</packages>
</group>
</groups>
</configuration>
</plugin>
<!-- ====================================================
Reports configuration for the web site
==================================================== -->
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.17</version>
<reportSets> <!-- Workaround for https://issues.apache.org/jira/browse/SUREFIRE-257 -->
<reportSet>
<reports>
<report>report-only</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- ====================================================
TODO tags
==================================================== -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>TODO</displayName>
<tags>
<tag>
<matchString>@todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
</plugins>
</reporting>
<!-- ====================================================
Deployment to public servers
==================================================== -->
<distributionManagement>
<repository>
<id>geotoolkit</id> <!-- For snapshots only -->
<name>GeoToolkit repository</name>
<url>file:///var/www/maven.geotoolkit.org</url>
</repository>
<site>
<id>geoapi</id>
<name>GeoAPI web site</name>
<url>file:///var/www/www.geoapi.org</url>
</site>
</distributionManagement>
<!-- ====================================================
All GeoAPI modules included in the build
==================================================== -->
<modules>
<module>geoapi</module>
<module>geoapi-conformance</module>
<module>geoapi-pending</module>
<module>geoapi-examples</module>
<module>geoapi-proj4</module>
<module>geoapi-netcdf</module>
<module>geoapi-openoffice</module>
<module>tools</module>
</modules>
</project>