Hello, I need in my unit test (My customized mojo unit test) to run a "mvn clean install"

but I don't understand the mechanism, any one have a piece of code to do this, please ?

example:

        MavenProject pom =
maven.readProject( new File(ComponentWithAdditionalResources.SRC_HOME,
          "pom.xml"));

        pom.execute("clean install");

or something ? thank

--
Adrien Ruffié
- Ingénieur de recherches et développements
- Scrum Team member


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to