repaint-io / maven-tiles

Injecting maven configurations by composition rather than inheritance
154 stars 32 forks source link

Including multiple tiles based artifacts in IntellIJ causes resolution issues #17

Closed talios closed 9 years ago

talios commented 9 years ago

I'm hitting an annoying situation where I have 10+ modules included in my IDEA project, each use a selection of 3-4 tiles ( the same ones ) but it different orders.

Since IntelliJ runs everything in the same maven session, the same ModelCache is being used, and since we mutate the parents of artifacts to build the artifact chain, this causes all manner of oddities in IntelliJ ( most evident if you include dependencies in any of your tiles ).

I wonder if we can somehow cache multiple copies of the effective-tile ( i.e. a per-project tile ).

talios commented 9 years ago

Turns out this was an NPE and fixed in #33.