Adding external JAR to Maven project in NetBeans

后端 未结 5 720
挽巷
挽巷 2020-12-04 22:10

When I right click on my Maven project and choose the Add dependency option and I type my external jar\'s name in query, it is not found. How to add external jar to

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 22:36

    In Netbeans, the approach to adding dependencies that are not in repository is reversed. First come up with maven coordinates in the Add Dependency dialog. Then right click on the new dependency node and trigger "Manually install Artifact" action.

提交回复
热议问题