LPS-32502 OSGi components should end up in the osgi/portal folder. Extract the path to a common build file.

If a module needs to be deployed to a different path it should be override the deploy.dir variable in its build.xml file