maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lightbody (JIRA)" <>
Subject [jira] Created: (MIDEA-46) Macros in reactor projects aren't added to the IDEA project
Date Sun, 02 Apr 2006 02:44:44 GMT
Macros in reactor projects aren't added to the IDEA project

         Key: MIDEA-46
     Project: Maven 2.x Idea Plugin
        Type: Bug

    Reporter: Patrick Lightbody

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:

    <macro name="foo"/>

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:
For more information on JIRA, see:

View raw message