Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.92 KB

development.md

File metadata and controls

61 lines (43 loc) · 1.92 KB

Development

Continuous Integration

folder contains docker configuration for sonarqube installation. To execute sonar check it is required to run docker installation first

docker-compose

or by running shell script in this directory

./start-sonar.sh

After running that website will be available on default sonar port localhost:9000

Running Quality Check

To check plugin by sonar, run maven task:

mvn clean verify sonar:sonar

Results will be available on your local website

Generating Release Notes

Release notes are generated thanks to gren.

Incrementing project version

It is required to change project version before releasing latest changes. To do that it is possible to use one of Tycho functionalities for that

git flow release start 1.5.0
# create release version
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.5.0.RELEASE
# add all changes to git and push to your repository (i.e. feature.xml, MANIFEST.MF and pom.xml)
mvn clean install
rm -rf updatesite/neon && cp -R com.hybris.hyeclipse.site/target/repository updatesite/neon
# push all changes to your git repository
git add updatesite/neon/* updatesite/neon/*/* */*/MANIFEST.MF */pom.xml */feature.xml pom.xml
git commit -m "bumping version to 1.5.0"
# git add <changed files>
git push origin master
git flow release finish
gren release -T <github-token> --tags v1.5.0 v<last-one>
## go to github.com and update release notes by adding zip file which is found in
## com.hybris.hyeclipse.site/target/com.hybris.hyeclipse.site-1.5.0.RELEASE.zip
gren changelog -T <github-token> -G --tags=all --override
# create pull request on github.com from your private repository
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.5.1-SNAPSHOT
git add */*/MANIFEST.MF */pom.xml */feature.xml pom.xml CHANGELOG.md