[ http://jira.codehaus.org/browse/MIDEA-16?page=comments#action_56197 ]
Jerome Lacoste commented on MIDEA-16: ------------------------------------- I've just lost 20+ min thinking the idea plugin was buggy before I found out it was this problem (thanks to Trygve). I was confused because I just had updated to a newer m2 (2.0.2) and thought the issue was due to that last change. I agree that the work-around should be implemented. The current situation is counter intuitive to the way one does development. As a first step, the plugin should be able to give a useful warning message: "Missing artifact: xxx. The artifacts produced by the modules of this multi-project must be installed locally for the plugin to work. Please build your project before running this goal." instead of just printing out a missing dependency that can be interpreted differently. > idea target only works after compilation > ---------------------------------------- > > Key: MIDEA-16 > URL: http://jira.codehaus.org/browse/MIDEA-16 > Project: Maven 2.x Idea Plugin > Type: Bug > Reporter: Matthew Pocock > > > In a multi-module project, you have to build it before you can idea:idea it. > Let's have modules a and b, with b depending on a. The idea plugin runs for > a, but then fails on b because it can't find a.jar, as you've not build a > yet. However, there are case where it's not practical to build the project > before loading it up in idea e.g. if you've checked it out of svn to fix a > bug that prevents compilation. > The work-arround would be for the idea plugin to require resolution for all > jars that are external dependencies but to silently assume the presence of > all jars that would be built as part of the project. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
