Skip to content

victornoel/may

Repository files navigation

Installation

See https://www.irit.fr/redmine/projects/may/wiki/MAY_Install

Release procedure:

To release a new version of MAY, follow the instructions in the README of https://github.com/victornoel/smac-poms as well as the important points below.

Important point:
1) Tycho needs the Eclipse files in the various modules, so import them at least once with Eclipse
2) The parent is in the fr.irit.smac.may.speadl.parent folder, not at the root
3) The versioning with Tycho is particular (and not usual): released OSGI artefact still have a qualifier (the date at the end of the version number) while the maven artefacts do not.
So it is needed to replace the step 4) with with the following:
$ mvn -Dtycho.mode=maven versions:set -DnewVersion=1.2.1-SNAPSHOT
$ mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.2.2-SNAPSHOT

To deploy the update site, follow these instructions:
1) Checkout this repository gh-pages in a folder next to this one:
$ cd ../
$ git clone -b gh-pages https://github.com/victornoel/may.git may-gh-pages
$ cd ../may/fr.irit.smac.may.speadl.updatesite/

2) Merge the release into the repository:
$ mvn -Dtycho.mode=maven -Dfinal-update-site=../../may-gh-pages/update-may-3 tycho-p2-extras:publish-features-and-bundles tycho-p2:category-p2-metadata

3) Commit, tag and release the version
$ cd ../../may-gh-pages/
$ git add .
$ git commit -m "v1.2.1 release"
$ git push