[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=comments#action_66866 ]
Eugene Kuleshov commented on MNGECLIPSE-130: -------------------------------------------- Philip, if you actually interested in need executing archetypes it would make sense to talk to Jason and make sure that embedder have an API to resolve artifacts. Then we can provide generic wizard that would be able to handle any kind of artifacts. In case if artifacts would require some kind of complex UI it would make sense to expose extension point in the plugin, so you will be able to contribute your own panels or wizard pages up there. All in all, I don't think that calling some methods in plugin is really good idea. If you want to execute something nothing actually stops you from using your oen embedder instance. Actually that can be made even easier to you if embedder would be an OSGi bundle (essentially few attributes in manifest), so you can bug Jason and the rest of Maven folks about it. > Extending the Maven Plugin to allow reuse from other plugins > ------------------------------------------------------------ > > Key: MNGECLIPSE-130 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-130 > Project: Maven 2.x Extension for Eclipse > Type: New Feature > Versions: 0.0.9 > Environment: Eclipse 3.1 > Reporter: Philip Dodds > Assignee: Eugene Kuleshov > Attachments: newMethod.patch > > > I am currently working to build out some tooling around the ServiceMix/FUSE > platform and I have been successful at integrating the Maven2 Eclipse Plugin > to allow the re-use of the archetype plugin in Eclipse (ie. a wizard using > the archetype under the hood) and also the working with using the JBI plugins > to enable integration with publishing to servers. > In order to maximise reuse I wanted to leverage the Maven 2 Eclipse Plugin to > provide access to the MavenEmbedded infrastructure, however it required some > changes to the plugin to provide access from other plugins and to give a > clean simple interface. > Can you review the attached patch for the Maven 2 plugin that offers the > required functionality > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira