From e71d29094f621f5a75753e5b59bc1e8d28975b38 Mon Sep 17 00:00:00 2001 From: "Matteo Franci a.k.a. Fugerit" Date: Thu, 2 Jan 2025 15:43:53 +0100 Subject: [PATCH] subfolder for native embedded configuration file #276 --- CHANGELOG.md | 1 + fj-doc-base/pom.xml | 2 +- .../org.fugerit.java/fj-doc-base/native-image.properties | 0 .../{ => org.fugerit.java/fj-doc-base}/reflect-config.json | 0 .../{ => org.fugerit.java/fj-doc-base}/resource-config.json | 0 fj-doc-freemarker/pom.xml | 2 +- .../org.fugerit.java/fj-doc-freemarker/native-image.properties | 0 .../fj-doc-freemarker}/reflect-config.json | 0 .../fj-doc-freemarker}/resource-config.json | 0 fj-doc-mod-opencsv/pom.xml | 2 +- .../org.fugerit.java/fj-doc-mod-opencsv/native-image.properties | 0 .../fj-doc-mod-opencsv}/reflect-config.json | 0 .../org.fugerit.java/fj-doc-mod-opencsv/resource-config.json | 2 ++ 13 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/native-image.properties rename fj-doc-base/src/main/resources/META-INF/native-image/{ => org.fugerit.java/fj-doc-base}/reflect-config.json (100%) rename fj-doc-base/src/main/resources/META-INF/native-image/{ => org.fugerit.java/fj-doc-base}/resource-config.json (100%) create mode 100644 fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/native-image.properties rename fj-doc-freemarker/src/main/resources/META-INF/native-image/{ => org.fugerit.java/fj-doc-freemarker}/reflect-config.json (100%) rename fj-doc-freemarker/src/main/resources/META-INF/native-image/{ => org.fugerit.java/fj-doc-freemarker}/resource-config.json (100%) create mode 100644 fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/native-image.properties rename fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/{ => org.fugerit.java/fj-doc-mod-opencsv}/reflect-config.json (100%) create mode 100644 fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/resource-config.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 6737a668f..4c4980e15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- subfolder for native embedded configuration file - freemarker-version 2.3.34 - quarkus-version set to 3.17.5 across al the modules diff --git a/fj-doc-base/pom.xml b/fj-doc-base/pom.xml index d84d4f20a..ff117e76c 100644 --- a/fj-doc-base/pom.xml +++ b/fj-doc-base/pom.xml @@ -54,7 +54,7 @@ ${project.build.directory}/generated-resources/reflect-config-custom.json ${project.basedir}/src/main/config/reflect-config-nhg.json - ${project.basedir}/src/main/resources/META-INF/native-image/reflect-config.json + ${project.basedir}/src/main/resources/META-INF/native-image/${project.groupId}/${project.artifactId}/reflect-config.json true false diff --git a/fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/native-image.properties b/fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/native-image.properties new file mode 100644 index 000000000..e69de29bb diff --git a/fj-doc-base/src/main/resources/META-INF/native-image/reflect-config.json b/fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/reflect-config.json similarity index 100% rename from fj-doc-base/src/main/resources/META-INF/native-image/reflect-config.json rename to fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/reflect-config.json diff --git a/fj-doc-base/src/main/resources/META-INF/native-image/resource-config.json b/fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/resource-config.json similarity index 100% rename from fj-doc-base/src/main/resources/META-INF/native-image/resource-config.json rename to fj-doc-base/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-base/resource-config.json diff --git a/fj-doc-freemarker/pom.xml b/fj-doc-freemarker/pom.xml index 948acd080..7b4e45134 100644 --- a/fj-doc-freemarker/pom.xml +++ b/fj-doc-freemarker/pom.xml @@ -58,7 +58,7 @@ ${project.build.directory}/generated-resources/reflect-config-custom.json ${project.basedir}/src/main/config/reflect-config-nhg.json - ${project.basedir}/src/main/resources/META-INF/native-image/reflect-config.json + ${project.basedir}/src/main/resources/META-INF/native-image/${project.groupId}/${project.artifactId}/reflect-config.json true false diff --git a/fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/native-image.properties b/fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/native-image.properties new file mode 100644 index 000000000..e69de29bb diff --git a/fj-doc-freemarker/src/main/resources/META-INF/native-image/reflect-config.json b/fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/reflect-config.json similarity index 100% rename from fj-doc-freemarker/src/main/resources/META-INF/native-image/reflect-config.json rename to fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/reflect-config.json diff --git a/fj-doc-freemarker/src/main/resources/META-INF/native-image/resource-config.json b/fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/resource-config.json similarity index 100% rename from fj-doc-freemarker/src/main/resources/META-INF/native-image/resource-config.json rename to fj-doc-freemarker/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-freemarker/resource-config.json diff --git a/fj-doc-mod-opencsv/pom.xml b/fj-doc-mod-opencsv/pom.xml index 3c68c85d5..45b7453f3 100644 --- a/fj-doc-mod-opencsv/pom.xml +++ b/fj-doc-mod-opencsv/pom.xml @@ -54,7 +54,7 @@ ${project.build.directory}/generated-resources/reflect-config-custom.json ${project.basedir}/src/main/config/reflect-config-nhg.json - ${project.basedir}/src/main/resources/META-INF/native-image/reflect-config.json + ${project.basedir}/src/main/resources/META-INF/native-image/${project.groupId}/${project.artifactId}/reflect-config.json true false diff --git a/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/native-image.properties b/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/native-image.properties new file mode 100644 index 000000000..e69de29bb diff --git a/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/reflect-config.json b/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/reflect-config.json similarity index 100% rename from fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/reflect-config.json rename to fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/reflect-config.json diff --git a/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/resource-config.json b/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/resource-config.json new file mode 100644 index 000000000..7a73a41bf --- /dev/null +++ b/fj-doc-mod-opencsv/src/main/resources/META-INF/native-image/org.fugerit.java/fj-doc-mod-opencsv/resource-config.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file