diff --git a/src/archetype/ArchetypeModule.ts b/src/archetype/ArchetypeModule.ts index 9a1a6362..316716d7 100644 --- a/src/archetype/ArchetypeModule.ts +++ b/src/archetype/ArchetypeModule.ts @@ -47,7 +47,7 @@ export class ArchetypeModule { const success: boolean = await runSteps(steps, metadata); if (success) { - if (metadata.archetype) { + if (metadata.archetypeArtifactId && metadata.archetypeGroupId && metadata.archetypeVersion) { await executeInTerminalHandler(metadata); } else { await createBasicMavenProject(metadata);