Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build main docs #334

Open
maxandersen opened this issue Dec 20, 2024 · 2 comments
Open

cannot build main docs #334

maxandersen opened this issue Dec 20, 2024 · 2 comments

Comments

@maxandersen
Copy link
Member

git clone and do mvn install -DskipTests gives me:

[ERROR] Failed to execute goal io.quarkus:quarkus-config-doc-maven-plugin:3.17.5:generate-config-doc (default-generate-config-doc) on project quarkus-roq-docs: Execution default-generate-config-doc of goal io.quarkus:quarkus-config-doc-maven-plugin:3.17.5:generate-config-doc failed: Unable to parse: /Users/manderse/code/quarkiverse/quarkus-roq/roq-frontmatter/deployment/target/quarkus-config-doc/quarkus-config-model.yaml: Could not resolve subtype of [simple type, class io.quarkus.annotation.processor.documentation.config.model.ConfigProperty$PropertyPath]: missing type id property '@class' (for POJO property 'path')
[ERROR]  at [Source: (sun.nio.ch.ChannelInputStream); line: 15, column: 11] (through reference chain: io.quarkus.annotation.processor.documentation.config.model.ResolvedModel["configRoots"]->java.util.ArrayList[0]->io.quarkus.annotation.processor.documentation.config.model.ConfigRoot["items"]->java.util.ArrayList[0]->io.quarkus.annotation.processor.documentation.config.model.ConfigProperty["path"])
@maxandersen
Copy link
Member Author

for now had to apply this to get build working:

diff --git a/blog/pom.xml b/blog/pom.xml
index e72603c..174b953 100644
--- a/blog/pom.xml
+++ b/blog/pom.xml
@@ -102,7 +102,7 @@
     <build>
 
         <plugins>
-            <plugin>
+           <!-- <plugin>
                 <groupId>io.quarkus</groupId>
                 <artifactId>quarkus-config-doc-maven-plugin</artifactId>
                 <extensions>true</extensions>
@@ -110,6 +110,7 @@
                     <targetDirectory>${project.basedir}/templates/partials/doc/configs</targetDirectory>
                 </configuration>
             </plugin>
+            -->
             <plugin>
                 <groupId>${quarkus.platform.group-id}</groupId>
                 <artifactId>quarkus-maven-plugin</artifactId>
diff --git a/pom.xml b/pom.xml
index 24dcff3..522739e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,7 +92,7 @@
                 </property>
             </activation>
             <modules>
-                <module>docs</module>
+               <!-- <module>docs</module> -->
             </modules>
         </profile>
         <profile>

@ia3andy
Copy link
Contributor

ia3andy commented Dec 23, 2024

@gsmet I remember seeing this issue once already, I don't remember how I fixed it though... any thought?

PS: I can't reproduce..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants