use MavenLauncher interface to execute build

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544914 13f79535-47bb-0310-9956-ffa450edef68
changed Embedded3xLauncher constructor to allow reuse

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544915 13f79535-47bb-0310-9956-ffa450edef68
deduplicated code in Classpath3x and Embedded3x launchers

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544916 13f79535-47bb-0310-9956-ffa450edef68
don't fork maven to determine version in embedded mode

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544917 13f79535-47bb-0310-9956-ffa450edef68
Introduced forkMode=embedded to explicitly request embedded mode

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544918 13f79535-47bb-0310-9956-ffa450edef68
Introduced hooks to support IDE workspace dependency resolution

New -Dmaven.bootclasspath and -Dclassworlds.conf allow an IDE like
m2e control contents of Maven runtime used by verifier embedded
mode and use classes from IDE workspace instead of deployed
or installed artifacts.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544919 13f79535-47bb-0310-9956-ffa450edef68
generics fixes

Chnaged environment variables to be Map<Sring,String>, not properties.
Introduced deprecated #filterFile(String, String, String, Properties).

Both changes were necessary to switch maven core ITs to latest
Verifier.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1544920 13f79535-47bb-0310-9956-ffa450edef68