-
Notifications
You must be signed in to change notification settings - Fork 227
/
pom.xml
270 lines (256 loc) · 7.7 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
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>31.1.0</version>
<relativePath />
</parent>
<groupId>net.imagej</groupId>
<artifactId>ij</artifactId>
<version>1.x-SNAPSHOT</version>
<name>ImageJ</name>
<description>ImageJ is an open source Java image processing program inspired by NIH Image for the Macintosh.</description>
<url>https://imagej.net/ij</url>
<inceptionYear>1997</inceptionYear>
<organization>
<name>NIH</name>
<url>https://nih.gov/</url>
</organization>
<licenses>
<license>
<name>Public domain</name>
<url>https://imagej.net/ij/disclaimer.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>rasband</id>
<name>Wayne Rasband</name>
<url>https://imagej.net/people/rasband</url>
<roles>
<role>founder</role>
<role>lead</role>
<role>developer</role>
<role>debugger</role>
<role>reviewer</role>
<role>support</role>
<role>maintainer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor><name>See release notes</name></contributor>
</contributors>
<mailingLists>
<mailingList>
<name>ImageJ</name>
<subscribe>https://imagej.net/ij/list.html</subscribe>
<unsubscribe>https://imagej.net/ij/list.html</unsubscribe>
<post>[email protected]</post>
<archive>https://list.nih.gov/archives/imagej.html</archive>
</mailingList>
<mailingList>
<name>Image.sc Forum</name>
<archive>https://forum.image.sc/tag/imagej</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://github.com/imagej/ImageJ</connection>
<developerConnection>scm:git:[email protected]:imagej/ImageJ</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/imagej/ImageJ</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/imagej/ImageJ/issues</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/imagej/ImageJ/actions</url>
</ciManagement>
<properties>
<package-name>ij</package-name>
<main-class>ij.ImageJ</main-class>
<license.licenseName>N/A</license.licenseName>
<license.copyrightOwners>N/A</license.copyrightOwners>
<scijava.jvm.version>6</scijava.jvm.version>
<scijava.jvm.build.version>[9,)</scijava.jvm.build.version>
<javac.path>${java.home}/../lib/tools.jar</javac.path>
<!-- HACK: Work around usage of Java-7-specific JList code. -->
<maven.compiler.source>9</maven.compiler.source>
<maven.compiler.target>6</maven.compiler.target>
<maven.compiler.release></maven.compiler.release>
<!-- HACK: Work around 'String index out of bounds' javadoc error. -->
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<!-- TEMP: Until unit tests errors are all resolved. -->
<maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}</sourceDirectory>
<testSourceDirectory>${project.basedir}/tests</testSourceDirectory>
<resources>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>IJ_Props.txt</include>
</includes>
</resource>
<resource>
<directory>${project.basedir}/images</directory>
</resource>
<resource>
<directory>${project.basedir}/macros</directory>
<targetPath>macros</targetPath>
</resource>
<resource>
<directory>${project.basedir}/plugins</directory>
<targetPath>ij/plugin</targetPath>
<includes>
<include>**/*.class</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<!-- compile everything to ensure module-info contains right entries -->
<!-- required when JAVA_HOME is JDK 8 or below -->
<jdkToolchain>
<version>9</version>
</jdkToolchain>
<excludes>
<exclude>tests/**</exclude>
</excludes>
<release>9</release>
</configuration>
</execution>
<execution>
<id>complete-recompile</id>
<goals>
<goal>compile</goal>
</goals>
<!-- recompile everything for target VM except the module-info.java -->
<configuration>
<excludes>
<exclude>**/module-info.java</exclude>
<exclude>tests/**</exclude>
</excludes>
<!--
Force recompilation.
See https://issues.apache.org/jira/browse/MCOMPILER-209
-->
<useIncrementalCompilation>true</useIncrementalCompilation>
</configuration>
</execution>
</executions>
<!-- defaults for compile and testCompile -->
<configuration>
<!-- jdkToolchain required when JAVA_HOME is JDK 9 or above -->
<jdkToolchain>
<version>[1.6,8)</version>
</jdkToolchain>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Avoid failing due to javadoc errors -->
<doclint>none</doclint>
<!--
Required to build javadoc with a module-info.java present.
See also https://bugs.openjdk.java.net/browse/JDK-8212233
-->
<source>9</source>
<links>
<link>https://imagej.net/ij/developer/api/</link>
</links>
<sourceFileIncludes>ij/**/*.java</sourceFileIncludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<includes>ij/**</includes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>javac</id>
<activation>
<file>
<!-- NB: Custom properties do not work here, so we hardcode. -->
<exists>${java.home}/../lib/tools.jar</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.4.2</version>
<scope>system</scope>
<systemPath>${javac.path}</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<!--
TEMP: This profile can be removed once pom-scijava 32.0.0 is released.
It forces deployment to s01.oss.sonatype.org rather than oss.sonatype.org.
-->
<id>sonatype-oss-release</id>
<properties>
<sonatype-oss-repository>https://s01.oss.sonatype.org</sonatype-oss-repository>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<configuration>
<nexusUrl>${sonatype-oss-repository}/</nexusUrl>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>sonatype-nexus-releases</id>
<name>Sonatype Nexus Releases</name>
<url>${sonatype-oss-repository}/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>${sonatype-oss-repository}/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>