3

I have some profiles defined in my main POM, e.g.

<profiles>
    <profile>
        <id>static-analysis</id>
        ...
    </profile>
</profiles>

Then I have some Maven Invoker tests and invoker.properties file:

invoker.goals = clean test

Is there any inheritance of profiles here? Will it be correct assumption that I can use invoker.propertiesas follows?

invoker.goals = clean test
invoker.profiles = static-analysis

I cannot find anything about profile inheritance in docs.

Michal Kordas
  • 10,475
  • 7
  • 58
  • 103

0 Answers0