Maven 3.6.2 breaks Eclipse Tycho POM-less builds

Maven 3.6.2 introduced a regression MNG-6765, which breaks Eclipse/Tcyho POM-less builds. The bug is fixed in Maven 3.6.3 (Release Notes).

Travis-ci has recently adopted Maven 3.6.2, and this has resulted in my Eclipse plug-in builds failing.

Two questions:

  • is it possible to explicitly configure a Maven version in a travis-ci build?
  • how do I request that Travis-CI either adopt Maven 3.6.3 or revert to an earlier version?

Adopting Maven Wrapper has allowed me to work around this issue by specifying a specific Maven version in my build.

Specifically, I ran:

mvn -N io.takari:maven:wrapper -Dmaven=3.6.3

Then checked in the following files:

mvnw
mvnw.cmd
.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.properties
.mvn/wrapper/MavenWrapperDownloader.java