I am writing a maven plugin that generates source code. I have created my plugin project using the maven-archetype-plugin
archetype.
The maven-archetype-plugin
archetype creates a project-to-test
under src/test/resources
.
I would like to execute the compile
lifecycle on this project as part of an automated test. What is the right way to do this?