Maven integration does not exclude target folders?

I'm running 7.0.3 and I see that the target directories of a maven project are not excluded. Is this intentional or a bug?

S.

4 comments
Comment actions Permalink

IIRC subdirectories of the target folder are excluded but not the target folder itself

0
Comment actions Permalink

Yeah, but why is that? Many builds, mine included, generate a number of files in that directory. What purpose is served by excluding the subdirectories of that folder instead of the folder itself?

What's worse, even if I do go to the trouble of manually excluding that folder in my module settings, as soon as I synchronize, Idea overwrites my change and the target folder and all of the files in it once again clutter up my project tree.

Is there any viable workaround for this?

Matt

0
Comment actions Permalink

I think it is as designed. It needs to exclude the target folder AND all sub-directories.

0
Comment actions Permalink

Here is a relavant thread for this issue:
http://intellij.net/forums/thread.jspa;jsessionid=3E7B241907B9D65AEEEDEABEF9C72B1F?messageID=5203461&#5203461.

Here are some jira issues:
IDEA-17737
IDEA-14282

0

Please sign in to leave a comment.