Fix pom.xml, disable swing module, fix configurations.