maven-jetty-plugin is a Maven plug-in which embeds the Jetty webserver within a Maven build. It is configured in the Maven POM file. It is extremely useful for Rapid Application Development.
You may encounter issues understanding which Jetty Maven Plugin to use due to its recent history of moves between one project owner to another (more recently from codehaus.org to eclipse.org) and its different groupIds (org.mortbay.jetty
vs org.eclipse.jetty
).
Depending on the version of Jetty to use, you should know that:
- Jetty up to version 6 is no longer supported by codehaus.org;
- Jetty from version 7 to 8 are EOL (End Of Life), see Jetty Maven plugin.
- Jetty version 9 is currently hosted by eclipse.org, see Jetty Maven Plugin
This tag should be used for questions on versions (and group ids) mentioned above. However, it is recommended to use org.eclipse.jetty
as latest groupId and well maintained version.