Skip to content

Commit 79d442e

Browse files
authored
Bump Java Version to 11
Reason: We can't compile at Java 8 due to XML-Bind API needing Java 11 ``` ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project nextcloud-api: Compilation failure [ERROR] /home/klenk/Dev/idm/libraries/nextcloud-java-api/src/main/java/org/aarboard/nextcloud/api/config/AppConfigAppsAnswer.java:[19,35] cannot access jakarta.xml.bind.annotation.XmlAccessType [ERROR] bad class file: /home/klenk/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/4.0.1/jakarta.xml.bind-api-4.0.1.jar(jakarta/xml/bind/annotation/XmlAccessType.class) [ERROR] class file has wrong version 55.0, should be 52.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath. ```
1 parent 215570a commit 79d442e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
4343
<cyclonedx-maven-plugin.version>2.7.9</cyclonedx-maven-plugin.version>
4444

45-
<maven.compiler.source>1.8</maven.compiler.source>
46-
<maven.compiler.target>1.8</maven.compiler.target>
45+
<maven.compiler.source>11</maven.compiler.source>
46+
<maven.compiler.target>11</maven.compiler.target>
4747
<netbeans.hint.license>gpl30</netbeans.hint.license>
4848
</properties>
4949
<name>NextCloud Java API library</name>

0 commit comments

Comments
 (0)