[jboss-jira] [JBoss JIRA] (JGRP-2471) Parse version from POM
Bela Ban (Jira)
issues at jboss.org
Wed Apr 22 07:51:29 EDT 2020
[ https://issues.redhat.com/browse/JGRP-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051174#comment-14051174 ]
Bela Ban commented on JGRP-2471:
--------------------------------
OK, so *just in the ant/ivy case*, we're extracting version and codename from the POM and copy it into {{./classes/JGROUPS_VERSION.properties}}. (In maven, this is done as part of the build process).
{{Version}} initializes itself from this file.
> Parse version from POM
> ----------------------
>
> Key: JGRP-2471
> URL: https://issues.redhat.com/browse/JGRP-2471
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 5.0.0.Alpha6
>
>
> Currently, the version is set in the POM (maven), but also in {{conf/JGROUPS_VERSION.properties}}. This is cumbersome, as we have to update both files on a release (and change the version back to {{XXX-SNAPSHOT}} after the release).
> With the introduction of maven release-plugin, modifying the file is manual work that's unwanted.
> Therefore get rid of {{JGROUPS-VERSION.properties}} and read the version directly from the POM.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list