Java Maven builds have failed without any changes to the build scripts.

Issue

Java Maven builds have failed without any changes to the build scripts.

Resolution

We've added Maven Wrapper support to our Java Buildpack. If your build output has any lines matching:

 remote: -----> Executing: ./mvnw -B ...

Can you try either:

  • Removing the mvnw script from the repo
  • Adding maven.version=3.3.9 to the system.properties file.

If neither of these solutions fixes your problem, please can you raise a new support ticket.