Skip to content

Commit f3e3646

Browse files
maigovannongae-java-bot
authored andcommitted
Creating a jdk17 profile similar to what we have for Java21 and Java25.
PiperOrigin-RevId: 898233964 Change-Id: I0935e70cb4360c1f2239710f5aac049ae3fdc3d2
1 parent 2fb353f commit f3e3646

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,25 @@
210210
</repository>
211211
</repositories>
212212
</profile>
213+
<profile>
214+
<id>jdk17</id>
215+
<properties>
216+
<maven.compiler.release>17</maven.compiler.release>
217+
<maven.compiler.source>17</maven.compiler.source>
218+
<maven.compiler.target>17</maven.compiler.target>
219+
</properties>
220+
<build>
221+
<plugins>
222+
<plugin>
223+
<groupId>org.apache.maven.plugins</groupId>
224+
<artifactId>maven-compiler-plugin</artifactId>
225+
<configuration>
226+
<executable>${env.JAVA_HOME_17}/bin/javac</executable>
227+
</configuration>
228+
</plugin>
229+
</plugins>
230+
</build>
231+
</profile>
213232
<profile>
214233
<id>jdk21</id>
215234
<properties>

0 commit comments

Comments
 (0)