java - Add artifact to local repository from project -


is there way add artifact local maven repository eclipse project?

currently have project contain many jars, , have started using maven. need add these jars local repository in automated way without redownload them or adding them 1 one , specifying coordinates.

make new maven project in eclipse, , add code src/main directory. have lots of compile errors, because of missing dependencies.

now start auto adding dependencies. in intellj can add using alt-enter, has option "add maven dependency". adds dependency maven repository pom. not know eclipse enough, has feature.

now, in normal project, find of required dependencies somewhere in maven central. if miss any, can add them using manual installation local repository, suggested manas mukherjee

mvn install:install-file -dfile={jar_file_name_path}.jar -dgroupid={groupid}  -dartifactid={artifactid} -dversion={version} -dpackaging=jar 

Popular posts from this blog

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -