An example of how to create a p2 composite update site during the build, as described in this post: http://www.lorenzobettini.it/2015/01/creating-p2-composite-repositories-during-the-build/
and how to publish it on Sourceforge, as described in this post: http://www.lorenzobettini.it/2015/01/publish-an-eclipse-p2-repository-on-sourceforge-with-rsync/