Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3565

Couldn't create maven module project begin with npm

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Modules, Projects > Maven
    • Labels:
      None

      Description

      1.open new module project wizard

      2.select maven

      3.select template begin with npm

      Error log:

      org.eclipse.core.runtime.CoreException: Unable to create project from archetype [com.liferay:com.liferay.project.templates.npm.angular.portlet:1.0.0]
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:849)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:791)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$5.call(ProjectConfigurationManager.java:1)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
      at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:789)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects(ProjectConfigurationManager.java:775)
      at com.liferay.ide.maven.core.NewMavenModuleProjectProvider.createNewProject(NewMavenModuleProjectProvider.java:112)
      at com.liferay.ide.maven.core.NewMavenModuleProjectProvider.createNewProject(NewMavenModuleProjectProvider.java:1)
      at com.liferay.ide.project.core.modules.NewLiferayModuleProjectOpMethods.execute(NewLiferayModuleProjectOpMethods.java:75)
      at com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:398)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:362)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Caused by: org.apache.maven.archetype.exception.ArchetypeNotConfigured: Archetype com.liferay:com.liferay.project.templates.npm.angular.portlet:1.0.0 is not configured
      Property packageJsonVersion is missing.
      at org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator.generateArchetype(DefaultFilesetArchetypeGenerator.java:129)
      at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.processFileSetArchetype(DefaultArchetypeGenerator.java:129)
      at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:100)
      at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:143)
      at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:169)
      at org.apache.maven.archetype.DefaultArchetypeManager.generateProjectFromArchetype(DefaultArchetypeManager.java:73)
      at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.createArchetypeProjects0(ProjectConfigurationManager.java:843)
      ... 15 more

        Attachments

          Activity

            People

            • Assignee:
              joye.luo Joye Luo (Inactive)
              Reporter:
              ying.xu Ying Xu (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 36 weeks, 1 day ago

                Packages

                Version Package