Quantcast
Channel: Active questions tagged atlassian-plugin-sdk - Stack Overflow
Viewing all articles
Browse latest Browse all 282

retrieve POM version and display on the frontend

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>