Building and Sharing Your P2 Fortress with Tycho and Nexus
So you want to build an elegant RCP/Osgi fortress but can't figure out how to put the pieces together, or even where to get the pieces? Look no further; I will dive into how we construct our RCP 'fortress', how we gather the building blocks with tycho, and how we put it all together and share it with fellow artisans in nexus repositories.
Our development team is unique in that we're not only responsible for our own solutions, but provide reusable components within our platform for other teams to consume. It would be nice if we could find a way to bundle all these plugins, which make up pieces of functionality consumers want, into individual components that could be hosted in a reliable (maven) repository wouldn't it? As a solution, we have leveraged Eclipse Tycho to build and package these reusable components, and host them in the same nexus repositories our teams use for our Eclipse plugins with the use of the Tycho Nexus Unzip Plugin.
I'll be going into detail on how to setup and build these components (Eclipse features), how we and others consume them with the Unzip Plugin (in Eclipse Products), and general considerations for maintaining your structurally sound RCP fortress.