Skip to content

Detect maven/gradle wrapper in sub directory

mo khan requested to merge 273155-recursive into main

What does this MR do?

This change fixes a defect that occurs when a maven wrapper is present in a project that is located in a sub-directory from the root project. This occurs because the mvnw detection assumes that the mvnw is located in the root of the project rather than in a sub-directory. source

It also detects the gradlew from a sub-directory path. source

What are the relevant issue numbers?

gitlab-org/gitlab#273155 (closed)

Does this MR meet the acceptance criteria?

Edited by mo khan

Merge request reports