[ http://jira.codehaus.org/browse/MNG-2333?page=comments#action_75584 ] Milos Kleint commented on MNG-2333: -----------------------------------
here's my idea that I would like to prototype. 1. add a method to the DefaultLifeCycleExecutor class that would return the lifecycle map (correctly ordered i guess) 2. that would contain all the plugin mappings to the liecycle phases 3. and have the parameters resolved correctly, both the ones defined in pom and the default ones.. all the param value should be just dom trees, no beans to prevent classloading issues that way one could query into what the project setup is without running it. Ideally one would have the export parameters marked (eg. the source roots location for generated sources) in the plugin description, but one could probably get away with a plugin+parameter mapings on the IDE side for the start. There are not so many plugins that generate sources. > Plugins need to offer up all information without executing > ---------------------------------------------------------- > > Key: MNG-2333 > URL: http://jira.codehaus.org/browse/MNG-2333 > Project: Maven 2 > Issue Type: New Feature > Components: Embedding > Affects Versions: 2.0.5 > Reporter: Jason van Zyl > Assigned To: Jason van Zyl > Fix For: 2.1 > > > In an IDE environment, you want to know what will be generated by a plugin > without having it execute. For example, if you have a plugin that generates a > source directory you want to know that without having actually execute the > plugin because it can take a long time if you have a lot of plugins. > Another issue will probably have to be created to outline changes to the > plugin api so that external tools can call this method to get all the > information up-front. I couldn't find any related issues. > This should also work when reactor projects are run. > Another example is any plugin that produces resources that need to be added > to the UI. -- 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