[ http://jira.codehaus.org/browse/MPIDEA-12?page=comments#action_40879 ] Geoffrey commented on MPIDEA-12: --------------------------------
<maven:makeRelativePath var="value" basedir="${basedir}" path="${maven.build.dir}" separator="/" /> <excludeFolder url="file://$$MODULE_DIR$$/${value}"/> before </content> > exclude build output directory in module > ---------------------------------------- > > Key: MPIDEA-12 > URL: http://jira.codehaus.org/browse/MPIDEA-12 > Project: maven-idea-plugin > Type: Improvement > Reporter: Matthew McGowan > Priority: Minor > Attachments: diff.txt, diff.txt > > > The build directory is not excluded from the module, which can cause > difficulties: > - in large projects, IDEA spends time indexing and re-indexing the output > files after running maven has been run externally. > - searching for classes and resources produces duplicates (the version in the > source dir and the version in target dir.) > A solution is to add a property 'maven.idea.target.exclude' that when set to > true excludes the target directory from the module, using an <excludeDir/> > directive in the module file. > The attached patch implements this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]