Skip to content

Commit

Permalink
Update asciidoctor plugin to generate versioned output files
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsutter committed Jan 17, 2018
1 parent e5bb8d1 commit 855a305
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions spec/pom.xml
Expand Up @@ -36,7 +36,7 @@
<name>MicroProfile Specification</name>

<properties>
<asciidoctor-maven.version>1.5.5</asciidoctor-maven.version>
<asciidoctor-maven.version>1.5.6</asciidoctor-maven.version>
<asciidoctorj-pdf.version>1.5.0-alpha.15</asciidoctorj-pdf.version>
<license>Apache License v 2.0</license>
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
Expand Down Expand Up @@ -67,11 +67,7 @@
</goals>
<configuration>
<backend>pdf</backend>
<attributes>
<revnumber>${project.version}</revnumber>
<revremark>${revremark}</revremark>
<revdate>${revisiondate}</revdate>
</attributes>
<outputFile>${project.build.directory}/generated-docs/microprofile-spec-${project.version}.pdf</outputFile>
</configuration>
</execution>
<execution>
Expand All @@ -82,11 +78,7 @@
</goals>
<configuration>
<backend>html5</backend>
<attributes>
<revnumber>${project.version}</revnumber>
<revremark>${revremark}</revremark>
<revdate>${revisiondate}</revdate>
</attributes>
<outputFile>${project.build.directory}/generated-docs/microprofile-spec-${project.version}.html</outputFile>
</configuration>
</execution>
</executions>
Expand All @@ -95,6 +87,9 @@
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<license>Apache License v2.0</license>
<revnumber>${project.version}</revnumber>
<revremark>${revremark}</revremark>
<revdate>${revisiondate}</revdate>
</attributes>
</configuration>
</plugin>
Expand Down

0 comments on commit 855a305

Please sign in to comment.