Context. Massive star formation remains one of the most challenging problems in astrophysics, as illustrated by the fundamental issues of the radiative pressure barrier and the initial fragmentation. The wide variety of physical processes involved, in particular the protostellar radiative feedback, increase the complexity of massive star formation in comparison with its low-mass counterpart. Aims. We aim to study the details of mass accretion and ejection in the vicinity of massive star forming cores using high-resolution (5 au) three-dimensional numerical simulations. We investigated the mechanisms at the origin of outflows (radiative force versus magnetic acceleration). We characterised the properties of the disc forming around massive pr...