Skip to content

Commit

Permalink
[wildfly-extras#239] Generate GRPC model reference
Browse files Browse the repository at this point in the history
* Use the Maven plug-in for Wildscribe to generate the Model reference for the org.wildfly.extension.grpc extension

This fixes wildfly-extras#239

Signed-off-by: Jeff Mesnil <[email protected]>
  • Loading branch information
jmesnil committed Jun 5, 2024
1 parent 69e1c1b commit c9f016a
Showing 1 changed file with 63 additions and 2 deletions.
65 changes: 63 additions & 2 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<name>WildFly gRPC :: Docs</name>

<properties>

<jboss.home>${project.build.directory}/wildfly</jboss.home>
</properties>

<build>
Expand Down Expand Up @@ -93,7 +93,69 @@
</execution>
</executions>
</plugin-->
<plugin>
<groupId>org.jboss.galleon</groupId>
<artifactId>galleon-maven-plugin</artifactId>
<executions>
<execution>
<id>server-provisioning</id>
<goals>
<goal>provision</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<install-dir>${jboss.home}</install-dir>
<record-state>false</record-state>
<log-time>${galleon.log.time}</log-time>
<feature-packs>
<feature-pack>
<groupId>${project.groupId}</groupId>
<artifactId>wildfly-grpc-feature-pack</artifactId>
<version>${project.version}</version>
<inherit-configs>false</inherit-configs>
<excluded-packages>
<name>docs</name>
<name>docs.licenses.merge</name>
</excluded-packages>
<included-configs>
<config>
<model>standalone</model>
</config>
</included-configs>
</feature-pack>
</feature-packs>
<plugin-options>
<jboss-fork-embedded>${galleon.fork.embedded}</jboss-fork-embedded>
</plugin-options>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jboss.wildscribe</groupId>
<artifactId>wildscribe-maven-plugin</artifactId>
<version>3.0.0.Final</version>
<configuration>
<jboss-home>${jboss.home}</jboss-home>
<display-name>${full.dist.product.release.name}</display-name>
<display-version>${product.docs.server.version}</display-version>
<site-dir>${project.build.directory}/generated-docs/wildscribe</site-dir>
<required-extensions>
<required-extension>org.wildfly.extension.grpc</required-extension>
</required-extensions>
</configuration>
<executions>
<execution>
<id>generate-site</id>
<goals>
<goal>generate-site</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>

</build>

<!-- Generate the changelog -->
Expand Down Expand Up @@ -135,4 +197,3 @@
</profile>
</profiles-->
</project>

0 comments on commit c9f016a

Please sign in to comment.