Skip to content

Commit

Permalink
Add Implementation-Version to Manifests via pom.xml
Browse files Browse the repository at this point in the history
The /getStatus endpoints in the web UI were returning a null
version since the build was switched to Maven.

It is probably now possible to remove the individual manifest files
but I have left them as they are for now so we can still build with
cmake if we wish.
  • Loading branch information
ckelleyRH committed Jul 20, 2023
1 parent 41529ee commit 2a407d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,18 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifestEntries>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 2a407d0

Please sign in to comment.