The Maven team is pleased to announce the release of the Maven Invoker,
version 2.1
With this component it is possible to programmatically invoke Maven.
http://maven.apache.org/shared/maven-invoker/
To use the Maven Invoker, add the following dependency to your project:
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-invoker</artifactId>
<version>2.1</version>
</dependency>
Release Notes - Maven Shared Components - Version maven-invoker-2.1
** Bug
* [MSHARED-153] - Upgrade plexus-utils to avoid potential deadlocks in
versions prior to 2.0.5
** Improvement
* [MSHARED-187] - Added option to execute a maven build with alsoMake
and alsoMakeDependents
* [MSHARED-246] - Add option for T / threads
* [MSHARED-247] - Add option for global-settings
* [MSHARED-248] - Add option for toolchains
* [MSHARED-251] - Option to change from mvn executable to mvnDebug
executable
* [MSHARED-254] - Use plexus annotations to generate components
descriptor
** Task
* [MSHARED-249] - Add option for --resume-from
Enjoy,
-The Maven team