Skip to content

Commit ec6b1fe

Browse files
committed
Use Java 17 to build release and docs.
1 parent 0e3e5b3 commit ec6b1fe

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
<profile>
197197
<id>xstream-release</id>
198198
<properties>
199-
<version.java.enforced>[16,17)</version.java.enforced>
199+
<version.java.enforced>[17,18)</version.java.enforced>
200200
</properties>
201201
<build>
202202
<plugins>
@@ -1139,8 +1139,8 @@
11391139
<version.xpp3>1.1.4c</version.xpp3>
11401140

11411141
<jar.module.name>${project.artifactId}</jar.module.name>
1142-
<javadoc.java.release>16</javadoc.java.release>
1143-
<javadoc.link.javase>https://docs.oracle.com/en/java/javase/16/docs/api/</javadoc.link.javase>
1142+
<javadoc.java.release>17</javadoc.java.release>
1143+
<javadoc.link.javase>https://docs.oracle.com/en/java/javase/${javadoc.java.release}/docs/api/</javadoc.link.javase>
11441144

11451145
<argLine>${surefire.argline}</argLine>
11461146
<javadoc.doclint>-missing</javadoc.doclint>

xstream-benchmark/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<!--
33
Copyright (C) 2006 Joe Walnes.
4-
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018, 2019, 2020 XStream committers.
4+
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018, 2019, 2020, 2022 XStream committers.
55
All rights reserved.
66
77
The software in this package is published under the terms of the BSD
@@ -23,9 +23,9 @@
2323

2424
<profiles>
2525
<profile>
26-
<id>jdk16</id>
26+
<id>jdk17</id>
2727
<activation>
28-
<jdk>16</jdk>
28+
<jdk>17</jdk>
2929
</activation>
3030
<build>
3131
<plugins>

xstream-distribution/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<!--
33
Copyright (C) 2006 Joe Walnes.
4-
Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012, 2013, 2015, 2016, 2018, 2020 XStream committers.
4+
Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012, 2013, 2015, 2016, 2018, 2020, 2022 XStream committers.
55
All rights reserved.
66
77
The software in this package is published under the terms of the BSD
@@ -48,9 +48,9 @@
4848

4949
<profiles>
5050
<profile>
51-
<id>jdk16</id>
51+
<id>jdk17</id>
5252
<activation>
53-
<jdk>16</jdk>
53+
<jdk>17</jdk>
5454
</activation>
5555
<build>
5656
<plugins>

xstream-hibernate/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
<profiles>
2626
<profile>
27-
<id>jdk16</id>
27+
<id>jdk17</id>
2828
<activation>
29-
<jdk>16</jdk>
29+
<jdk>17</jdk>
3030
</activation>
3131
<build>
3232
<plugins>

xstream/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@
253253

254254
<profiles>
255255
<profile>
256-
<id>jdk16</id>
256+
<id>jdk17</id>
257257
<activation>
258-
<jdk>16</jdk>
258+
<jdk>17</jdk>
259259
</activation>
260260
<build>
261261
<plugins>

0 commit comments

Comments
 (0)