How do I add a jar file to my local Maven repository using Eclipse m2e on Luna Service (4.4.1)?

前端 未结 3 1344
旧时难觅i
旧时难觅i 2021-01-07 05:47

I am getting an warning message because I manually added a jar file to my local maven repository.

[INFO] Downloading: http://repo.maven.apache.org/maven2/com/netsu

3条回答
  •  轮回少年
    2021-01-07 06:06

    You should add jar to your local repository like:

    mvn install:install-file -DgroupId=... -DartifactId=... -Dversion=... -Dpackaging=jar -Dfile=... -DgeneratePom=true
    

    -DgeneratePom=true genertes POM automatically...

提交回复
热议问题