Skip to content

Commit

Permalink
[spec] Use spec.version instead of project.version in revnumber
Browse files Browse the repository at this point in the history
Signed-off-by: hussainnm <hussain.nm@cognizant.com>
  • Loading branch information
hussainnm committed Sep 1, 2020
1 parent d7d45f9 commit 22f7e77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>jakarta.ejb</groupId>
<artifactId>jakarta.ejb-spec</artifactId>
<version>4.0</version>
<version>4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Jakarta Enterprise Beans Specification</name>
<description>Jakarta Enterprise Beans Specification</description>
Expand Down Expand Up @@ -73,7 +73,8 @@
<status>DRAFT</status>
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
<revisiondate>${maven.build.timestamp}</revisiondate>
<docversion>4.0-draft</docversion>
<spec.version>4.0</spec.version>
<docversion>${spec.version}-draft</docversion>
</properties>
<build>
<defaultGoal>package</defaultGoal>
Expand Down Expand Up @@ -199,7 +200,7 @@
<configuration>
<attributes>
<sourceHighlighter>coderay</sourceHighlighter>
<revnumber>${project.version}</revnumber>
<revnumber>${spec.version}</revnumber>
<revremark>${status}</revremark>
<revdate>${revisiondate}</revdate>
<doctype>book</doctype>
Expand Down

0 comments on commit 22f7e77

Please sign in to comment.