Skip to content

Commit

Permalink
+ Externalize the spec date, revision and status
Browse files Browse the repository at this point in the history
Signed-off-by: Scott M Stark <starksm64@gmail.com>
  • Loading branch information
starksm64 committed Nov 30, 2023
1 parent 31587f0 commit 3401020
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<!-- asl2 for non-final releases, or final for EFSL -->
<license-file>asl2</license-file>
<!-- Draft for non-final releases, or Final for spec release -->
<revremark>Draft</revremark>
<revremark>Draft(M1)</revremark>
<revnumber>4.1</revnumber> <!-- major.minor only -->
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
<revisiondate>${maven.build.timestamp}</revisiondate>
</properties>
Expand Down Expand Up @@ -200,19 +201,14 @@
<sourceDocumentName>cdi-spec.asciidoc</sourceDocumentName>
<attributes>
<license>${license-file}</license>
<revnumber>${revnumber}</revnumber>
<revremark>${revremark}</revremark>
<revdate>${revisiondate}</revdate>
<imagesdir>images</imagesdir>
<source-highlighter>coderay</source-highlighter>
</attributes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
6 changes: 3 additions & 3 deletions spec/src/main/asciidoc/cdi-spec.asciidoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
= Jakarta Contexts and Dependency Injection
:author: Jakarta Contexts and Dependency Injection Specification Project
:email: cdi-dev@eclipse.org
:revnumber: 4.1
:revdate: May 24 2023
:revremark: Draft
:revnumber: {revnumber}
:revdate: {revdate}
:revremark: {revremark}
:version-label!:
:sectanchors:
:doctype: book
Expand Down

0 comments on commit 3401020

Please sign in to comment.