-
Notifications
You must be signed in to change notification settings - Fork 71
[0] Build and Release process
NOTICE: many servers have now disabled SSLv3 because of POODLE; to successfully build the project you will need maven version 3.2.5 or later.
These are the step to manually produce a new release version:
-
update all the pom.xml versions:
mvn org.eclipse.tycho:tycho-versions-plugin:0.19.0:set-version -DnewVersion=1.0.2 -Dnotes-platform=url to a notes p2 repository
*Learn more about the P2 repository here - https://github.com/OpenNTF/SocialSDK/wiki/Generating-a-notes-platform
-
create a full build (add -Dmaven.test.skip=true if necessary):
mvn clean verify -Dnotes-platform=url to a notes p2 repository
-
save the assembled kit from the assembly\target\kit folder somewhere outside the project
-
create a partial build signed for central (this will not include domino build)
mvn clean verify javadoc:aggregate gpg:sign install:install deploy:deploy
*make sure your settings.xml has the server copied from sonatype
-
go to the sonatype dashboard
-
close the release and promote it
-
create a commit with all the changed files. this will be the commit to tag
-
update the version to the next snapshot version (i.e. released 1.0.2, upgrade to 1.0.3-SNAPSHOT)
mvn org.eclipse.tycho:tycho-versions-plugin:0.19.0:set-version -DnewVersion=1.0.3-SNAPSHOT -Dnotes-platform=url to a notes p2 repository
-
manually check each pom.xml and MANIFEST.MF file to see that version numbers are all changed correctly
-
create a commit with the changed files
-
push the two commits to the repository
-
create a tag from the first commit, the one with the release number in the poms
-
create a release on github for the given tag, attach zipped&tarred kits saved at 3