[jbosstools-issues] [JBoss JIRA] Updated: (JBDS-1796) JBDS update site builds should use .GA when parent pom has .Final as the BUILD_ALIAS (artifact suffix)

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Jul 26 12:29:23 EDT 2011


     [ https://issues.jboss.org/browse/JBDS-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBDS-1796:
-----------------------------

    Attachment: JBDS-1796_1.patch
                JBDS-1796_2.patch


More testing done. 

* Using just a property: doesn't work.
* Overriding the maven-osgi-packaging-plugin config in the pom.xml: doesn't work (see first patch).
* Overriding the maven-osgi-packaging-plugin config in the pom.xml w/ a different property: doesn't work (see second patch).

ONLY thing that works is using commandline override via -D flag:

{code}
-DBUILD_ALIAS=FOOBARBAZ
{code}

So... back to my solution.


> 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
>
>         Attachments: JBDS-1796_1.patch, JBDS-1796_2.patch
>
>
> 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

        


More information about the jbosstools-issues mailing list