This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push: new be8261e СAY-2721 Platform builds of CayenneModeler don't work with Java 17 - update japp-maven-plugin to 3.3 be8261e is described below commit be8261e15ba8b15c48c2626f5bb82ce946662a34 Author: Nikita Timofeev <stari...@gmail.com> AuthorDate: Thu Nov 18 16:47:36 2021 +0300 СAY-2721 Platform builds of CayenneModeler don't work with Java 17 - update japp-maven-plugin to 3.3 --- modeler/cayenne-modeler-mac/pom.xml | 6 ++++-- modeler/cayenne-modeler-win/pom.xml | 6 ++++-- pom.xml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/modeler/cayenne-modeler-mac/pom.xml b/modeler/cayenne-modeler-mac/pom.xml index 4f84242..0b33b2a 100644 --- a/modeler/cayenne-modeler-mac/pom.xml +++ b/modeler/cayenne-modeler-mac/pom.xml @@ -103,8 +103,10 @@ <mainClass>org.apache.cayenne.modeler.osx.OSXMain</mainClass> <icon>src/japplication/resources/CayenneModeler.icns</icon> <os>mac</os> - <jvm>1.8+</jvm> - <jvmOptions>-Xmx500m -Dapple.laf.useScreenMenuBar=true</jvmOptions> + <jvm0>1.8</jvm0> + <jvm0Options>-Xmx500m -Dapple.laf.useScreenMenuBar=true</jvm0Options> + <jvm1>17</jvm1> + <jvm1Options>-Xmx500m -Dapple.laf.useScreenMenuBar=true --add-exports java.desktop/com.apple.eawt=ALL-UNNAMED</jvm1Options> </configuration> <executions> <execution> diff --git a/modeler/cayenne-modeler-win/pom.xml b/modeler/cayenne-modeler-win/pom.xml index 5a7b189..0793c0b 100644 --- a/modeler/cayenne-modeler-win/pom.xml +++ b/modeler/cayenne-modeler-win/pom.xml @@ -95,8 +95,10 @@ <mainClass>org.apache.cayenne.modeler.win.WinMain</mainClass> <icon>src/japplication/resources/CayenneModeler.ico</icon> <os>windows</os> - <jvm>1.5+</jvm> - <jvmOptions>-Xmx500m</jvmOptions> + <jvm0>1.8</jvm0> + <jvm0Options>-Xmx500m</jvm0Options> + <jvm1>17</jvm1> + <jvm1Options>-Xmx500m --add-exports java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED</jvm1Options> </configuration> <executions> <execution> diff --git a/pom.xml b/pom.xml index 4b9e865..2bbabbc 100644 --- a/pom.xml +++ b/pom.xml @@ -893,7 +893,7 @@ <plugin> <groupId>org.objectstyle.japp</groupId> <artifactId>japp-maven-plugin</artifactId> - <version>3.2</version> + <version>3.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>