MAVEN-53 Make sure the classpath is in correct order