Skip to content

Commit

Permalink
chore: adding new profile watch to enable auto rebuild on the kuber…
Browse files Browse the repository at this point in the history
…netes-maven-plugin documentation project

Signed-off-by: Sun Tan <[email protected]>
  • Loading branch information
sunix committed Oct 8, 2021
1 parent 84a1140 commit 28f9468
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions kubernetes-maven-plugin/doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,19 @@
<idprefix/>
<idseparator>-</idseparator>
<allow-uri-read>true</allow-uri-read>
<toc>left</toc>
<linkcss>false</linkcss>
<plugin>${plugin}</plugin>
<goal-prefix>${goal-prefix}</goal-prefix>
<cluster>${cluster}</cluster>
</attributes>
<logHandler>
<failIf>
<severity>DEBUG</severity>
</failIf>
</logHandler>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>html</backend>
</configuration>
<dependencies>
<dependency>
Expand Down Expand Up @@ -145,26 +152,33 @@
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>html</backend>
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<toc>left</toc>
<linkcss>false</linkcss>
<plugin>${plugin}</plugin>
<goal-prefix>${goal-prefix}</goal-prefix>
<cluster>${cluster}</cluster>
<version>${project.version}</version>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<activation><activeByDefault>true</activeByDefault></activation>
</profile>
<profile>
<id>watch</id>
<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<executions>
<execution>
<id>output-html</id>
<phase>package</phase>
<goals>
<goal>auto-refresh</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 28f9468

Please sign in to comment.