First of all you have to distinguish between 'modules' and 'extensions'.
A 'module' is a set of extensions to provide some functionality to the hybris platform, for example the 'print module'.
An 'extension' is one technical hybris project that provides some functionality for a module, so here the focus is on the technical architecture.
If you want to remove (for example) the 'print module', I think you have to do the following steps:
- Look for all dependencies between the extensions for the module
- Remove them from the 'localextensions.xml'
- Do an 'ant clean all' to remove the old generated files and create only the needed ones
- Do an Update on the hybris system in the /hac to update the database to the current stand
- Look in the /hac for the 'remove orphaned types', that will delete all models that are not used anymore
So this I think are the default steps.