You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Philip Dodds (JIRA)" <ji...@codehaus.org> on 2006/05/31 19:51:43 UTC
[jira] Created: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
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
Assigned to: 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
[jira] Commented: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Philip Dodds (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=comments#action_67112 ]
Philip Dodds commented on MNGECLIPSE-130:
-----------------------------------------
Actual the use cases extend beyond a simple archetype, though I do see your point about placing that inside Mavens code.
Really the aim was to reuse the Console and the M2 embedded integration with that, since I want to be able to a run Maven 2 goals from an Eclipse plugin and have it log to the M2 Console etc, also reusing the prefences (ie. local repo/logging).
> 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
[jira] Updated: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Philip Dodds (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=all ]
Philip Dodds updated MNGECLIPSE-130:
------------------------------------
Attachment: maven2plugin-methods.patch
> 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: maven2plugin-methods.patch, 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
[jira] Commented: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=comments#action_67669 ]
Eugene Kuleshov commented on MNGECLIPSE-130:
--------------------------------------------
I've applied part of the patch that exposes getMavenExecutionRequest() method.
Methods addNatures and updateSourceFolders() are not ready to be made public API.
> 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: maven2plugin-methods.patch, maven2plugin-methods.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
[jira] Commented: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=all ]
Eugene Kuleshov updated MNGECLIPSE-130:
---------------------------------------
Attachment: (was: newMethod.patch)
> 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: maven2plugin-methods.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
[jira] Updated: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=all ]
Eugene Kuleshov updated MNGECLIPSE-130:
---------------------------------------
Assignee: (was: Eugene Kuleshov)
> 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
> Issue Type: New Feature
> Affects Versions: 0.0.9
> Environment: Eclipse 3.1
> Reporter: Philip Dodds
> Attachments: maven2plugin-methods.patch, maven2plugin-methods.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
[jira] Commented: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=comments#action_67312 ]
Eugene Kuleshov commented on MNGECLIPSE-130:
--------------------------------------------
Philip, can you please create another patch and this time include only relevant changes and do not reformat any code. That will make it easier to apply. Thanks.
> 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: maven2plugin-methods.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
[jira] Updated: (MNGECLIPSE-130) Extending the Maven Plugin to
allow reuse from other plugins
Posted by "Philip Dodds (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNGECLIPSE-130?page=all ]
Philip Dodds updated MNGECLIPSE-130:
------------------------------------
Attachment: maven2plugin-methods.patch
> 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: maven2plugin-methods.patch, maven2plugin-methods.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