forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
624 lines (573 loc) · 22 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
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ome</groupId>
<artifactId>pom-bio-formats</artifactId>
<version>8.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Bio-Formats projects</name>
<description>Umbrella project for the Bio-Formats software project.</description>
<url>https://www.openmicroscopy.org/bio-formats</url>
<inceptionYear>2005</inceptionYear>
<modules>
<module>components/forks/turbojpeg</module>
<module>components/formats-api</module>
<module>components/formats-bsd</module>
<module>components/formats-gpl</module>
<module>components/bundles/bioformats_package</module>
<module>components/bio-formats-plugins</module>
<module>components/bio-formats-tools</module>
<module>components/test-suite</module>
</modules>
<properties>
<!-- If two artifacts on the classpath use two different versions of the
same dependency, behavior is inconsistent at best, and often broken.
The following properties facilitate consistency of dependency
versions between various projects in the SciJava software stack.
When possible, we advise using the relevant groupId and version
properties for your dependencies rather than hardcoding them. -->
<release.version>8.0.0-SNAPSHOT</release.version>
<date>${maven.build.timestamp}</date>
<year>2017</year>
<project.rootdir>${basedir}</project.rootdir>
<imagej1.version>1.54c</imagej1.version>
<jgoodies-forms.version>1.7.2</jgoodies-forms.version>
<logback.version>1.3.14</logback.version>
<ome-stubs.version>6.0.2</ome-stubs.version>
<mipav-stubs.version>${ome-stubs.version}</mipav-stubs.version>
<ome-metakit.version>5.3.7</ome-metakit.version>
<metakit.version>${ome-metakit.version}</metakit.version>
<slf4j.version>2.0.9</slf4j.version>
<kryo.version>5.4.0</kryo.version>
<testng.version>6.8</testng.version>
<ome-common.version>6.0.24</ome-common.version>
<ome-model.group>org.openmicroscopy</ome-model.group>
<ome-model.version>6.3.6</ome-model.version>
<ome-poi.version>5.3.9</ome-poi.version>
<ome-mdbtools.version>5.3.3</ome-mdbtools.version>
<ome-jai.version>0.1.4</ome-jai.version>
<ome-codecs.version>1.0.3</ome-codecs.version>
<jxrlib.version>0.2.4</jxrlib.version>
<xalan.version>2.7.3</xalan.version>
<sqlite.version>3.28.0</sqlite.version>
<!-- Maven plugin versions -->
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<!-- NB: Avoid platform encoding warning when copying resources. -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- NB: Specify formatting of the maven.build.timestamp property. -->
<maven.build.timestamp.format>d MMMMM yyyy</maven.build.timestamp.format>
<!-- NB: Override argLine property for extra maven-surefire-plugin args. -->
<argLine/>
</properties>
<build>
<!-- It is nice for "mvn" with no arguments to do something reasonable. -->
<defaultGoal>install</defaultGoal>
<sourceDirectory>${project.basedir}/src</sourceDirectory>
<testSourceDirectory>${project.basedir}/test</testSourceDirectory>
<resources>
<resource>
<directory>${project.basedir}/src</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/package.html</exclude>
<exclude>**/*.properties</exclude>
</excludes>
</resource>
<resource>
<targetPath>META-INF/lib</targetPath>
<directory>${project.basedir}/lib</directory>
</resource>
<resource>
<directory>${project.basedir}/src</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.cpp</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>utils/*.cpp</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>${project.basedir}/test</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/package.html</exclude>
</excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<!-- Create -sources.jar when building. -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<!-- Add Implementation-Build entry to JAR manifest. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
<!-- Enable 'license:' goals. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseName>gpl_v2</licenseName>
<organizationName>Open Microscopy Environment:
- Board of Regents of the University of Wisconsin-Madison
- Glencoe Software, Inc.
- University of Dundee</organizationName>
<!-- NB: Avoid stomping on variant copyright holders. -->
<canUpdateCopyright>false</canUpdateCopyright>
<roots>
<root>src</root>
<root>test</root>
<root>utils</root>
<root>doc</root>
</roots>
</configuration>
</plugin>
</plugins>
<!-- We use wagon-webdav-jackrabbit 1.0 for deploys, since it is
compatible with both Maven 2.2.x and Maven 3.0.x cross-platform. -->
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>1.0</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<!-- Enforce minimum maven version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.0.5,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.7,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<!-- Require the Java 8 platform. -->
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<!-- Always add classpath to JAR manifests. -->
<configuration>
<skipIfEmpty>true</skipIfEmpty>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<!-- Add SCM revision from buildnumber plugin, if available. -->
<Implementation-Build>${buildNumber}</Implementation-Build>
<!-- Add a formatted timestamp for the build. -->
<Implementation-Date>${maven.build.timestamp}</Implementation-Date>
</manifestEntries>
</archive>
<excludes>
<exclude>**/*.cpp</exclude>
<exclude>**/*.h</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<javadocDirectory>${project.basedir}/src</javadocDirectory>
<maxmemory>1024m</maxmemory>
<!-- Workaround for javadoc bug when classes in the default
package access classes from non-default packages. See:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101868 -->
<use>false</use>
<links>
<!-- Java 8 -->
<link>http://docs.oracle.com/javase/8/docs/api/</link>
<!-- ImageJ1 -->
<link>http://jenkins.imagej.net/job/ImageJ1-javadoc/javadoc/</link>
</links>
</configuration>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.5.2</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<!-- Build source artifact in addition to main artifact. -->
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<!-- Make sure that:
A) unit tests run with sufficient RAM allocated;
B) unit tests do not pop a Java dock icon on OS X;
C) additional args can be given via argLine property;
Sometimes, one needs to pass JVM options to the JVM
running the unit tests, such as -verbose:class or
-Djava.awt.headless=true.
Unfortunately, maven-surefire does not expose a
command-line interface to do so, therefore let's
simulate it by re-using the property 'argLine' to
specify those options. -->
<configuration>
<argLine>-Xms512m -Xmx512m -Dapple.awt.UIElement="true" ${argLine}</argLine>
</configuration>
</plugin>
<!-- Build Number Maven plugin -
http://mojo.codehaus.org/buildnumber-maven-plugin/
This plugin embeds a build number in the JAR manifest. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<!-- Record SCM revision in manifest. -->
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<revisionOnScmFailure>UNKNOWN</revisionOnScmFailure>
</configuration>
</plugin>
<!-- Exec Maven plugin -
http://mojo.codehaus.org/exec-maven-plugin/
This plugin launches a Java class using Maven. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
</plugin>
<!-- License Maven plugin -
http://mojo.codehaus.org/license-maven-plugin/
This plugin manages project licenses and source file headers. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.16</version>
<configuration>
<projectName>${project.description}</projectName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<canUpdateDescription>true</canUpdateDescription>
<canUpdateCopyright>true</canUpdateCopyright>
<extraExtensions>
<bsh>java</bsh>
<config>properties</config>
<ijm>java</ijm>
</extraExtensions>
</configuration>
</plugin>
<!-- Versions Maven plugin -
http://mojo.codehaus.org/versions-maven-plugin/
Check for new plugin versions using
"mvn versions:display-plugin-updates" -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<organization>
<name>Open Microscopy Environment</name>
<url>http://www.openmicroscopy.org/</url>
</organization>
<issueManagement>
<system>Trac</system>
<url>https://trac.openmicroscopy.org/ome</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://ci.openmicroscopy.org/</url>
</ciManagement>
<mailingLists>
<mailingList>
<name>OME-users</name>
<subscribe>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users/</subscribe>
<unsubscribe>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users/</unsubscribe>
<post>[email protected]</post>
<archive>http://lists.openmicroscopy.org.uk/pipermail/ome-users/</archive>
</mailingList>
<mailingList>
<name>OME-devel</name>
<subscribe>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel/</subscribe>
<unsubscribe>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel/</unsubscribe>
<post>[email protected]</post>
<archive>http://lists.openmicroscopy.org.uk/pipermail/ome-devel/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://github.com/openmicroscopy/bioformats</connection>
<developerConnection>scm:git:[email protected]:openmicroscopy/bioformats</developerConnection>
<tag>HEAD</tag>
<url>http://github.com/openmicroscopy/bioformats</url>
</scm>
<!-- NB: for parent project -->
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>ome</id>
<name>OME Artifactory</name>
<url>https://artifacts.openmicroscopy.org/artifactory/maven/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<snapshotRepository>
<id>ome.snapshots</id>
<name>OME Snapshots Repository</name>
<url>https://artifacts.openmicroscopy.org/artifactory/ome.snapshots</url>
</snapshotRepository>
<repository>
<id>ome.releases</id>
<name>OME Releases Repository</name>
<url>https://artifacts.openmicroscopy.org/artifactory/ome.releases</url>
</repository>
</distributionManagement>
<profiles>
<!-- Run integration tests when "-P run-its" is passed.
This works using the maven-invoker-plugin. -->
<profile>
<id>run-its</id>
<build>
<defaultGoal>integration-test</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<debug>${invoker.debug}</debug>
<showErrors>true</showErrors>
<streamLogs>true</streamLogs>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<settingsFile>src/it/settings.xml</settingsFile>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<preBuildHookScript>setup.bsh</preBuildHookScript>
<postBuildHookScript>verify.bsh</postBuildHookScript>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>only-eclipse</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<!-- Eclipse-specific configuration
With a recent version of m2e, Eclipse's Maven
binding, it is no longer enough to configure plugins;
they will be ignored by default. But we really want
the buildnumber and the jar plugin to do their
job. So now we have to add lifecycle mappings in
addition to configuring the plugins.
Let's hope that m2e remains the only IDE Maven
binding that requires such a lot of additional work
just to get the same result as plain Maven would
produce out of the box. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<versionRange>[2.0.6,)</versionRange>
<goals>
<goal>execute</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<versionRange>[1.4,)</versionRange>
<goals>
<goal>create</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>true</runOnIncremental>
<runOnConfiguration>true</runOnConfiguration>
</execute>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<versionRange>[3.0.2,)</versionRange>
<goals>
<goal>jar</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>true</runOnIncremental>
<runOnConfiguration>true</runOnConfiguration>
</execute>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.imagej</groupId>
<artifactId>imagej-maven-plugin</artifactId>
<versionRange>[0.6.0,)</versionRange>
<goals>
<goal>set-rootdir</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>