Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the user-provided mvnw wrapper script is executable (#133)
If a developer has accidentally changed the permissions on their `mvnw` executable they should be able to deploy. GUS-W-9689448 Previously if the `mvnw` file was not executable this would error: ``` [Installing Java] JDK 1.8 installed JRE 1.8 installed [Installing Maven] [INFO] Maven wrapper detected, skipping installation. [Executing Maven] [INFO] $ ./mvnw -DskipTests clean install ERROR: failed to build: exit status 1 stderr: /cnb/buildpacks/heroku_maven/0.2.5/bin/build: line 188: ./mvnw: Permission denied [ERROR: Failed to build app with Maven] We're sorry this build is failing! If you can't find the issue in application code, please submit a ticket so we can help: https://help.heroku.com/ ERROR: failed to build: executing lifecycle: failed with status code: 145 ``` Co-authored-by: Ed Morley <[email protected]>
- Loading branch information