Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to execute "mvn jetty:run" #52

Open
GeraldScott opened this issue Oct 13, 2015 · 1 comment
Open

Unable to execute "mvn jetty:run" #52

GeraldScott opened this issue Oct 13, 2015 · 1 comment

Comments

@GeraldScott
Copy link
Contributor

I tried to run the application using "mvn jetty:run" but got this error:

No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/geraldo/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]

I am using openjdk-8 and maven 3 on Debian Jessie.

I resolved it by editing the gameoflife-web/pom.xml to replace

<groupId>org.mortbay.jetty</groupId>

with

<groupId>org.eclipse.jetty</groupId>

I also had to add org.eclipse.jetty as new pluginGroup in my Maven settings.xml.

The maven target executed after that.

PS I opened an issue even though I resolved it in case someone else hit the same problem.

@schottsfired
Copy link
Contributor

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants