No plugin found for prefix jetty in the current project

No plugin found for prefix jetty in the current project

If you are using jetty with maven and getting below exception:

[ERROR] No plugin found for prefix ‘jetty’ in the current project and in the plugin groups [org.apache.maven.plugin
s, org.codehaus.mojo] available from the repositories [local (C:\Users\JavaHonk\.m2\repository), central (https://repo.
maven.apache.org/maven2)] -> [Help 1]

Solution: You will have to add below org.mortbay.jetty to the list of groupIds in your settings.xml that get looked up by default when running mvn:

Default minimal pom.xml file:

Leave a Reply

Your email address will not be published. Required fields are marked *