[jbosstools-issues] [JBoss JIRA] (JBDS-3048) Could com.jboss.devstudio.core.central plugin inherit values in currentversion.properties from parent & root pom instead of hardcoding it?
Fred Bricon (JIRA)
issues at jboss.org
Mon Jun 16 07:04:24 EDT 2014
[ https://issues.jboss.org/browse/JBDS-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Bricon updated JBDS-3048:
------------------------------
CDW release: ?
Status: New (was: New)
Target Release: 8.0.0.GA
> Could com.jboss.devstudio.core.central plugin inherit values in currentversion.properties from parent & root 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)
> Components: build, central
> Affects Versions: 8.0.0.Beta2
> Reporter: Nick Boldt
> Assignee: Fred Bricon
> Fix For: 8.0.0.Beta3
>
>
> 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.6#6264)
More information about the jbosstools-issues
mailing list