A Maven multimodule with generated-sources and a long-running WAR-module. Tests the Maven support of IntellJ IDEA 2016.3.x
Build the wait-maven-plugin which is also included in this repo!
- Load the project via File-> Open -> ... -> pom.xml (Let IDEA open it in a new window)
- File -> Settings -> ... -> Maven Importing
- Generated source folders: "subdirectories of target/generated sources"
- Phase for folders update: "process-test-resources"
- In the Maven Projects Window
- Right click on the root module (named "aggregator (root)") and choose "Generate Sources and Update Folders"
- Do not click the toolbar button "Generate Sources and Update Folders For All Projects". It takes twice as long https://youtrack.jetbrains.com/issue/IDEA-166132
EXPECTED:
- target/generated-resources
- target/generated-test-resources
- target/generated-sources
- target/generated-test-sources
are detected by IDEA in the correct build scope