No, I have tried 2 versions:
<jettyVersion>9.0.2.v20130417</jettyVersion>
and
<jettyVersion>9.3.9.v20160517</jettyVersion>
and unfortunately "mvn jetty:stop" is not known:
mvn jetty:stop
[INFO] Scanning for projects...
Downloading:
https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
(13 KB at 14.6 KB/sec)
Downloaded:
https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
(20 KB at 22.1 KB/sec)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.973 s
[INFO] Finished at: 2016-05-24T22:11:53+02:00
[INFO] Final Memory: 10M/155M
[INFO]
------------------------------------------------------------------------
[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 (/Users/afarber/.m2/repository), central (
https://repo.maven.apache.org/maven2)] -> [Help 1]
I have also tried "mvn jetty-server:stop" and also "start" and "run".
Currently my workaround to kill the example embedded Jetty is to run:
# ps -ef | awk '/HelloWorld/ {print $2}' | xargs kill
Regards
Alex
On Tue, May 24, 2016 at 9:09 PM, Simone Bordet <[email protected]> wrote:
>
> Unfortunately I don't use NetBeans, but the proper command would be:
>
> mvn jetty:stop
>
> issued from the same directory from where "mvn jetty:run" was launched.
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users