From 6537e3fe43eefb608184f56dceec48e61c6b6c96 Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Wed, 10 Jul 2024 10:14:02 +0200 Subject: [PATCH 1/5] feat:: add swagger template --- .../maven/docs/quarkus/DocumentationMojo.java | 20 ++++++++++++- .../docs/quarkus/docs/Configuration.java | 18 ++++++++++++ .../maven/docs/quarkus/docs/Container.java | 10 +++++++ .../docs/quarkus/docs/HelmContainer.java | 1 + .../docs/quarkus/docs/OpenApiContainer.java | 28 +++++++++++++++++++ src/main/resources/templates/attributes.qute | 3 +- src/main/resources/templates/docs.qute | 2 +- src/main/resources/templates/index.qute | 3 +- src/main/resources/templates/openApi.qute | 4 +++ 9 files changed, 85 insertions(+), 4 deletions(-) create mode 100644 src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java create mode 100644 src/main/resources/templates/openApi.qute diff --git a/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java b/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java index faf3f98..270a2a6 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java @@ -96,11 +96,16 @@ public class DocumentationMojo extends AbstractDocsMojo { @Parameter(name = "indexIncludeConfig", property = "tkit.docs.index.include.config", defaultValue = "true") protected boolean indexIncludeConfig; + @Parameter(name = "openApiFile", property = "tkit.docs.generate.openApi.file", defaultValue = "src/main/openapi/onecx-help-v1-openapi.yaml") + protected String openApiFile; + + @Parameter(name = "openApi", property = "tkit.docs.generate.openApi", defaultValue = "true") + protected boolean openApi; @Override public void execute() throws MojoExecutionException { - + System.out.println("MYLOG: execute"); if (skipDocs) { getLog().info("1000kit quarkus documentation plugin is disabled"); return; @@ -124,14 +129,25 @@ public void execute() throws MojoExecutionException { var engine = EngineFactory.createEngine(); if (config.isAttributes()) { + System.out.println("MYLOG: IS ATTRIBUTE IN MOJO?"); + renderTemplate(engine, container, "attributes.qute", config.getAttributesFile()); } if (config.isDocs()) { + System.out.println("MYLOG: IS DOCS IN MOJO?"); + renderTemplate(engine, container, "docs.qute", config.getIndexDocsFile()); } if (config.isExtensions()) { + System.out.println("MYLOG: IS EXENSTION IN MOJO?"); + renderTemplate(engine, container, "extensions.qute", config.getExtensionsFile()); } + if(config.isOpenApi()) { + System.out.println("MYLOG: IS OPEN API IN MOJO?"); + + renderTemplate(engine, container, "openApi.qute", "openApi.adoc"); + } // generated index if (config.isIndex()) { @@ -145,11 +161,13 @@ private Configuration getConfiguration(boolean indexConfig) { config.setIndexDocsFile(indexDocsFile); config.setAttributesFile(attributesFile); config.setExtensionsFile(extensionsFile); + config.setOpenApiFile(openApiFile); config.setDocker(docker); config.setExtensions(extensions); config.setProperties(properties); config.setHelm(helm); config.setIndex(index); + config.setOpenApi(openApi); config.setDocs(docs); config.setAttributes(attributes); config.setHelmValuesFile(helmValuesFile); diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java index 9ab267f..f47c32d 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java @@ -12,6 +12,7 @@ public class Configuration { private boolean helm; private boolean index; private boolean docs; + private boolean openApi; private boolean attributes; private boolean indexConfig; private boolean indexHeader; @@ -21,6 +22,7 @@ public class Configuration { private String indexHeaderFile; private String helmValuesFile; private String propertiesFile; + private String openApiFile; private List dependenciesIncludeGroups; private List dependenciesExcludeScopes; private String dependenciesMappingFile; @@ -184,4 +186,20 @@ public String getPropertiesFile() { public void setPropertiesFile(String propertiesFile) { this.propertiesFile = propertiesFile; } + + public String getOpenApiFile() { + return openApiFile; + } + public boolean isOpenApi() { + return openApi; + } + + public void setOpenApi(boolean openApi) { + this.openApi = openApi; + } + + public void setOpenApiFile(String openApiFile) { + this.openApiFile = openApiFile; + } + } diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java index d32da5f..05fbb08 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java @@ -11,6 +11,8 @@ public class Container { private HelmContainer helm; + private OpenApiContainer openApi; + private PropertiesContainer properties; private ExtensionContainer extensions; @@ -28,6 +30,12 @@ public static Container create(MavenProject project, Configuration config) { if (config.isProperties()) { g.properties = PropertiesContainer.create(config.getPropertiesFile()); } + System.out.println("MYLOG: IS OPEN API?"); + + if(config.isOpenApi()) { + System.out.println("MYLOG: YES"); + g.openApi = OpenApiContainer.create(config.getOpenApiFile()); + } return g; } @@ -43,6 +51,8 @@ public HelmContainer getHelm() { return helm; } + public OpenApiContainer getOpenApi(){return openApi;} + public MavenProject getProject() { return project; } diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java index fa0631b..64c9895 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java @@ -10,6 +10,7 @@ public class HelmContainer { public static HelmContainer create(String helmValuesFile) { String values; try { + System.out.println(Path.of(helmValuesFile)); values = Files.readString(Path.of(helmValuesFile)); } catch (Exception ex) { throw new RuntimeException(ex); diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java new file mode 100644 index 0000000..5acc635 --- /dev/null +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java @@ -0,0 +1,28 @@ +package org.tkit.maven.docs.quarkus.docs; + +import java.nio.file.Files; +import java.nio.file.Path; + +public class OpenApiContainer { + + private final String values; + + public static OpenApiContainer create(String openApiFile) { + String values; + System.out.println("MYLOG: CREATE CONTAINER"); + try { + values = Files.readString(Path.of(openApiFile)); + } catch (Exception ex) { + throw new RuntimeException(ex); + } + return new OpenApiContainer(values); + } + + private OpenApiContainer(String values) { + this.values = values; + } + + public String getValues() { + return values; + } +} \ No newline at end of file diff --git a/src/main/resources/templates/attributes.qute b/src/main/resources/templates/attributes.qute index 54d9f5d..bf76561 100644 --- a/src/main/resources/templates/attributes.qute +++ b/src/main/resources/templates/attributes.qute @@ -2,4 +2,5 @@ :docker-registry: https://github.com/onecx/{container.project.artifactId}/pkgs/container/{container.project.artifactId} :helm-registry: https://github.com/onecx/{container.project.artifactId}/pkgs/container/charts%2F{container.project.artifactId} :properties-file: {container.config.propertiesFile} -:helm-file: {container.config.helmValuesFile} \ No newline at end of file +:helm-file: {container.config.helmValuesFile} +:openApi-file: {container.config.openApiFile} \ No newline at end of file diff --git a/src/main/resources/templates/docs.qute b/src/main/resources/templates/docs.qute index 728305c..c8c74f9 100644 --- a/src/main/resources/templates/docs.qute +++ b/src/main/resources/templates/docs.qute @@ -19,7 +19,7 @@ include::{container.config.attributesFile}[opts=optional] include::{container.config.extensionsFile}[opts=optional] {/if} - +S {#if container.config.isDocker} === Container diff --git a/src/main/resources/templates/index.qute b/src/main/resources/templates/index.qute index f058d06..e173e1b 100644 --- a/src/main/resources/templates/index.qute +++ b/src/main/resources/templates/index.qute @@ -13,4 +13,5 @@ include::{container.config.indexConfigFile}[opts=optional] {#if container.config.indexDocs} include::{container.config.indexDocsFile}[opts=optional] -{/if} \ No newline at end of file +{/if} + diff --git a/src/main/resources/templates/openApi.qute b/src/main/resources/templates/openApi.qute new file mode 100644 index 0000000..8408dd6 --- /dev/null +++ b/src/main/resources/templates/openApi.qute @@ -0,0 +1,4 @@ +{#if container.config.isOpenApi} +:page-layout: swagger +:page-swagger-url: https://raw.githubusercontent.com/onecx/{container.project.name}{container.config.openApiFile} +{/if} From 8382e590f02eaee2921d5077b0621ef253d5d681 Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Wed, 10 Jul 2024 15:00:14 +0200 Subject: [PATCH 2/5] feat: config impl --- .../maven/docs/quarkus/AbstractDocsMojo.java | 21 ++++++++++++ .../maven/docs/quarkus/DocumentationMojo.java | 32 +++++++++++-------- .../docs/quarkus/docs/Configuration.java | 17 +++++++--- .../maven/docs/quarkus/docs/Container.java | 8 ----- .../docs/quarkus/docs/HelmContainer.java | 1 - .../docs/quarkus/docs/OpenApiContainer.java | 28 ---------------- src/main/resources/templates/attributes.qute | 1 - src/main/resources/templates/openApi.qute | 4 +-- 8 files changed, 54 insertions(+), 58 deletions(-) delete mode 100644 src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java diff --git a/src/main/java/org/tkit/maven/docs/quarkus/AbstractDocsMojo.java b/src/main/java/org/tkit/maven/docs/quarkus/AbstractDocsMojo.java index 6afcae9..22dbe75 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/AbstractDocsMojo.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/AbstractDocsMojo.java @@ -30,6 +30,10 @@ protected void writeToFile(String data, String file) throws MojoExecutionExcepti Path out1 = getOutputFile(file); writeTo(out1, data); } + protected void writeToFile(String data, String file, String subDir) throws MojoExecutionException { + Path out1 = getOutputFile(file, subDir); + writeTo(out1, data); + } protected void writeTo(Path out1, String data) throws MojoExecutionException { try { @@ -49,6 +53,10 @@ protected Path getOutputFile(String name) { Path dir = getOutputDir(); return dir.resolve(name); } + protected Path getOutputFile(String name, String subDir) { + Path dir = getOutputDir(subDir); + return dir.resolve(name); + } protected Path getOutputDir() { Path parent = Paths.get(outputDir); @@ -62,4 +70,17 @@ protected Path getOutputDir() { } return parent; } + + protected Path getOutputDir(String subDir) { + Path parent = Paths.get(outputDir + subDir); + File dir = parent.toFile(); + + if (!dir.exists()) { + var r = dir.mkdirs(); + if (r) { + getLog().debug("Create output directory " + outputDir); + } + } + return parent; + } } diff --git a/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java b/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java index 270a2a6..cfb0eaf 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/DocumentationMojo.java @@ -96,8 +96,11 @@ public class DocumentationMojo extends AbstractDocsMojo { @Parameter(name = "indexIncludeConfig", property = "tkit.docs.index.include.config", defaultValue = "true") protected boolean indexIncludeConfig; - @Parameter(name = "openApiFile", property = "tkit.docs.generate.openApi.file", defaultValue = "src/main/openapi/onecx-help-v1-openapi.yaml") - protected String openApiFile; + @Parameter(name = "openApiFiles", property = "tkit.docs.generate.openApi.file") + protected String[] openApiFiles; + + @Parameter(name = "openApiBasePath", property = "tkit.docs.generate.openApi.path", defaultValue = "src/main/openapi/") + protected String openApiBasePath; @Parameter(name = "openApi", property = "tkit.docs.generate.openApi", defaultValue = "true") protected boolean openApi; @@ -105,7 +108,6 @@ public class DocumentationMojo extends AbstractDocsMojo { @Override public void execute() throws MojoExecutionException { - System.out.println("MYLOG: execute"); if (skipDocs) { getLog().info("1000kit quarkus documentation plugin is disabled"); return; @@ -129,24 +131,23 @@ public void execute() throws MojoExecutionException { var engine = EngineFactory.createEngine(); if (config.isAttributes()) { - System.out.println("MYLOG: IS ATTRIBUTE IN MOJO?"); - renderTemplate(engine, container, "attributes.qute", config.getAttributesFile()); } if (config.isDocs()) { - System.out.println("MYLOG: IS DOCS IN MOJO?"); - renderTemplate(engine, container, "docs.qute", config.getIndexDocsFile()); } if (config.isExtensions()) { - System.out.println("MYLOG: IS EXENSTION IN MOJO?"); - renderTemplate(engine, container, "extensions.qute", config.getExtensionsFile()); } if(config.isOpenApi()) { - System.out.println("MYLOG: IS OPEN API IN MOJO?"); - - renderTemplate(engine, container, "openApi.qute", "openApi.adoc"); + for(int i=0; config.getOpenApiFiles().length > i; i++) { + try { + config.setCurrentOpenApiFile(config.getOpenApiFiles()[i]); + renderTemplate(engine, container, "openApi.qute", config.getCurrentOpenApiFile().substring(0, config.getCurrentOpenApiFile().lastIndexOf('.')) + ".adoc", "/openapi"); + } catch (MojoExecutionException e) { + throw new RuntimeException(e); + } + } } // generated index @@ -161,7 +162,7 @@ private Configuration getConfiguration(boolean indexConfig) { config.setIndexDocsFile(indexDocsFile); config.setAttributesFile(attributesFile); config.setExtensionsFile(extensionsFile); - config.setOpenApiFile(openApiFile); + config.setOpenApiFiles(openApiFiles); config.setDocker(docker); config.setExtensions(extensions); config.setProperties(properties); @@ -188,6 +189,11 @@ private void renderTemplate(Engine engine, Object container, String template, St Template tmp = engine.getTemplate(template); writeToFile(tmp.data(TEMPLATE_CONTAINER, container).render(), name); } + private void renderTemplate(Engine engine, Object container, String template, String name, String subDir) throws MojoExecutionException { + Template tmp = engine.getTemplate(template); + writeToFile(tmp.data(TEMPLATE_CONTAINER, container).render(), name, subDir); + } + private File copyConfigFile() { diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java index f47c32d..d9f7377 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Configuration.java @@ -22,10 +22,11 @@ public class Configuration { private String indexHeaderFile; private String helmValuesFile; private String propertiesFile; - private String openApiFile; + private String[] openApiFiles; private List dependenciesIncludeGroups; private List dependenciesExcludeScopes; private String dependenciesMappingFile; + private String currentOpenApiFile; public String getExtensionsFile() { return extensionsFile; @@ -187,8 +188,8 @@ public void setPropertiesFile(String propertiesFile) { this.propertiesFile = propertiesFile; } - public String getOpenApiFile() { - return openApiFile; + public String[] getOpenApiFiles() { + return openApiFiles; } public boolean isOpenApi() { return openApi; @@ -198,8 +199,14 @@ public void setOpenApi(boolean openApi) { this.openApi = openApi; } - public void setOpenApiFile(String openApiFile) { - this.openApiFile = openApiFile; + public void setOpenApiFiles(String[] openApiFiles) { + this.openApiFiles = openApiFiles; } + public void setCurrentOpenApiFile(String openApiFile) { + this.currentOpenApiFile = openApiFile; + } + public String getCurrentOpenApiFile() { + return currentOpenApiFile; + } } diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java index 05fbb08..8b3f9d7 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java @@ -11,8 +11,6 @@ public class Container { private HelmContainer helm; - private OpenApiContainer openApi; - private PropertiesContainer properties; private ExtensionContainer extensions; @@ -30,12 +28,7 @@ public static Container create(MavenProject project, Configuration config) { if (config.isProperties()) { g.properties = PropertiesContainer.create(config.getPropertiesFile()); } - System.out.println("MYLOG: IS OPEN API?"); - if(config.isOpenApi()) { - System.out.println("MYLOG: YES"); - g.openApi = OpenApiContainer.create(config.getOpenApiFile()); - } return g; } @@ -51,7 +44,6 @@ public HelmContainer getHelm() { return helm; } - public OpenApiContainer getOpenApi(){return openApi;} public MavenProject getProject() { return project; diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java index 64c9895..fa0631b 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/HelmContainer.java @@ -10,7 +10,6 @@ public class HelmContainer { public static HelmContainer create(String helmValuesFile) { String values; try { - System.out.println(Path.of(helmValuesFile)); values = Files.readString(Path.of(helmValuesFile)); } catch (Exception ex) { throw new RuntimeException(ex); diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java deleted file mode 100644 index 5acc635..0000000 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/OpenApiContainer.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.tkit.maven.docs.quarkus.docs; - -import java.nio.file.Files; -import java.nio.file.Path; - -public class OpenApiContainer { - - private final String values; - - public static OpenApiContainer create(String openApiFile) { - String values; - System.out.println("MYLOG: CREATE CONTAINER"); - try { - values = Files.readString(Path.of(openApiFile)); - } catch (Exception ex) { - throw new RuntimeException(ex); - } - return new OpenApiContainer(values); - } - - private OpenApiContainer(String values) { - this.values = values; - } - - public String getValues() { - return values; - } -} \ No newline at end of file diff --git a/src/main/resources/templates/attributes.qute b/src/main/resources/templates/attributes.qute index bf76561..47f2b3f 100644 --- a/src/main/resources/templates/attributes.qute +++ b/src/main/resources/templates/attributes.qute @@ -3,4 +3,3 @@ :helm-registry: https://github.com/onecx/{container.project.artifactId}/pkgs/container/charts%2F{container.project.artifactId} :properties-file: {container.config.propertiesFile} :helm-file: {container.config.helmValuesFile} -:openApi-file: {container.config.openApiFile} \ No newline at end of file diff --git a/src/main/resources/templates/openApi.qute b/src/main/resources/templates/openApi.qute index 8408dd6..954570e 100644 --- a/src/main/resources/templates/openApi.qute +++ b/src/main/resources/templates/openApi.qute @@ -1,4 +1,4 @@ {#if container.config.isOpenApi} :page-layout: swagger -:page-swagger-url: https://raw.githubusercontent.com/onecx/{container.project.name}{container.config.openApiFile} -{/if} +:page-swagger-url: https://raw.githubusercontent.com/onecx/{container.project.name}/{container.config.currentOpenApiFile} +{/if} \ No newline at end of file From 22562f626fe585d25a0df2cc8c0ed21d8b2dfec6 Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Wed, 10 Jul 2024 15:22:05 +0200 Subject: [PATCH 3/5] format --- src/main/resources/templates/attributes.qute | 2 +- src/main/resources/templates/docs.qute | 2 +- src/main/resources/templates/index.qute | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/attributes.qute b/src/main/resources/templates/attributes.qute index 47f2b3f..54d9f5d 100644 --- a/src/main/resources/templates/attributes.qute +++ b/src/main/resources/templates/attributes.qute @@ -2,4 +2,4 @@ :docker-registry: https://github.com/onecx/{container.project.artifactId}/pkgs/container/{container.project.artifactId} :helm-registry: https://github.com/onecx/{container.project.artifactId}/pkgs/container/charts%2F{container.project.artifactId} :properties-file: {container.config.propertiesFile} -:helm-file: {container.config.helmValuesFile} +:helm-file: {container.config.helmValuesFile} \ No newline at end of file diff --git a/src/main/resources/templates/docs.qute b/src/main/resources/templates/docs.qute index c8c74f9..728305c 100644 --- a/src/main/resources/templates/docs.qute +++ b/src/main/resources/templates/docs.qute @@ -19,7 +19,7 @@ include::{container.config.attributesFile}[opts=optional] include::{container.config.extensionsFile}[opts=optional] {/if} -S + {#if container.config.isDocker} === Container diff --git a/src/main/resources/templates/index.qute b/src/main/resources/templates/index.qute index e173e1b..f058d06 100644 --- a/src/main/resources/templates/index.qute +++ b/src/main/resources/templates/index.qute @@ -13,5 +13,4 @@ include::{container.config.indexConfigFile}[opts=optional] {#if container.config.indexDocs} include::{container.config.indexDocsFile}[opts=optional] -{/if} - +{/if} \ No newline at end of file From f2709a98b90ab21cc50f85892e85f66e6437c00e Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Wed, 10 Jul 2024 15:22:43 +0200 Subject: [PATCH 4/5] fix: format --- src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java index 8b3f9d7..98030d5 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java @@ -28,7 +28,6 @@ public static Container create(MavenProject project, Configuration config) { if (config.isProperties()) { g.properties = PropertiesContainer.create(config.getPropertiesFile()); } - return g; } @@ -43,8 +42,7 @@ public PropertiesContainer getProperties() { public HelmContainer getHelm() { return helm; } - - + public MavenProject getProject() { return project; } From 896f6d3b10c9f5967bf945324660faf38be67957 Mon Sep 17 00:00:00 2001 From: JordenReuter <149687553+JordenReuter@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:24:18 +0200 Subject: [PATCH 5/5] Update Container.java --- src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java index 98030d5..d32da5f 100644 --- a/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java +++ b/src/main/java/org/tkit/maven/docs/quarkus/docs/Container.java @@ -42,7 +42,7 @@ public PropertiesContainer getProperties() { public HelmContainer getHelm() { return helm; } - + public MavenProject getProject() { return project; }