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.

0
4 comments
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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

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

0

Please sign in to leave a comment.