[forge-issues] [JBoss JIRA] (FORGE-518) projectFactory.createProjet doesn't work out of embeded plugins

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed Aug 22 13:50:15 EDT 2012


     [ https://issues.jboss.org/browse/FORGE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III updated FORGE-518:
-------------------------------------

    Fix Version/s: 1.0.7.Final


This will most likely need to be addressed in 2.0 when we develop the service module dependency framework.
                
> projectFactory.createProjet doesn't work out of embeded plugins
> ---------------------------------------------------------------
>
>                 Key: FORGE-518
>                 URL: https://issues.jboss.org/browse/FORGE-518
>             Project: Forge
>          Issue Type: Bug
>          Components: Builtin Plugins, Forge Build
>    Affects Versions: 1.0.0.Final
>         Environment: Windows XP Professional Service Pack 3 - 32 bits
>            Reporter: Guillaume Gustin
>              Labels: projectFactory.createProject
>             Fix For: 1.0.7.Final
>
>         Attachments: ajf-forge.zip, aTest-compacted.zip, forge-screenshot.png
>
>
> 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".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list