Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-518

projectFactory.createProjet doesn't work out of embeded plugins

XMLWordPrintable

    • Hide

      copy the embeded "new-project plugin" as "new-new-project external plugin", install it with "forge source-plugin myNewNewProjectPluginDir" then launch the "new-new-project" without any attached project.

      Show
      copy the embeded "new-project plugin" as "new-new-project external plugin", install it with "forge source-plugin myNewNewProjectPluginDir" then launch the "new-new-project" without any attached project.

      I want to create a new plugin which allow to create a solution (set of projects) based on a specific solution model. But when the forge execute the project building code "projectFactory.createProject(targetProjectDir, DependencyFacet.class, MetadataFacet.class, JavaSourceFacet.class, ResourceFacet.class)" i receive the exception "org.jboss.forge.project.ProjectModelException" with the message "Could not create Maven project building request"
      When i fire my new plugin, my forge promps is "[no project] myTempdir $ ", I have the same exception when I copy the "new-project plugin" as "new-new-project plugin".

        1. ajf-forge.zip
          741 kB
        2. aTest-compacted.zip
          1 kB
        3. forge-screenshot.png
          forge-screenshot.png
          15 kB

            Unassigned Unassigned
            guillaumegus Guillaume Gustin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: