Skip to content

Commit

Permalink
Change the way docs are generated
Browse files Browse the repository at this point in the history
  • Loading branch information
ctomc committed Mar 21, 2018
1 parent 05c6839 commit 3a83d3d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ NOTE: Some of these quickstarts use the H2 database included with {productName}.
| link:http-custom-mechanism/README{outfilesuffix}[http-custom-mechanism]|EJB, Security | The `http-custom-mechanism` quickstart demonstrates how to implement a custom HTTP authentication mechanism that can be registered with Elytron. | Intermediate | _none_
| link:inter-app/README{outfilesuffix}[inter-app]|EJB, CDI, JSF | The `inter-app` quickstart shows you how to use a shared API JAR and an EJB to provide inter-application communication between two WAR deployments. | Advanced | _none_
| link:jaxrs-client/README{outfilesuffix}[jaxrs-client]|JAX-RS | The `jaxrs-client` quickstart demonstrates JAX-RS Client API, which interacts with a JAX-RS Web service that runs on {productName}. | Beginner | _none_
| link:jaxrs-jwt/README{outfilesuffix}[jaxrs-jwt]|JAX-RS, Security | The `jaxrs-jwt` quickstart demonstrates a JAX-RS secured application using JSON Web Tokens (JWT) with Elytron. | Intermediate | _none_
| link:jaxws-addressing/README{outfilesuffix}[jaxws-addressing]|JAX-WS | The `jaxws-addressing` quickstart is a working example of the web service using WS-Addressing. | Beginner | _none_
| link:jaxws-ejb/README{outfilesuffix}[jaxws-ejb]|JAX-WS | The `jaxws-ejb` quickstart is a working example of the web service endpoint created from an EJB. | Beginner | _none_
| link:jaxws-pojo/README{outfilesuffix}[jaxws-pojo]|JAX-WS | The `jaxws-pojo` quickstart is a working example of the web service endpoint created from a POJO. | Beginner | _none_
Expand Down
37 changes: 31 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@
</modules>
<build>
<plugins>

<plugin>
<groupId>org.wildfly.maven.plugins</groupId>
<artifactId>quickstart-documentation-plugin</artifactId>
Expand Down Expand Up @@ -548,18 +547,19 @@
</attributes>
<resources>
<resource>
<directory>none</directory>
<directory>shared-doc</directory>
<excludes>
<exclude>**/*</exclude>
<exclude>**/*.*</exclude>
</excludes>
</resource>
</resources>
<!--<baseDir>.</baseDir>-->
<doctype>article</doctype>
<sourceDirectory>.</sourceDirectory>
<sourceDocumentName>README.adoc</sourceDocumentName>
<outputFile>README.html</outputFile>

<!--<sourceDocumentName>README.adoc</sourceDocumentName>-->
<!--<outputFile>README.html</outputFile>-->
<preserveDirectories>true</preserveDirectories>
<relativeBaseDir>true</relativeBaseDir>
</configuration>
<executions>
<execution>
Expand All @@ -571,6 +571,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${version.resources.plugin}</version>
<executions>
<execution>
<id>copy-generated-docs</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/generated-docs</directory>
<includes>
<include>**/*.html</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
Expand Down

0 comments on commit 3a83d3d

Please sign in to comment.