Dependency management in java

放肆的年华 提交于 2021-02-19 07:35:48

问题


I implemented a tool and I want to make it open source.

The problem is that my tool has some dependencies (binaries/. jar files).

How can solve this problem, so that the person who downloads my source code, for example to extend it to a new feature, doesn't have to care of the dependencies?

Should i write the dependencies in the MANIFEST as relative path, relative to my source code or something like that?


回答1:


You can convert your project into a maven project and then put your source code to githup or something similar. If your dependencies are not available on the web but instead your other projects, you should also place them on the web so maven can download them for anyone who wants to use.



来源:https://stackoverflow.com/questions/20516321/dependency-management-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!