samedi 2 mars 2019

Invoking the compile lifecycle phase to test my source generating maven plugin

I am writing a maven plugin that generates source code. I have created my plugin project using the maven-archetype-plugin archetype.

This archetype generates 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?

Aucun commentaire:

Enregistrer un commentaire