ModuleWizardStep (@NotNull SettingsStep settingsStep) { final ModuleNameLocationSettings nameLocationSettings = settingsStep.getModuleNameLocationSettings(); if (nameLocationSettings != null && myProjectId != null && myProjectId.getArtifactId() != null) { nameLocationSettings.setModuleName(StringUtil.sanitizeJavaIdentifier(myProjectId.getArtifactId())); if (myAggregatorProject != null) { nameLocationSettings.setModuleContentRoot(myAggregatorProject.getDirectory() + "/" + myProjectId.getArtifactId()); } } return super.modifySettingsStep(settingsStep); }