Instructions on how to install Apache Maven on macOS.
First step should be to unsinstall any previous Apache Maven installation. This step can be skipped if no Apache Maven version was previously installed.
This will completelly remove any Apache Maven version previously installed.