From 3a0f81c2bbd6a05bf269b40a866807716a735d2b Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Wed, 15 May 2019 11:34:16 -0400 Subject: [PATCH] Improve notes for the import into IntelliJ IDEA Closes gh-16874 --- CONTRIBUTING.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 7fdcee35d15..175e7a309f6 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -201,13 +201,14 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa === Importing into IntelliJ IDEA -The separate Maven import process that IntelliJ IDEA uses to parse a project structure -requires more memory. Before importing the project, we recommend increasing the memory -allocation in `Preferences | Build, Execution, Deployment | Build Tools | Maven | -Importing`. Set the `VM options for importer` option to `-Xmx2g`. - -To open the project in IntelliJ IDEA, select "`File`" -> "`Open`" and then click on the -root `pom.xml`. +**Please, do this first!!!** +Go to `Preferences | Build, Execution, Deployment | Build Tools | Maven | Importing` +and set `VM options for importer` to `-Xmx2g` to allocate sufficient memory for IDEA's +Maven import process to parse the Spring Boot project structure. _Not doing so could +mean the import fails silently, leaving the project setup incomplete._ + +For the actual import use "`File`" -> "`Open`" and select the root `pom.xml`, or the +`spring-boot-project/pom.xml` if you only want the Spring Boot project sources.