Maven's profiles.xml bug?

When there's a profiles.xml in the root of my project, IDEA starts but will not display anything (almost) in the project view (see attached snapshot file).
I'm using #7523 and the problem persists, under Windows and OS X afaik.

I'm not a Maven expert but my profiles.xml seems regular, at least it works with maven command line.

thanks for any help

Picture 1.png

Hi I ran into a similar problem: when one of the sub projects has multiple profiles and one of those profiles is activated, a clean install on the parent pom will ignore the activated profile and thus build the project as if none of the profiles were selected.

I'm using the same version but on windows.



Could you please attach sample poms and profiles files so that I could reproduce the problem?


Hi Anton,
sorry for the late reply, something must has been wrong with my email client.
Anyway, there's actually not much to attach, just create a profiles.xml in your project root with a default profile:
for instance

dev false environment test ]]>

and IDEA would have this weird behaviour.



I've created relevant request in jira: I'm up to fix it by the next eap.


The problem with xml you wrote is that it is not well formed. Profiles.xml file should contain element as a root (not the ]]>).

I've added some error reporting in last eap (but not very user-friendly one - it just logs exceptions that could arise - but enough to track the root of the problems).

Please try to fix you profiles.xml file and let me know if it helps. (Please use jira for that


Please sign in to leave a comment.