[jbosstools-issues] [JBoss JIRA] (JBDS-3048) Could com.jboss.devstudio.core.central plugin pull value of currentversion.properties from parent pom instead of hardcoding it?
Nick Boldt (JIRA)
issues at jboss.org
Tue May 27 15:17:56 EDT 2014
Nick Boldt created JBDS-3048:
--------------------------------
Summary: Could com.jboss.devstudio.core.central plugin pull value of currentversion.properties from parent pom instead of hardcoding it?
Key: JBDS-3048
URL: https://issues.jboss.org/browse/JBDS-3048
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Nick Boldt
I see a new file was added after Beta2, on Apr 22:
{code:title=https://github.com/jbdevstudio/jbdevstudio-product/commit/30bec7071c11b2bfd941bde70093b5471af408cb#diff-62d4ce348c909d0dbe2c122f6b51d959R32}
default.version=8.0.0.Beta2
version=${devstudio.version}
{code}
Since this file will need to be manually updated w/ every milestone, I was wondering if we could simply pull the value out of the parent pom & root pom, which inherit these values:
{code}
${project version} = 8.0.0-SNAPSHOT
${BUILD_ALIAS} = Beta3
{code}
Then with some minor string manipulation you can produce the correct string, 8.0.0.Beta3.
(I have maven/ant code to do this, but you're in Java so YMMV.)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list