Hello Siddharth

Le 2023-10-13 à 00 h 02, Siddharth Jain a écrit :

IIUC, this is a separate issue. At minimum we need to make the behavior of compile vs. testCompile consistent. Currently it is not.

Understood, but what I think is the common point is that Maven currently uses heuristic rules for making its decision. The current heuristic rules include the two points listed in MNG-7855, but I'm not sure that they are the only points. I suspect that there is more rules, intentional or not, depending on what the code is compiling. MNG-7855 can also be understood as "replace heuristic rules by developer control", which implies more predictable determinism.

    Martin

Reply via email to