IDE-1721 support build service command from sb-service maven project

This code violates the DRY principle. (don't repeat yourself)

What ever logic you use in the buildService method to "figure out which projects to check for service.xml file in" we need to extract that logic into a function and call to it again here.