Skip to content

Commit

Permalink
Use Java 17 to build release and docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed Dec 30, 2022
1 parent 0e3e5b3 commit ec6b1fe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
<profile>
<id>xstream-release</id>
<properties>
<version.java.enforced>[16,17)</version.java.enforced>
<version.java.enforced>[17,18)</version.java.enforced>
</properties>
<build>
<plugins>
Expand Down Expand Up @@ -1139,8 +1139,8 @@
<version.xpp3>1.1.4c</version.xpp3>

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

<argLine>${surefire.argline}</argLine>
<javadoc.doclint>-missing</javadoc.doclint>
Expand Down
6 changes: 3 additions & 3 deletions xstream-benchmark/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018, 2019, 2020 XStream committers.
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018, 2019, 2020, 2022 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand All @@ -23,9 +23,9 @@

<profiles>
<profile>
<id>jdk16</id>
<id>jdk17</id>
<activation>
<jdk>16</jdk>
<jdk>17</jdk>
</activation>
<build>
<plugins>
Expand Down
6 changes: 3 additions & 3 deletions xstream-distribution/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012, 2013, 2015, 2016, 2018, 2020 XStream committers.
Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012, 2013, 2015, 2016, 2018, 2020, 2022 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -48,9 +48,9 @@

<profiles>
<profile>
<id>jdk16</id>
<id>jdk17</id>
<activation>
<jdk>16</jdk>
<jdk>17</jdk>
</activation>
<build>
<plugins>
Expand Down
4 changes: 2 additions & 2 deletions xstream-hibernate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<profiles>
<profile>
<id>jdk16</id>
<id>jdk17</id>
<activation>
<jdk>16</jdk>
<jdk>17</jdk>
</activation>
<build>
<plugins>
Expand Down
4 changes: 2 additions & 2 deletions xstream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@

<profiles>
<profile>
<id>jdk16</id>
<id>jdk17</id>
<activation>
<jdk>16</jdk>
<jdk>17</jdk>
</activation>
<build>
<plugins>
Expand Down

0 comments on commit ec6b1fe

Please sign in to comment.