Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2013-05-03 12:24:05 -0400
committerFred Bricon2013-05-03 12:24:05 -0400
commited1fa93dad88a57a3f8aa44f64c97755832df0c7 (patch)
treee1ac6d688389c29068878838b0bfaa3fb39894b2
parentb9b36b6e8c9ea33dc50b3ec04e0faddcfd42db4d (diff)
downloadm2e-core-ed1fa93dad88a57a3f8aa44f64c97755832df0c7.tar.gz
m2e-core-ed1fa93dad88a57a3f8aa44f64c97755832df0c7.tar.xz
m2e-core-ed1fa93dad88a57a3f8aa44f64c97755832df0c7.zip
407187 : fix simple module project creation
Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
index 67dac3a8..dc519f9f 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MavenModuleWizard.java
@@ -123,7 +123,9 @@ public class MavenModuleWizard extends AbstractMavenProjectWizard implements INe
parentPage.addArchetypeSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
- archetypePage.setUsed(!parentPage.isSimpleProject());
+ boolean isArchetype = !parentPage.isSimpleProject();
+ archetypePage.setUsed(isArchetype);
+ parametersPage.setUsed(isArchetype);
}
});

Back to the top