We are using maven to manage our idea projects but I\'m having a problem excluding a directory from the idea project.
Using idea, I would just go to Project Settings
I just did a small test and, with the following snippet:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<configuration>
<exclude>test-output,.clover,logs</exclude>
</configuration>
</plugin>
The generated .iml
file contains the following entries:
<excludeFolder url="file://$MODULE_DIR$/.clover"/>
<excludeFolder url="file://$MODULE_DIR$/logs"/>
<excludeFolder url="file://$MODULE_DIR$/target"/>
<excludeFolder url="file://$MODULE_DIR$/test-output"/>
Which is to my knowledge the expected result.
Do you get something different? Are you expecting somehting else?