Skip to content

A Maven multimodule with generated-sources and a long-running WAR-module. Tests the Maven support of IntellJ IDEA 2016.3.x

Notifications You must be signed in to change notification settings

markiewb/bigmultimoduleForIDEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigmultimoduleForIDEA

A Maven multimodule with generated-sources and a long-running WAR-module. Tests the Maven support of IntellJ IDEA 2016.3.x

Prequisites

Build the wait-maven-plugin which is also included in this repo!

How to import and detect generated sources

  1. Load the project via File-> Open -> ... -> pom.xml (Let IDEA open it in a new window)
  2. File -> Settings -> ... -> Maven Importing
  • Generated source folders: "subdirectories of target/generated sources"
  • Phase for folders update: "process-test-resources"
  • Options
  1. In the Maven Projects Window
  • Right click on the root module (named "aggregator (root)") and choose "Generate Sources and Update Folders"

EXPECTED:

  • target/generated-resources
  • target/generated-test-resources
  • target/generated-sources
  • target/generated-test-sources

are detected by IDEA in the correct build scope

detectedGeneratedSources

How to import and detect generated sources but skip the long running import of the war module

  1. Uncheck the profile "includingBigWar" in the Maven Projects view
    • bigwarProfile
  2. Same as above

About

A Maven multimodule with generated-sources and a long-running WAR-module. Tests the Maven support of IntellJ IDEA 2016.3.x

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages