From 69fed9e46d6f106f9b0007f40a500457b2c47840 Mon Sep 17 00:00:00 2001 From: tvallin Date: Thu, 21 Mar 2024 11:11:27 +0100 Subject: [PATCH] Add opens WEB to module info for multipart Signed-off-by: tvallin --- .../common/files/src/main/java/module-info.java.mustache | 5 ++++- archetypes/archetypes/src/main/archetype/common/media.xml | 5 ++++- .../archetypes/src/main/archetype/mp/custom/custom-mp.xml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/archetypes/archetypes/src/main/archetype/common/files/src/main/java/module-info.java.mustache b/archetypes/archetypes/src/main/archetype/common/files/src/main/java/module-info.java.mustache index 3b0a8490f84..4e520db9fc8 100644 --- a/archetypes/archetypes/src/main/archetype/common/files/src/main/java/module-info.java.mustache +++ b/archetypes/archetypes/src/main/archetype/common/files/src/main/java/module-info.java.mustache @@ -7,6 +7,9 @@ module {{package}} { exports {{package}}; {{#module-opens}} - opens {{package}}; + opens {{.}}; {{/module-opens}} +{{#module-opens-package}} + opens {{package}}; +{{/module-opens-package}} } \ No newline at end of file diff --git a/archetypes/archetypes/src/main/archetype/common/media.xml b/archetypes/archetypes/src/main/archetype/common/media.xml index ac069349f06..7d38a3103c5 100644 --- a/archetypes/archetypes/src/main/archetype/common/media.xml +++ b/archetypes/archetypes/src/main/archetype/common/media.xml @@ -1,7 +1,7 @@