Skip to content

Commit

Permalink
Update asciidoc plugins, config (#559)
Browse files Browse the repository at this point in the history
* Update asciidoc plugin and config for #558
* Add explicit asciidoctorj version and dependency, update sourceDirectory and imagesdir
* Correct the revnumber and revdate

Signed-off-by: starksm64 <starksm64@gmail.com>
  • Loading branch information
starksm64 authored Nov 18, 2021
1 parent df41586 commit 625cbb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
<description>CDI Specification documentation</description>

<properties>
<asciidoctor-maven.version>1.5.6</asciidoctor-maven.version>
<asciidoctorj-pdf.version>1.5.0-alpha.14</asciidoctorj-pdf.version>
<asciidoctor-maven.version>2.2.1</asciidoctor-maven.version>
<asciidoctorj.version>2.5.2</asciidoctorj.version>
<asciidoctorj-pdf.version>1.6.0</asciidoctorj-pdf.version>
<!-- asl2 for non-final releases, or final for EFSL -->
<license-file>asl2</license-file>
<!-- Draft for non-final releases, or Final for spec release -->
Expand Down Expand Up @@ -156,6 +157,11 @@
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor-maven.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
Expand Down Expand Up @@ -189,11 +195,13 @@
</execution>
</executions>
<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<sourceDocumentName>cdi-spec.asciidoc</sourceDocumentName>
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<license>${license-file}</license>
<revremark>${revremark}</revremark>
<imagesdir>images</imagesdir>
<source-highlighter>coderay</source-highlighter>
</attributes>
</configuration>
</plugin>
Expand Down
4 changes: 2 additions & 2 deletions spec/src/main/asciidoc/cdi-spec.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= Jakarta Contexts and Dependency Injection
:author: Jakarta Contexts and Dependency Injection Spec Project lead by Antoine Sabot-Durand
:email: cdi-dev@eclipse.org
:revnumber: 3.0
:revdate: July 30 2020
:revnumber: 4.0
:revdate: November 18 2021
:revremark: Draft
:version-label!:
:sectanchors:
Expand Down

0 comments on commit 625cbb4

Please sign in to comment.