Once the workspace is switched to the support branch you can build the system normally. E.g. use the instructions described at Installing midPoint Development Snapshot - Source Code page. Just instead of
master branch use the
v2.2-support branch (or whatever support branch name applies to the current release).