I set up a new webapp Maven project and wanted to test it with Jetty’s Maven plugin.
So I issued the console command: mvn jetty:run
After defining the pluginGroup in Maven’s settings file I ran once again the command.
Unfortunately, it failed because I was using one of the below mentioned versions of the plugin:
Why are there 2 Maven based plugins for achieving the same thing – running Jetty? Why do they have to bring so much confusion?
Or be so kind as to explain me the differences between them.
With Jetty7 this plugin was renamed to jetty-maven-plugin to better conform to maven2 convention. The Jetty 7 version of the plugin has also undergone substantial changes in configuration. For more information, see the Jetty 7 Maven Plugin feature guide.
See the docs here