-
Notifications
You must be signed in to change notification settings - Fork 70
Deploying
To deploy the project to the snapshot repository you need to modify your settings.xml
with the additional fragment (update with your GitHub login name and password):
<profiles>
<profile>
<id>github</id>
<properties>
<github.global.userName>user</github.global.userName>
<github.global.password>password</github.global.password>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>
To deploy the p2 repository to the update site, from the com.*.update
site execute:
mvn com.github.github:site-maven-plugin:site
To release a new version execute the following commands:
git checkout -b release-<version>
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>
Check the release passes its test:
mvn clean install
Then tag the release:
git commit -am "Release <version>"
git tag -a <version> -m "Release <version>"
git push origin master --tags
Wait for the master/snapshot CI job to complete, then run:
mvn -pl me.gladwell.eclipse.m2e.android.update com.github.github:site-maven-plugin:site -P release
Once this has completed you are ready to switch the trunk to the new SNAPSHOT version:
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<new version>-SNAPSHOT`
Run a test build and push the updated code to the master repo:
mvn clean install
git commit -am "Candidate <new version>-SNAPSHOT"`
git checkout master
git merge release-<version>
git push origin master
git branch -d release-<version>
-
Update M2E Catalog: update the
iuVersion
in thecatalog.xml
m2e Discovery Catalog descriptor in-line with the new release version. -
Update the Eclipse Marketplace version.