Search code examples
javamavenm2eclipse

Using maven console with m2eclipse


Maven newb here.. Is there any way to open a console in eclipse and execute maven commands on the M2Eclipse plugin? It's a pretty nice plugin but I'm looking around and not finding some of the functionalities that I want. Thanks!


Solution

  • If you want to run a specific maven plugin, You can do this

    ==> Right click on pom.xml ==> Run as ==> Maven build ==> It will open a pop up

    You can type the goal that you want run, Type your goal in the Goals: input box

    Goal : compile ==> Run

    This will run compile goal.