Skip to content

Commit 7852ef7

Browse files
committed
WIP: Add module-info back in versioned tree?
1 parent be2d4c4 commit 7852ef7

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

scijava-ops-indexer/pom.xml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383

8484
<license.licenseName>bsd_2</license.licenseName>
8585
<license.copyrightOwners>SciJava developers.</license.copyrightOwners>
86-
<scijava.jvm.build.version>[11,)</scijava.jvm.build.version>
8786

8887
<!--
8988
NB: Older versions of OpenJDK 11 have a bug in the javadoc tool,
@@ -98,7 +97,7 @@
9897
Therefore, we set the minimum build JDK version to 11.0.17 here.
9998
-->
10099
<scijava.jvm.build.version>[11.0.17,)</scijava.jvm.build.version>
101-
<scijava.jvm.version>8</scijava.jvm.version>
100+
<scijava.jvm.version>11</scijava.jvm.version>
102101

103102
<!-- TEMP: Until pom-scijava 38.0.0 is released. -->
104103
<scijava-maven-plugin.version>3.0.0</scijava-maven-plugin.version>
@@ -126,6 +125,22 @@
126125
-->
127126
<proc>none</proc>
128127
</configuration>
128+
<executions>
129+
<execution>
130+
<id>compile-java-9+</id>
131+
<phase>compile</phase>
132+
<goals>
133+
<goal>compile</goal>
134+
</goals>
135+
<configuration>
136+
<source>${scijava.jvm.version}</source>
137+
<compileSourceRoots>
138+
<compileSourceRoot>${project.basedir}/src/main/resources/META-INF/versions/9</compileSourceRoot>
139+
</compileSourceRoots>
140+
<outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
141+
</configuration>
142+
</execution>
143+
</executions>
129144
</plugin>
130145
<plugin>
131146
<artifactId>maven-enforcer-plugin</artifactId>
@@ -145,6 +160,16 @@
145160
</execution>
146161
</executions>
147162
</plugin>
163+
<plugin>
164+
<artifactId>maven-jar-plugin</artifactId>
165+
<configuration>
166+
<archive>
167+
<manifestEntries>
168+
<Multi-Release>true</Multi-Release>
169+
</manifestEntries>
170+
</archive>
171+
</configuration>
172+
</plugin>
148173
<plugin>
149174
<artifactId>maven-javadoc-plugin</artifactId>
150175
<configuration>
342 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)