From 04ddb98564e5b47cb66cd1f58b2e14074d00bfb2 Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Fri, 28 Mar 2025 15:50:13 +0100 Subject: [PATCH 1/6] Added JLink option --generate-cds-archive --- .../generate-cds-archive/invoker.properties | 17 +++++ .../cli-options/generate-cds-archive/pom.xml | 66 +++++++++++++++++++ .../src/main/configs/config.test | 21 ++++++ .../generate-cds-archive/verify.groovy | 45 +++++++++++++ .../apache/maven/plugins/jlink/JLinkMojo.java | 11 ++++ 5 files changed, 160 insertions(+) create mode 100644 src/it/projects/cli-options/generate-cds-archive/invoker.properties create mode 100644 src/it/projects/cli-options/generate-cds-archive/pom.xml create mode 100644 src/it/projects/cli-options/generate-cds-archive/src/main/configs/config.test create mode 100644 src/it/projects/cli-options/generate-cds-archive/verify.groovy diff --git a/src/it/projects/cli-options/generate-cds-archive/invoker.properties b/src/it/projects/cli-options/generate-cds-archive/invoker.properties new file mode 100644 index 0000000..9ef4967 --- /dev/null +++ b/src/it/projects/cli-options/generate-cds-archive/invoker.properties @@ -0,0 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +invoker.goals=clean package diff --git a/src/it/projects/cli-options/generate-cds-archive/pom.xml b/src/it/projects/cli-options/generate-cds-archive/pom.xml new file mode 100644 index 0000000..74fd40d --- /dev/null +++ b/src/it/projects/cli-options/generate-cds-archive/pom.xml @@ -0,0 +1,66 @@ + + + + + 4.0.0 + org.apache.maven.plugins + maven-jlink-plugin-cli-options-generate-cds-archive + 99.0 + jlink + Maven + http://maven.apache.org + Test JLink CLI Options --generate-cds-archive. + + 1.9 + 1.9 + UTF-8 + + + + localhost + first-jar-module-info + 99.0 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + 1.9 + 1.9 + + + + org.apache.maven.plugins + maven-jlink-plugin + @project.version@ + true + + true + + + + + diff --git a/src/it/projects/cli-options/generate-cds-archive/src/main/configs/config.test b/src/it/projects/cli-options/generate-cds-archive/src/main/configs/config.test new file mode 100644 index 0000000..32f52eb --- /dev/null +++ b/src/it/projects/cli-options/generate-cds-archive/src/main/configs/config.test @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +Test configuration file which should be located in config/config.test in +resulting jmod file. diff --git a/src/it/projects/cli-options/generate-cds-archive/verify.groovy b/src/it/projects/cli-options/generate-cds-archive/verify.groovy new file mode 100644 index 0000000..516b4cb --- /dev/null +++ b/src/it/projects/cli-options/generate-cds-archive/verify.groovy @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.*; +import java.util.*; +import java.util.jar.*; +import org.codehaus.plexus.util.*; + +boolean result = true; + +try { + File target = new File(basedir, "target"); + if (!target.exists() || !target.isDirectory()) { + System.err.println("target file is missing or not a directory."); + return false; + } + File artifact = new File(target, "maven-jlink-plugin-cli-options-generate-cds-archive-99.0.zip"); + if (!artifact.exists() || artifact.isDirectory()) { + System.err.println("maven-jlink-plugin-cli-options-generate-cds-archive-99.0.zip file is missing or is a directory."); + return false; + } + +} +catch (Throwable e) { + e.printStackTrace(); + result = false; +} + +return result; diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index 915d5b7..60cc93b 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -322,6 +322,13 @@ public class JLinkMojo extends AbstractJLinkMojo { @Parameter private List includeLocales; + /** + * This will generate a CDS archive if the runtime image supports it. + * The JLink command line equivalent is: --generate-cds-archive + */ + @Parameter(defaultValue = "false") + private boolean generateCdsArchive; + /** * This will turn on verbose mode. The jlink command line equivalent is: --verbose */ @@ -727,6 +734,10 @@ protected List createJlinkArgs(Collection pathsOfModules, Collec jlinkArgs.add(sb); } + if (generateCdsArchive) { + jlinkArgs.add("--generate-cds-archive"); + } + if (pluginModulePath != null) { jlinkArgs.add("--plugin-module-path"); StringBuilder sb = convertSeparatedModulePathToPlatformSeparatedModulePath(pluginModulePath); From 992967728e332eb769b978c4c1b25a824b4b070a Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Fri, 28 Mar 2025 16:18:58 +0100 Subject: [PATCH 2/6] Added JLink option --order-resources --- .../order-resources/invoker.properties | 17 +++++ .../cli-options/order-resources/pom.xml | 67 +++++++++++++++++++ .../src/main/configs/config.test | 21 ++++++ .../src/main/java/module-info.java | 21 ++++++ .../cli-options/order-resources/verify.groovy | 45 +++++++++++++ .../apache/maven/plugins/jlink/JLinkMojo.java | 12 ++++ 6 files changed, 183 insertions(+) create mode 100644 src/it/projects/cli-options/order-resources/invoker.properties create mode 100644 src/it/projects/cli-options/order-resources/pom.xml create mode 100644 src/it/projects/cli-options/order-resources/src/main/configs/config.test create mode 100644 src/it/projects/cli-options/order-resources/src/main/java/module-info.java create mode 100644 src/it/projects/cli-options/order-resources/verify.groovy diff --git a/src/it/projects/cli-options/order-resources/invoker.properties b/src/it/projects/cli-options/order-resources/invoker.properties new file mode 100644 index 0000000..9ef4967 --- /dev/null +++ b/src/it/projects/cli-options/order-resources/invoker.properties @@ -0,0 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +invoker.goals=clean package diff --git a/src/it/projects/cli-options/order-resources/pom.xml b/src/it/projects/cli-options/order-resources/pom.xml new file mode 100644 index 0000000..1527e0d --- /dev/null +++ b/src/it/projects/cli-options/order-resources/pom.xml @@ -0,0 +1,67 @@ + + + + 4.0.0 + org.apache.maven.plugins + maven-jlink-plugin-cli-options-order-resources + 99.0 + jlink + Maven + http://maven.apache.org + Test JLink CLI Options --order-resources. + + 1.9 + 1.9 + UTF-8 + + + + localhost + first-jar-module-info + 99.0 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + 1.9 + 1.9 + + + + org.apache.maven.plugins + maven-jlink-plugin + @project.version@ + true + + + module-info.class + + + + + + diff --git a/src/it/projects/cli-options/order-resources/src/main/configs/config.test b/src/it/projects/cli-options/order-resources/src/main/configs/config.test new file mode 100644 index 0000000..32f52eb --- /dev/null +++ b/src/it/projects/cli-options/order-resources/src/main/configs/config.test @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +Test configuration file which should be located in config/config.test in +resulting jmod file. diff --git a/src/it/projects/cli-options/order-resources/src/main/java/module-info.java b/src/it/projects/cli-options/order-resources/src/main/java/module-info.java new file mode 100644 index 0000000..204bb76 --- /dev/null +++ b/src/it/projects/cli-options/order-resources/src/main/java/module-info.java @@ -0,0 +1,21 @@ +/* +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. + */ +module test { + +} \ No newline at end of file diff --git a/src/it/projects/cli-options/order-resources/verify.groovy b/src/it/projects/cli-options/order-resources/verify.groovy new file mode 100644 index 0000000..5cf769f --- /dev/null +++ b/src/it/projects/cli-options/order-resources/verify.groovy @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.*; +import java.util.*; +import java.util.jar.*; +import org.codehaus.plexus.util.*; + +boolean result = true; + +try { + File target = new File(basedir, "target"); + if (!target.exists() || !target.isDirectory()) { + System.err.println("target file is missing or not a directory."); + return false; + } + File artifact = new File(target, "maven-jlink-plugin-cli-options-order-resources-99.0.zip"); + if (!artifact.exists() || artifact.isDirectory()) { + System.err.println("maven-jlink-plugin-cli-options-order-resources-99.0.zip file is missing or is a directory."); + return false; + } + +} +catch (Throwable e) { + e.printStackTrace(); + result = false; +} + +return result; diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index 60cc93b..001b9bf 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -329,6 +329,13 @@ public class JLinkMojo extends AbstractJLinkMojo { @Parameter(defaultValue = "false") private boolean generateCdsArchive; + /** + * This will order the specified paths in priority order. + * The JLink command line equivalent is: --order-resources <path>[,<path>...] + */ + @Parameter + private List orderResources; + /** * This will turn on verbose mode. The jlink command line equivalent is: --verbose */ @@ -738,6 +745,11 @@ protected List createJlinkArgs(Collection pathsOfModules, Collec jlinkArgs.add("--generate-cds-archive"); } + if (orderResources != null && !orderResources.isEmpty()) { + String sb = String.join(",", orderResources); + jlinkArgs.add("--order-resources=" + sb); + } + if (pluginModulePath != null) { jlinkArgs.add("--plugin-module-path"); StringBuilder sb = convertSeparatedModulePathToPlatformSeparatedModulePath(pluginModulePath); From 6c57782ebcd1994d52caa93159be024cfce9bb86 Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Fri, 28 Mar 2025 16:25:22 +0100 Subject: [PATCH 3/6] Added additional arguments to be passed to JLink --- .../additional-args/invoker.properties | 17 +++++ .../cli-options/additional-args/pom.xml | 69 +++++++++++++++++++ .../src/main/configs/config.test | 21 ++++++ .../cli-options/additional-args/verify.groovy | 45 ++++++++++++ .../apache/maven/plugins/jlink/JLinkMojo.java | 10 +++ 5 files changed, 162 insertions(+) create mode 100644 src/it/projects/cli-options/additional-args/invoker.properties create mode 100644 src/it/projects/cli-options/additional-args/pom.xml create mode 100644 src/it/projects/cli-options/additional-args/src/main/configs/config.test create mode 100644 src/it/projects/cli-options/additional-args/verify.groovy diff --git a/src/it/projects/cli-options/additional-args/invoker.properties b/src/it/projects/cli-options/additional-args/invoker.properties new file mode 100644 index 0000000..9ef4967 --- /dev/null +++ b/src/it/projects/cli-options/additional-args/invoker.properties @@ -0,0 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +invoker.goals=clean package diff --git a/src/it/projects/cli-options/additional-args/pom.xml b/src/it/projects/cli-options/additional-args/pom.xml new file mode 100644 index 0000000..4dd5e82 --- /dev/null +++ b/src/it/projects/cli-options/additional-args/pom.xml @@ -0,0 +1,69 @@ + + + + + 4.0.0 + org.apache.maven.plugins + maven-jlink-plugin-cli-options-additional-args + 99.0 + jlink + Maven + http://maven.apache.org + Test JLink CLI Options additional args. + + 1.9 + 1.9 + UTF-8 + + + + localhost + first-jar-module-info + 99.0 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + 1.9 + 1.9 + + + + org.apache.maven.plugins + maven-jlink-plugin + @project.version@ + true + + + + --strip-native-commands + + + + + + diff --git a/src/it/projects/cli-options/additional-args/src/main/configs/config.test b/src/it/projects/cli-options/additional-args/src/main/configs/config.test new file mode 100644 index 0000000..32f52eb --- /dev/null +++ b/src/it/projects/cli-options/additional-args/src/main/configs/config.test @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +Test configuration file which should be located in config/config.test in +resulting jmod file. diff --git a/src/it/projects/cli-options/additional-args/verify.groovy b/src/it/projects/cli-options/additional-args/verify.groovy new file mode 100644 index 0000000..a39c614 --- /dev/null +++ b/src/it/projects/cli-options/additional-args/verify.groovy @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.*; +import java.util.*; +import java.util.jar.*; +import org.codehaus.plexus.util.*; + +boolean result = true; + +try { + File target = new File(basedir, "target"); + if (!target.exists() || !target.isDirectory()) { + System.err.println("target file is missing or not a directory."); + return false; + } + File artifact = new File(target, "maven-jlink-plugin-cli-options-additional-args-99.0.zip"); + if (!artifact.exists() || artifact.isDirectory()) { + System.err.println("maven-jlink-plugin-cli-options-additional-args-99.0.zip file is missing or is a directory."); + return false; + } + +} +catch (Throwable e) { + e.printStackTrace(); + result = false; +} + +return result; diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index 001b9bf..5360b2a 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -382,6 +382,12 @@ public class JLinkMojo extends AbstractJLinkMojo { @Parameter private List additionalResources; + /** + * These arguments are additionally passed to the jlink command line. + */ + @Parameter + private List additionalArgs; + /** * Convenience interface for plugins to add or replace artifacts and resources on projects. */ @@ -765,6 +771,10 @@ protected List createJlinkArgs(Collection pathsOfModules, Collec jlinkArgs.add("--verbose"); } + if (additionalArgs != null && !additionalArgs.isEmpty()) { + jlinkArgs.addAll(additionalArgs); + } + // NOTE: suggestProviders is a terminal JlinkTask, so must be at the end! if (hasSuggestProviders()) { jlinkArgs.add("--suggest-providers"); From 40e6e57e6720a1517301b4c520164e6bdeed5c38 Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Tue, 22 Apr 2025 14:47:50 +0200 Subject: [PATCH 4/6] deactivate test for option --generate-cds-archive since not all jdk vendors and versions support this option --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 38343ec..d77b5c1 100644 --- a/pom.xml +++ b/pom.xml @@ -264,6 +264,8 @@ ! and how the work. --> cli-options/suggest-providers/pom.xml + + cli-options/generate-cds-archive/pom.xml src/it/mrm/settings.xml From 0ea1243ce6188156d45b3c45872492ebe7391f38 Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Wed, 27 Aug 2025 22:27:05 +0200 Subject: [PATCH 5/6] Add profiles for test exclusion based on JDK vendor and move cds test exclusion --- pom.xml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d77b5c1..d1f10aa 100644 --- a/pom.xml +++ b/pom.xml @@ -264,8 +264,6 @@ ! and how the work. --> cli-options/suggest-providers/pom.xml - - cli-options/generate-cds-archive/pom.xml src/it/mrm/settings.xml @@ -291,6 +289,71 @@ + + exclude-tests-openj9-compiler + + + openj9.compiler + + + + + + org.apache.maven.plugins + maven-invoker-plugin + + + cli-options/generate-cds-archive/pom.xml + + + + + + + + exclude-tests-eclipse-openj9 + + + java.vm.vendor + Eclipse OpenJ9 + + + + + + org.apache.maven.plugins + maven-invoker-plugin + + + cli-options/generate-cds-archive/pom.xml + + + + + + + + exclude-tests-ibm + + + java.vendor + IBM Corporation + + + + + + org.apache.maven.plugins + maven-invoker-plugin + + + cli-options/generate-cds-archive/pom.xml + + + + + + From 0859caac74518caa64daa111dd5a6f13cd60eb46 Mon Sep 17 00:00:00 2001 From: Tilman Holube Date: Sun, 31 Aug 2025 21:16:27 +0200 Subject: [PATCH 6/6] Use Java 17 or greater for generateCdsArchive test --- .../cli-options/generate-cds-archive/invoker.properties | 1 + src/it/projects/cli-options/generate-cds-archive/pom.xml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/it/projects/cli-options/generate-cds-archive/invoker.properties b/src/it/projects/cli-options/generate-cds-archive/invoker.properties index 9ef4967..6754984 100644 --- a/src/it/projects/cli-options/generate-cds-archive/invoker.properties +++ b/src/it/projects/cli-options/generate-cds-archive/invoker.properties @@ -15,3 +15,4 @@ # specific language governing permissions and limitations # under the License. invoker.goals=clean package +invoker.java.version=17+ diff --git a/src/it/projects/cli-options/generate-cds-archive/pom.xml b/src/it/projects/cli-options/generate-cds-archive/pom.xml index 74fd40d..f0be75f 100644 --- a/src/it/projects/cli-options/generate-cds-archive/pom.xml +++ b/src/it/projects/cli-options/generate-cds-archive/pom.xml @@ -30,8 +30,8 @@ http://maven.apache.org Test JLink CLI Options --generate-cds-archive. - 1.9 - 1.9 + 17 + 17 UTF-8 @@ -48,8 +48,8 @@ maven-compiler-plugin 3.8.0 - 1.9 - 1.9 + 17 + 17