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

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo