开发者

Hosting my jars in Github with dependencies for Maven Repository

I am planning to host some of my API jars in Git hub as Maven Repository.

I have some 3rd party dependent jars needed with my jars.

When user like to pull my API i like the 3rd party dependent jars also downloaded to the local repository. say the 3rd party jar开发者_如何转开发s are 5 and they are in different repository.

when user adds a dependency as my api with my githum repository url can maven automatically find api dependent jars and it fetch from different places into local repository ?

How can i do this ? do we have any way to do with this ?


This article describes the way to perform what you need: http://cemerick.com/2010/08/24/hosting-maven-repos-on-github/

This plugin can help you to automate such task: http://synergian.github.com/wagon-git/index.html


Yes. Maven would be able to download all the dependent jars (based on dependencies mentioned in POM xml in your API).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜