When creating IntelliJ → New Project → Maven, the archetype list is blank and does not populate no matter how long the amount of time elapsed. The "Loading archetype list..." continues but does not appear to do much. Any suggestions?
Info from mvn -v
:
Apache Maven 3.2.5 (NON-CANONICAL_2014-12-25T17:13:28_root; 2014-12-25T05:13:28-08:00) Maven home: /opt/maven Java version: 1.8.0_25, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.17.6-1-arch", arch: "amd64", family: "unix"
IntelliJ IDEA Professional 14.0.2
Launch the New Project wizard. If no project is currently opened in IntelliJ IDEA, click New Project on the welcome screen. Otherwise, select File | New | Project from the main menu. Select Maven Archetype from the options on the left.
In the file menu select settings -> plugins. search for maven, select maven, select enable. Restart intellij. Once restarted you will now have the option to start new maven project and maven functionality will be accessible in all your previous projects.
Maven's JRE is running out of memory.
Under Build → Build Tools → Maven → Importing, set VM options for importer to -Xmx1024m
(the default vaule -Xmx512m
is too low).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With