Skip to content

Commit 3a0f81c

Browse files
rstoyanchevsnicoll
authored andcommitted
Improve notes for the import into IntelliJ IDEA
Closes gh-16874
1 parent 7bf48ed commit 3a0f81c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

CONTRIBUTING.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,14 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa
201201

202202

203203
=== Importing into IntelliJ IDEA
204-
The separate Maven import process that IntelliJ IDEA uses to parse a project structure
205-
requires more memory. Before importing the project, we recommend increasing the memory
206-
allocation in `Preferences | Build, Execution, Deployment | Build Tools | Maven |
207-
Importing`. Set the `VM options for importer` option to `-Xmx2g`.
208-
209-
To open the project in IntelliJ IDEA, select "`File`" -> "`Open`" and then click on the
210-
root `pom.xml`.
204+
**Please, do this first!!!**
205+
Go to `Preferences | Build, Execution, Deployment | Build Tools | Maven | Importing`
206+
and set `VM options for importer` to `-Xmx2g` to allocate sufficient memory for IDEA's
207+
Maven import process to parse the Spring Boot project structure. _Not doing so could
208+
mean the import fails silently, leaving the project setup incomplete._
209+
210+
For the actual import use "`File`" -> "`Open`" and select the root `pom.xml`, or the
211+
`spring-boot-project/pom.xml` if you only want the Spring Boot project sources.
211212

212213

213214

0 commit comments

Comments
 (0)