JBDS-3185 add exception for build/build.parent and parameterize the method used for JBT and JBDS projects so it's easier to maintain