]
Nick Boldt edited comment on JBIDE-19919 at 6/5/15 5:36 PM:
------------------------------------------------------------
Seems that the root pom in the Beta1 branch references the Beta2 parent pom, because the
change to use Beta2 parent pom happened BEFORE the Beta1x branch was created.
So... org.jboss.tools.foundation.core thinks it's version 4.3.0.Beta2, not Beta1. This
will confuse ide-config.properties into resolving the wrong version of Central. :(
was (Author: nickboldt):
Seems that the root pom in the Beta1 branch references the Beta2 parent pom, because the
change to use Beta2 parent pom happened BEFORE the Beta1x branch was created.
So... org.jboss.tools.foundation.core thinks it's version 4.3.0.Beta2, not Beta1. This
will confuse ide-config.properties into resolving the wrong version of Central. :(
For JBIDE 4.3.0.Beta1: Code Freeze + Branch [Base]
--------------------------------------------------
Key: JBIDE-19919
URL:
https://issues.jboss.org/browse/JBIDE-19919
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: common/jst/core, usage
Reporter: Nick Boldt
Assignee: Alexey Kazakov
Priority: Blocker
Labels: task
Fix For: 4.3.0.Beta1
For JBIDE 4.3.0.Beta1 [Base]: Please perform the following tasks:
0. If nothing has changed in your component since the creation of the 4.2.x branch (eg.,
Portal, Freemarker), *{color:red}Reject this JIRA{color}*.
Otherwise:
0. Make sure your component has no remaining unresolved JIRAs set for fixVersion =
4.3.0.Beta1
[Unresolved JIRAs with fixVersion = 4.3.0.Beta1,
9.0.0.Beta1|https://issues.jboss.org/issues/?jql=%28%28project%20%3D%20%2...]
1. Ensure your component features/plugins have been [properly
upversioned|http://wiki.eclipse.org/Version_Numbering#Overall_example], eg., from 1.0.0 to
1.1.0, or from 1.2.2 to 1.2.100.
*NOTE:* If you already did this for your master branch, you do *not* need to do so again.
Please also ensure that the version of your code in the master branch is *greater* than
your code in the 4.2.x branch.
{code}
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.22.0:set-version
-DnewVersion=4.3.0-SNAPSHOT
{code}
2. Update your root pom to use parent pom version 4.3.0.Beta1-SNAPSHOT;
{code}
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>4.3.0.Beta1-SNAPSHOT</version>
</parent>
{code}
3. Ensure you've built & run your plugin tests using the latest target platform
version 4.50.0.Beta1;
{code}
mvn clean verify -Dtpc.version=4.50.0.Beta1-SNAPSHOT # (if the TP is still a SNAPSHOT)
or
mvn clean verify -Dtpc.version=4.50.0.Beta1 # (if the TP is already released)
{code}
4. Branch from your existing master branch into a new
*{color:blue}jbosstools-4.3.0.Beta1x{color}* branch;
{code}
git checkout master
git pull origin master
git checkout -b jbosstools-4.3.0.Beta1x
git push origin jbosstools-4.3.0.Beta1x
{code}
5. *NOW THAT YOU HAVE BRANCHED*, check out your *{color:orange}master branch{color}*.
{code}
git checkout master
git pull origin master
{code}
6. Update your *{color:orange}master branch{color}* parent pom to use the latest version,
*{color:orange}4.3.0.Beta2-SNAPSHOT{color}*:
{code}
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>4.3.0.Beta2-SNAPSHOT</version>
</parent>
{code}
Now, your root pom will use parent pom version:
* *{color:blue}4.3.0.Beta1-SNAPSHOT{color}* in your
*{color:blue}jbosstools-4.3.0.Beta1x{color}* branch, and
* *{color:orange}4.3.0.Beta2-SNAPSHOT{color}* in your *{color:orange}master{color}* bran
7. Close (do not resolve) this JIRA when done.
8. If you have any outstanding [New + Noteworthy
JIRAs|https://issues.jboss.org/issues/?jql=%28%28project%20in%20%28JBDS%2...]
to do, please complete them next.
[Search for all task
JIRA|https://issues.jboss.org/issues/?jql=%28%28project+in+%28JBDS%29+and...],
or [Search for Base task
JIRA|https://issues.jboss.org/issues/?jql=%28%28project+in+%28JBDS%29+and...]