apache / apache/maven-mvnd

mvnd site:run stays running after mvnd process stops

Open
#1,044 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

The embedded Jetty instance stays running after the `mvnd` bin process is stopped.

Tested with versions: 1.0.0 and 1.0.1 (currently under vote)

Steps to repro:
Clone https://github.com/apache/maven-site

Run `mvnd site:run`

open `http://localhost:8080/` (everything works fine)
Back in your terminal kill the process: `^C`

Refresh your browser (pages still load)
run `mvnd --stop` to kill the embedded jetty process

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with `mvnd site:run`, then stop the `mvnd` process with `^C` and verify whether `http://localhost:8080/` still serves pages. Trace the `site:run` process lifecycle and embedded Jetty shutdown handling; done means stopping `mvnd` also makes the embedded Jetty unavailable, without requiring `mvnd --stop`.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.