Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import a Maven project with Intellij Command line tool with command "idea pom.xml"?

I was watching Get Started with Jhipster4, In this tutorial this guy imported a maven project with below command:

idea pom.xml  <---- This is the Command line tool provided by Intellij guys

I also want to configure the same in my local, as suggested on Intellij official website tried to configure it but intellij is asking for the tool path, I have no idea what is should be, Please check the snapshot for more clarity.enter image description here

like image 395
Neeraj Jain Avatar asked Dec 07 '25 17:12

Neeraj Jain


2 Answers

Use Tools | Create Command-line Launcher, then run it from the Terminal.

like image 148
CrazyCoder Avatar answered Dec 09 '25 06:12

CrazyCoder


If you use spring boot and want to open from the terminal maven project its easy.

  1. Open intellij
  2. Navigate to Tools /Command Line Launcher
  3. Add the default path - Just OK
  4. Close the IDE
  5. CD to the project from the terminal
  6. type $ idea pom.xml

https://www.youtube.com/watch?v=SVANj3gAWt8

like image 22
diayn geogiev Avatar answered Dec 09 '25 05:12

diayn geogiev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!