In my pom.xml I have
which worked fine.
After switching to ci-friendly pom.xml with revision and flatten the published .flattened-pom.xml contains absolute path:
(which is the temporary path of our jenkins container)
and so other projects using that pom.xml as parent will fail to activate the profile.
This came in with
MNG-1775 or a related issue via adding