You can do this in Settings > Keymap. On the top left, you can search for "maven", then in the Keymap section, under Maven, you can "Choose a phase/goal to assign a shortcut".