Excluded folders from Maven

Hi all.

I would like to exclude a logs directory from idea using Maven and I'm struggling.

I have something like this in my pom file:

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-idea-plugin</artifactId>
                <version>2.3-atlassian-1</version>
                <configuration>
                    <downloadSources>true</downloadSources>
                    <downloadJavadocs>true</downloadJavadocs>
                    <exclude>
                        ${project.basedir}/logs
                    </exclude>

                </configuration>
            </plugin>

even if I put:
...
<exclude>
logs
</exclude>
...

it doesn't work.

Anyone have an idea how to get this to work?

Thanks, Nick.

Please sign in to leave a comment.