build-profile: enhance pom.xml to handle NCM components template files if present