I have a POM file that looks like this:
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"><modelVersion>4.0.0</modelVersion><groupId>com.company.jira.plugin</groupId><artifactId>security-service</artifactId><version> ${POM_JIRAVERSION}-${BUILD_NUMBER}-SNAPSHOT</version>
I've got an HTML page where I want to display my POM version number, my version number is dynamic as you can see and changes with every build I make on Jenkins. How can I retrieve the version from the POM.xml and display it on my HTML ?