Maven, how to add additional libs not available in repo

前端 未结 5 1622
深忆病人
深忆病人 2020-12-11 05:57

I have a maven project that has a set of library dependancies that are not available via any maven repository. How can I add those libraries to the pom? I want to do this s

5条回答
  •  轮回少年
    2020-12-11 06:23

    You can't 'add them to the pom'. You have to put them in some repo. You can put them in the local repo with the maven-install-plugin, as suggested by the error message. Or you can deploy them in a local copy of Nexus or something like it.

提交回复
热议问题