The solution is to explicitly set the test ordering for the Maven Surefire tests execution to alphabetical if you need the project build be same on both systems and if the tests execution order is important.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12</version> <configuration> <runOrder>alphabetical</runOrder> </configuration> </plugin>