[
https://issues.jboss.org/browse/FORGE-518?page=com.atlassian.jira.plugin....
]
Vincent Claeysen commented on FORGE-518:
----------------------------------------
When you try to reproduce the "bug", it is very "IMPORTANT" to not
attach the forge context to a valid project, the forge prompt must be "[no project]
xxx $ "
Concerning the error, I have nothing else than the following message :
"org.jboss.forge.project.ProjectModelException" with the message "Could not
create Maven project building request + a Nullpointer Exception in my code. I don't
know, if it is important but we are working with "Maven 3.0.4" and "un JDK
1.6.0_25"
For firing the plugin - after registration with : "forge source-plugin xxxx" -
type "ajf-solution compacted". The exception is throwed in the class
"am.ajf.forge.core.WebProjectGeneration" in the method
"generateProject" row 131, in the statement :
> // Create Project
> project = projectFactory.createProject(dir,
> DependencyFacet.class, MetadataFacet.class,
> JavaSourceFacet.class, ResourceFacet.class);
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
Attachments: ajf-forge.zip
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