[ http://jira.codehaus.org/browse/MIDEA-46?page=all ]
Brett Porter updated MIDEA-46:
------------------------------
Priority: Minor (was: Major)
> Macros in reactor projects aren't added to the IDEA project
> -----------------------------------------------------------
>
> Key: MIDEA-46
> URL: http://jira.codehaus.org/browse/MIDEA-46
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Patrick Lightbody
> Priority: Minor
>
>
> This is a bug in a previous patch I supplied. Basically, the feature that
> lets you define a Library source dir works great for single-project maven
> builds, but for reactor builds there is a small bug.
> Basically, there is a Set that is passed in to the IdeaModuleMojo that gets
> populated with names of path mappings when any source dir contains the
> pattern $foo$. That Set is then used to populate the ipr file like so:
> <UsedPathMacros>
> <macro name="foo"/>
> </UsedPathMacros>
> The problem with my implementation is multiple macro Sets are created, one
> for each module that gets build. Except for the root maven project, that Set
> is immediately discarded since the project file is only built once. I don't
> have a patch for this because I don't have a good suggested fix.
> On the plus side, it's not a critical issue. The only problem is that IDEA
> won't prompt the user to provide path mappings for those macros. Instead, you
> have to do them by hand.
--
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