Odziedziczone profile w Maven

Mam następujące profile w moim macierzystym pom

<profile>
    <id>P1</id>
    <activation>
        <activeByDefault>true</activeByDefault>
    </activation>
</profile>

<profile>
    <id>P2</id>
    <activation>
        <file>
            <exists>${project.basedir}/src/main/whatever</exists>
        </file>
    </activation>
</profile>

Dlaczego P1 jest aktywny w dziecku POM, a P2 nie?

Katalog${project.basedir}/src/main/whatever, nie istnieje w projekcie nadrzędnym, ale istnieje w podrzędnym.

questionAnswers(5)

yourAnswerToTheQuestion