[
https://issues.jboss.org/browse/FORGE-518?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III commented on FORGE-518:
------------------------------------------
Also, as a workaround, why not use the new project plugin via the shell?
{code}
@Inject Shell shell;
shell.execute("new-project foobar --... " )
{code}
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
Priority: Blocker
Labels: projectFactory.createProject
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