Skip to content

Commit

Permalink
[persistence.jpa] Pin to Java 17 (openhab#16612)
Browse files Browse the repository at this point in the history
This is a workaround to allow compiling with Java 21.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
  • Loading branch information
holgerfriedrich authored and lo92fr committed Apr 30, 2024
1 parent 332c226 commit 0c8ffa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bundles/org.openhab.persistence.jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<properties>
<bnd.importpackage>!com.ibm.*,!com.sun.*,!oracle.*,!javax.interceptor.*,!javax.enterprise.*,!javax.rmi,!org.apache.bval.*,!net.sf.cglib.*,!org.apache.commons.beanutils.*,!org.apache.geronimo.*,!org.apache.avalon.*,!org.apache.log,!org.apache.tools.*,!org.apache.xerces.*,!org.jboss.*,!org.postgresql.*,!org.slf4j.impl,!weblogic.*,org.apache.derby.*;resolution:=optional</bnd.importpackage>
<openjpa.version>3.2.2</openjpa.version>
<!-- workaround for Java 21 build, necessary until #16591 is merged -->
<maven.compiler.release>17</maven.compiler.release>
</properties>

<dependencies>
Expand Down

0 comments on commit 0c8ffa8

Please sign in to comment.