|
171 | 171 | <scijava.jvm.version>8</scijava.jvm.version>
|
172 | 172 | <scijava.jvm.test.version>${scijava.jvm.version}</scijava.jvm.test.version>
|
173 | 173 | <!--
|
174 |
| - Note: |
175 |
| - * 1.8.0_101 is needed for SciJava Maven repository HTTPS support. |
176 |
| - * 1.8.0_411 is needed for javac's -proc:full flag to exist; |
177 |
| - see https://inside.java/2024/06/18/quality-heads-up/ |
| 174 | + Note: 1.8.0_101 is needed for SciJava Maven repository HTTPS support. |
178 | 175 | -->
|
179 |
| - <scijava.jvm.build.version>[1.8.0-411,)</scijava.jvm.build.version> |
| 176 | + <scijava.jvm.build.version>[1.8.0-101,)</scijava.jvm.build.version> |
180 | 177 | <maven.compiler.source>${scijava.jvm.version}</maven.compiler.source>
|
181 | 178 | <maven.compiler.target>${scijava.jvm.version}</maven.compiler.target>
|
182 | 179 | <maven.compiler.testSource>${scijava.jvm.test.version}</maven.compiler.testSource>
|
|
187 | 184 | -->
|
188 | 185 | <maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
|
189 | 186 |
|
190 |
| - <!-- Enable annotation processing even with Java 23+. --> |
191 |
| - <maven.compiler.proc>full</maven.compiler.proc> |
192 |
| - |
193 | 187 | <!-- Extra maven-surefire-plugin args. -->
|
194 | 188 | <scijava.surefire.args />
|
195 | 189 |
|
|
2014 | 2008 | </build>
|
2015 | 2009 | </profile>
|
2016 | 2010 |
|
| 2011 | + <!-- |
| 2012 | + The java-23 profile includes adjustments for Java 23+; in particular, it |
| 2013 | + passes the -proc:full argument to javac to enable annotation processing. |
| 2014 | + See: https://inside.java/2024/06/18/quality-heads-up/ |
| 2015 | + --> |
| 2016 | + <profile> |
| 2017 | + <id>java-23</id> |
| 2018 | + <activation> |
| 2019 | + <jdk>[23,)</jdk> |
| 2020 | + </activation> |
| 2021 | + <properties> |
| 2022 | + <!-- Enable annotation processing even with Java 23+. --> |
| 2023 | + <maven.compiler.proc>full</maven.compiler.proc> |
| 2024 | + </properties> |
| 2025 | + </profile> |
| 2026 | + |
2017 | 2027 | <!--
|
2018 | 2028 | The following profiles set the scijava.platform system properties to
|
2019 | 2029 | match the detected architecture. The main intended use case is for
|
|
0 commit comments