How do I install a Maven plugin?

How do I install a Maven plugin?

Install the Maven Plugin. Go to Help > Install New Software. Open the “General Purpose Tools” or the “Collaboration” element in the checklist. Next, take a look at the m2e elements. After that, you need to choose “I accept the terms…”. Click OK.