CI: Use Maven wrapper instead of system mvn #25

Closed
opened 2026-03-27 15:57:47 +00:00 by thib8956 · 0 comments
Owner

The CI pipeline fails with mvn: command not found (exit code 127) because the Gitea runner image docker.gitea.com/runner-images:ubuntu-latest does not ship Maven pre-installed (unlike GitHub-hosted runners).

Fix: add the Maven wrapper (mvnw + .mvn/wrapper/) to the repo and use ./mvnw in the CI workflow instead of mvn.

The CI pipeline fails with `mvn: command not found` (exit code 127) because the Gitea runner image `docker.gitea.com/runner-images:ubuntu-latest` does not ship Maven pre-installed (unlike GitHub-hosted runners). Fix: add the Maven wrapper (`mvnw` + `.mvn/wrapper/`) to the repo and use `./mvnw` in the CI workflow instead of `mvn`.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: thib8956/new-shapes#25