File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
src/main/resources/META-INF/versions/11 Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 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,
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>
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 >
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 >
You can’t perform that action at this time.
0 commit comments