Surefire need maven 3 to be build. But in order to test it tests you can do: * -DmavenHomeUsed= path to a maven 2.x home * or -Pmaven-2.2.1 this profile will download a maven 2.2.1 distrib and use it for integration tests.
Surefire need maven 3 to be build. But in order to test it tests you can do: * -DmavenHomeUsed= path to a maven 2.x home * or -Pmaven-2.2.1 this profile will download a maven 2.2.1 distrib and use it for integration tests.