Questions tagged [maven-jetty-plugin]

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.

398 questions
6
votes
1 answer

How to enable CachingWebAppClassLoader in Jetty Maven Plugin?

I'm trying to improve startup performance of a Java web app in development environment. It uses jetty-maven-plugin and mvn jetty:run is used to start the app. I followed instructions at…
phanin
  • 5,327
  • 5
  • 32
  • 50
6
votes
0 answers

maven jetty plugin no console logs when run forked

I'm using maven jetty plugin to run my integration tests, for this I run jetty in forked mode (because I need to pass some jam args to the jvm) Everything works fine but for some reasons I don't get any of my web log in the console. When I run it…
Johny19
  • 5,364
  • 14
  • 61
  • 99
6
votes
1 answer

Enable HTTP2 with maven-jetty-plugin

I've enabled HTTP/2 connector over SSL with jetty. When I try to connect with the browser I get an 'ERR_SSL_PROTOCOL_ERROR' error. If I switch to HTTP/1.1 connector everything works fine. Here are my jetty configuration files: