{
ClassLoader oldClassloader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getClassloader(getClasspath()));
MavenReleaseStartExtension extensionObject = (MavenReleaseStartExtension) getExtensionInstance(releaseStartExtension);
ReleaseContext ctx = new ReleaseContext(getBasedir());
ctx.setAutoVersionSubmodules(autoVersionSubmodules)
.setInteractive(getSettings().isInteractiveMode())
.setDefaultReleaseVersion(releaseVersion)