sourcepit/b2#1: Establish backward compatibility with Maven 3.1