Home > Net >  Maven precedence : "initialize" phase vs property initialization
Maven precedence : "initialize" phase vs property initialization

Time:04-15

I have an "argLine" initialization occurring through jacoco "prepare-agent" goal bound to "initialize" phase.

I have an "argLine" initialization occuring through property declaration in a maven profile declaration.

How can I know which one is occuring first and which one needs to concatenate to the other ?

CodePudding user response:

Profiles are merged and properties are set before any phase runs.

  • Related