I needed to update my maven version to 3.6.3 (I had 3.3.3 before).
I updated the system variables, the M2_HOME, changed the Path also, modified in intellij from file ->