-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpom.xml
More file actions
344 lines (324 loc) · 9.89 KB
/
pom.xml
File metadata and controls
344 lines (324 loc) · 9.89 KB
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
<?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>43.0.0</version>
<relativePath />
</parent>
<artifactId>scijava-ops-benchmarks</artifactId>
<version>0-SNAPSHOT</version>
<name>SciJava Ops Benchmarks</name>
<description>Benchmarks for the SciJava Ops framework.</description>
<url>https://github.com/scijava/scijava-ops-benchmarks</url>
<inceptionYear>2023</inceptionYear>
<organization>
<name>SciJava</name>
<url>https://scijava.org/</url>
</organization>
<licenses>
<license>
<name>Simplified BSD License</name>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>ctrueden</id>
<name>Curtis Rueden</name>
<roles>
<role>founder</role>
<role>lead</role>
<role>reviewer</role>
<role>support</role>
<role>maintainer</role>
</roles>
</developer>
<developer>
<id>gselzer</id>
<name>Gabriel Selzer</name>
<roles>
<role>founder</role>
<role>debugger</role>
<role>reviewer</role>
<role>support</role>
</roles>
</developer>
<developer>
<id>hinerm</id>
<name>Mark Hiner</name>
<roles>
<role>debugger</role>
<role>reviewer</role>
<role>support</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>None</name>
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>Image.sc Forum</name>
<archive>https://forum.image.sc/tag/scijava</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://github.com/scijava/scijava</connection>
<tag>HEAD</tag>
<url>https://github.com/scijava/scijava</url>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/scijava/scijava/issues</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/scijava/scijava/actions</url>
</ciManagement>
<properties>
<package-name>org.scijava.ops.benchmarks.jmh</package-name>
<license.licenseName>bsd_2</license.licenseName>
<license.copyrightOwners>SciJava developers.</license.copyrightOwners>
<!-- NB: Do not install/deploy this non-library component. -->
<maven.deploy.skip>true</maven.deploy.skip>
<maven.install.skip>true</maven.install.skip>
<!--
NB: Older versions of OpenJDK 11 have a bug in the javadoc tool,
which causes errors like:
[ERROR] javadoc: error - The code being documented uses packages
in the unnamed module, but the packages defined in
https://github.com/scijava/scijava/apidocs/ are in named modules.
The most recent version of OpenJDK 11 known to have this problem
is 11.0.8; the oldest version known to have fixed it is 11.0.17.
Therefore, we set the minimum build JDK version to 11.0.17 here.
-->
<scijava.jvm.build.version>[11.0.17,)</scijava.jvm.build.version>
<scijava.jvm.version>11</scijava.jvm.version>
<scijava.ops.parse>true</scijava.ops.parse>
<!-- Note: These versions must match across all component POMs! -->
<scijava-ops-indexer.version>1.0.1-SNAPSHOT</scijava-ops-indexer.version>
</properties>
<repositories>
<repository>
<id>scijava.public</id>
<url>https://maven.scijava.org/content/groups/public</url>
</repository>
</repositories>
<dependencies>
<!-- SciJava dependencies -->
<dependency>
<groupId>org.scijava</groupId>
<artifactId>scijava-common</artifactId>
</dependency>
<dependency>
<groupId>org.scijava</groupId>
<artifactId>scijava-ops-api</artifactId>
<version>${scijava-ops-api.version}</version>
</dependency>
<dependency>
<groupId>org.scijava</groupId>
<artifactId>scijava-ops-engine</artifactId>
<version>${scijava-ops-engine.version}</version>
<scope>runtime</scope>
</dependency>
<!--
NB: scijava-ops-image is not used by the benchmarking code,
but is included here to make the size of the OpEnvironment
comparable to that of ImageJ Ops, in case the number of Ops
in the environment affects matching performance.
-->
<dependency>
<groupId>org.scijava</groupId>
<artifactId>scijava-ops-image</artifactId>
<version>${scijava-ops-image.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Legacy ImageJ2 dependencies -->
<dependency>
<groupId>net.imagej</groupId>
<artifactId>imagej-ops</artifactId>
</dependency>
<!-- JMH dependencies -->
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
<!-- NB: Override inherited test scope. -->
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>provided</scope>
</dependency>
<!-- Test scope dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.scijava</groupId>
<artifactId>scijava-ops-indexer</artifactId>
<version>${scijava-ops-indexer.version}</version>
</path>
<path>
<groupId>org.scijava</groupId>
<artifactId>scijava-common</artifactId>
<version>${scijava-common.version}</version>
</path>
<path>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</path>
</annotationProcessorPaths>
<fork>true</fork>
<compilerArgs>
<arg>-Ascijava.ops.parse="${scijava.ops.parse}"</arg>
<arg>-Ascijava.ops.opVersion="${project.version}"</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>https://javadoc.scijava.org/Java11/</link>
<link>https://javadoc.scijava.org/ImageJ2/</link>
<link>https://javadoc.scijava.org/ImgLib2/</link>
<link>https://javadoc.scijava.org/SciJava/</link>
</links>
<tagletArtifacts>
<tagletArtifact>
<groupId>org.scijava</groupId>
<artifactId>scijava-taglets</artifactId>
<version>${scijava-taglets.version}</version>
</tagletArtifact>
</tagletArtifacts>
<tags>
<tag>
<name>implNote</name>
<placement>a</placement>
<head>Implementation Note:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-package-rules</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>test</phase>
<configuration>
<rules>
<NoPackageCyclesRule
implementation="org.scijava.maven.plugin.enforcer.NoPackageCyclesRule" />
<NoSubpackageDependenceRule
implementation="org.scijava.maven.plugin.enforcer.NoSubpackageDependenceRule" />
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>union-op-yaml</id>
<phase>process-test-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<concat destfile="${project.basedir}/target/test-classes/ops.yaml" append="true">
<fileset file="${project.basedir}/target/classes/ops.yaml" />
</concat>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>only-eclipse-scijava</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<!--
Configure the Eclipse m2e plugin to support needed plugins.
-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<!--
NB: Eclipse cannot handle an overridden version property here!
The version needs to stay hardcoded at 1.0.0.
-->
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions combine.children="append">
<!--
NB: Make Eclipse union the metadata indices on every build; see:
https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html
-->
<pluginExecution>
<pluginExecutionFilter>
<artifactId>maven-antrun-plugin</artifactId>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnConfiguration>true</runOnConfiguration>
<!--
NB: You might think we could run the annotations
union script once only, at configuration time.
Unfortunately, when configuration happens in Eclipse,
the plugin annotations have not yet been generated.
So let's redo the union on every incremental build.
That'll show 'em!
-->
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<!-- HACK: Squelch profile activation warning. -->
<profile><id>benchmarks</id></profile>
</profiles>
</project>