Fix profile activation and don’t run default phases for java stuff