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.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com