Skip to content

Commit a4e9902

Browse files
authored
Merge pull request #1225 from apache/WW-5531-jre8-compat
WW-5531 Enforce JRE8 compatibility (when compiled on JDK9+)
2 parents 87e322d + fe5b197 commit a4e9902

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,15 @@
183183
</pluginManagement>
184184
</build>
185185
</profile>
186+
<profile>
187+
<id>jdk9plus</id>
188+
<activation>
189+
<jdk>[9,)</jdk>
190+
</activation>
191+
<properties>
192+
<maven.compiler.release>8</maven.compiler.release>
193+
</properties>
194+
</profile>
186195
<profile>
187196
<id>jdk17</id>
188197
<activation>

0 commit comments

Comments
 (0)