Using variables from previous maven phases : <p>I created a mojo intended to just run test cases. In the <code>compile</code> phase of my mojo, the only thing I do is to obtain a list of paths for running dynamic tests with TestNG. However when the test phase is reached, the list has no longer anything inside it.</p>

<p>Should I move my mojo's goal execution to another phase? How should be this implementation?</p>
