Hi I'm new to Maven plugin M2Eclipse integration. I've imported my plugin (with custom packaging) I want to integrate with M2Eclipse and some test projects using this packaging.
When playing with "lifecycle-mapping-metedata.xml" (changing actions for different mojos) I found that I have to delete all projects and reimport them. Without this projects don't "see" these changes. I don't know if this would be hard to improve it? Regards Grzegorz Slowikowski On 2013-11-27 13:49, Igor Fedorenko wrote: > > > On 11/27/2013, 3:04, Hervé BOUTEMY wrote: >> I'm interested in such tools: this can help a lot. >> adding a link in http://maven.apache.org/developers/index.html will >> be useful >> to let Maven developers know that such tooling exists for Eclipse >> > > I am mostly seeking feedback about this feature at this point, and I > will really appreciate if you could try it and see if it works for your > plugins and development workflow. > > I do plan to publish this feature to eclipse marketplace and mention in > on maven developers page, but I would like to see the following happen > first > > * somebody else tried the feature and confirmed and both useful and > works as advertised. > * m2e 1.5 m4 is released (which will happen in few weeks) > * verifier 1.5 is released and core ITs are updated to use it > > >> >> I read "Known problems and limitations >> Maven Plugin metadata, i.e., META-INF/maven/plugin.xml, is >> "disappears" in >> some cases. A partial fix is planned in maven-plugin-plugin 3.3" >> But I didn't see any Jira issue that seems to handle such an issue >> What's the problem? Can I help find a solution? > > The problem is poor interaction between maven-plugin-plugin and eclipse > workspace java builder. Java builder deletes META-INF/maven/plugin.xml > file for some plugins but not for others. The solution is to use plexus > BuildContext to write files to disk, like we did in resources-plugin. I > don't have jira for this yet. > > -- > Regards, > Igor > >> >> Regards, >> >> Hervé >> >> Le lundi 25 novembre 2013 08:03:17 Igor Fedorenko a écrit : >>> Hello, >>> >>> I have a couple of m2e extensions that I use to work on maven and maven >>> plugins. In short, they allow running/debugging maven core and maven >>> plugin directly from m2e workspace, without the need to install >>> anything >>> to the local repo after each code change. >>> >>> There is slightly more detailed description and installation >>> instructions at github [1] and I plan to publish this to eclipse >>> marketplace for easier user installation. >>> >>> Let me know what you think. >>> >>> [1] >>> https://github.com/ifedorenko/com.ifedorenko.m2e.mavendev/blob/master/README >>> >>> .md >>> >>> -- >>> Regards, >>> Igor >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
