[
https://issues.jboss.org/browse/JBDS-1796?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-1796:
----------------------------------
Max said:
cd<someplugin>
mvn help:effective-pom | grep BUILD_ALIAS
<BUILD_ALIAS>M3</BUILD_ALIAS>
edit the pom.xml
add<properties><BUILD_ALIAS>WONKA</BUILD_ALIAS></properties>
mvn help:effective-pom | grep BUILD_ALIAS
<BUILD_ALIAS>WONKA</BUILD_ALIAS>
thus the property is overridden.
not sure what else it is you want?
Tried that but the resulting plugins generated in the update site were NOT properly
named.
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-packaging-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<format>'v'yyyyMMdd-HHmm'-${BUILD_ALIAS}'</format>
...
Probably need to override that section too, not just the BUILD_ALIAS property.
JBDS update site builds should use .GA when parent pom has .Final as
the BUILD_ALIAS (artifact suffix)
------------------------------------------------------------------------------------------------------
Key: JBDS-1796
URL:
https://issues.jboss.org/browse/JBDS-1796
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: Build, updatesite
Affects Versions: 4.1.0.CR4, 5.0.0.M3
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 4.1.0.GA, 5.0.0.M3
Add this (or similar) to 4.1 and 5.0 _stable_branch jobs which build com.jboss
features/plugins:
{code}
# If .Final in JBT, use .GA in JBDS
if [[ $(cat ${WORKSPACE}/build/parent/pom.xml | grep
"<BUILD_ALIAS>Final</BUILD_ALIAS>") ]]; then export
MAVEN_FLAGS="${MAVEN_FLAGS} -DBUILD_ALIAS=GA"; fi;
echo $MAVEN_FLAGS
{code}
Meanwhile, JBDS product build is still controlled via the version.properties file in SVN.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira