I have the following profiles in my parent pom
P1 true
Remove the P2 from the second profile that has the file based activation.
P1 true P2 ${basedir}/dir/