{
ClassLoader oldClassloader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getClassloader(getClasspath()));
MavenHotfixFinishExtension extensionObject = (MavenHotfixFinishExtension) getExtensionInstance(hotfixFinishExtension);
ReleaseContext ctx = new ReleaseContext(getBasedir());
ctx.setInteractive(getSettings().isInteractiveMode())
.setAutoVersionSubmodules(autoVersionSubmodules)
.setAllowSnapshots(allowSnapshots)