Add option 'Ingore' to Maven -> Import -> Generated sources folder

This commit is contained in:
Sergey Evdokimov
2013-02-28 15:47:36 +04:00
parent fc5abf3666
commit ee52dc8319
2 changed files with 4 additions and 0 deletions
@@ -237,6 +237,9 @@ public class MavenFoldersImporter {
addAllSubDirsAsSources(targetDir, isTestSources);
break;
case IGNORE:
break; // Ignore.
}
}
@@ -53,6 +53,7 @@ public class MavenImportingSettings implements Cloneable {
private List<Listener> myListeners = ContainerUtil.createLockFreeCopyOnWriteList();
public enum GeneratedSourcesFolder {
IGNORE("Don't detect"),
AUTODETECT("Detect automatically"),
GENERATED_SOURCE_FOLDER("target/generated-sources"),
SUBFOLDER("subdirectories of \"target/generated-sources\"");