Skip to content

Commit

Permalink
Fix Auto generated config (#109)
Browse files Browse the repository at this point in the history
- Fixes #108
  • Loading branch information
gastaldi authored Oct 11, 2024
1 parent e8152f2 commit 81e72b6
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 19 deletions.
65 changes: 65 additions & 0 deletions docs/modules/ROOT/pages/includes/quarkus-jasperreports.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
:summaryTableId: quarkus-jasperreports_quarkus-jasperreports
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
|===

h|[.header-title]##Configuration property##
h|Type
h|Default

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-enable]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-enable[`quarkus.jasperreports.build.enable`]##

[.description]
--
Enable building all report files.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_ENABLE+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_ENABLE+++`
endif::add-copy-button-to-env-var[]
--
|boolean
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-source]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-source[`quarkus.jasperreports.build.source`]##

[.description]
--
The path where all source .jrxml files are located.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_SOURCE+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_SOURCE+++`
endif::add-copy-button-to-env-var[]
--
|path
|`src/main/jasperreports`

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-destination]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-destination[`quarkus.jasperreports.build.destination`]##

[.description]
--
The path where compiled reports are located next to compiled classes.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_DESTINATION+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_DESTINATION+++`
endif::add-copy-button-to-env-var[]
--
|path
|`jasperreports`

|===


:!summaryTableId:
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
:summaryTableId: quarkus-jasperreports_quarkus-jasperreports
[.configuration-legend]
icon:lock[title=Fixed at build time] Configuration property fixed at build time - All other configuration properties are overridable at runtime
[.configuration-reference.searchable, cols="80,.^10,.^10"]
|===

h|[.header-title]##Configuration property##
h|Type
h|Default

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-enable]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-enable[`quarkus.jasperreports.build.enable`]##

[.description]
--
Enable building all report files.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_ENABLE+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_ENABLE+++`
endif::add-copy-button-to-env-var[]
--
|boolean
|`true`

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-source]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-source[`quarkus.jasperreports.build.source`]##

[.description]
--
The path where all source .jrxml files are located.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_SOURCE+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_SOURCE+++`
endif::add-copy-button-to-env-var[]
--
|path
|`src/main/jasperreports`

a|icon:lock[title=Fixed at build time] [[quarkus-jasperreports_quarkus-jasperreports-build-destination]] [.property-path]##link:#quarkus-jasperreports_quarkus-jasperreports-build-destination[`quarkus.jasperreports.build.destination`]##

[.description]
--
The path where compiled reports are located next to compiled classes.


ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_JASPERREPORTS_BUILD_DESTINATION+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_JASPERREPORTS_BUILD_DESTINATION+++`
endif::add-copy-button-to-env-var[]
--
|path
|`jasperreports`

|===


:!summaryTableId:
15 changes: 9 additions & 6 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-config-doc-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<targetDirectory>${project.basedir}/modules/ROOT/pages/includes/</targetDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand All @@ -64,11 +72,6 @@
<configuration>
<outputDirectory>${project.basedir}/modules/ROOT/pages/includes/</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/../target/asciidoc/generated/config/</directory>
<include>quarkus-jasperreports.adoc</include>
<filtering>false</filtering>
</resource>
<resource>
<directory>${project.basedir}/templates/includes</directory>
<include>attributes.adoc</include>
Expand Down Expand Up @@ -102,4 +105,4 @@
</plugins>
</build>

</project>
</project>
17 changes: 4 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
<tag>HEAD</tag>
</scm>
<properties>
<!-- Settings -->
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- Dependency Versions -->
<version.quarkus>3.15.1</version.quarkus>
<version.quarkus-poi>2.1.0</version.quarkus-poi>
Expand Down Expand Up @@ -105,13 +100,9 @@
<version>${version.quarkus}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-config-doc-maven-plugin</artifactId>
<version>${version.quarkus}</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -142,4 +133,4 @@
</modules>
</profile>
</profiles>
</project>
</project>

0 comments on commit 81e72b6

Please sign in to comment.