So this is my first time doing this, i am trying to import this project https://github.com/binance-exchange/binance-java-api to my new clean intellij maven project.
i set my system variable MAVEN_HOME to:
- C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.2\plugins\maven\lib
And then im trying to install the 3th party library to my local m2 repository.
mvn install:install-file -Dfile=C:\Users\Leroy\.m2\repository -DgroupId=com.binance.api -
DartifactId=binance-api-client -Dversion=1.0.0 -Dpackaging=jar
cmd gives me the message that 'mvn is not recognized as an internal or external command'
What am i doing wrong here?
thank you in advance!
CodePudding user response:
You have not installed maven properly or it's not on PATH (refer this to properly install maven )
Or Add the dependency along with external repo to pom file then choose maven > Re-import
from intelij it should fix the import issues