Hi All,

I'm trying to use maven archetypes programmatically to create a maven
project.

While I'm looking at the source code of the class *DefaultArchetypeManager*of
*archetype-common-2.0.jar*, I see possible NPEs from the
*generateProjectFromArchetype
*method and *createArchetypeFromProject *method. The causes are, these
methods try to invoke methods on *ArchetypeGenerator *and *ArchetypeCreator
*references without instantiating them.

Is this a known situation or a bug?


Thanks and Regards,
Harshana Martin
--
Harshana Eranga Martin
Software Engineer,
WSO2 Inc.
Web: http://wso2.com
           http://wso2.org

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05

Reply via email to