CI: Use Maven wrapper instead of system mvn #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The CI pipeline fails with
mvn: command not found(exit code 127) because the Gitea runner imagedocker.gitea.com/runner-images:ubuntu-latestdoes not ship Maven pre-installed (unlike GitHub-hosted runners).Fix: add the Maven wrapper (
mvnw+.mvn/wrapper/) to the repo and use./mvnwin the CI workflow instead ofmvn.