Maven 2 & 3

how to write integration tests