Maven 2 & 3

maven should execute compiler:compile and :test-compile in separate executions, to allow separate configuration