godeps는 github dependency 관리를 이렇게 할 수 있다.
https://github.com/tools/godep
{
"ImportPath": "github.com/kr/hk",
"GoVersion": "go1.1.2",
"Deps": [
{
"ImportPath": "code.google.com/p/go-netrc/netrc",
"Rev": "28676070ab99"
},
{
"ImportPath": "github.com/kr/binarydist",
"Rev": "3380ade90f8b0dfa3e363fd7d7e941fa857d0d13"
}
]
}비슷하게 maven에서도 쓸 수 있다.
- Add repository first
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>- Add dependency
<dependency>
<groupId>com.github.User</groupId>
<artifactId>Repo name</artifactId>
<version>Release tag</version>
</dependency>'general java' 카테고리의 다른 글
| [Spring] Spring에서 dynamic하게 bean 을 생성하는 법 / ConfigurableListableBeanFactory.registerSingleton() (0) | 2015.03.25 |
|---|---|
| [Guava] HashBiMap (0) | 2015.03.25 |
| godeps와 비슷하게 git의 revision으로 dependency 관리하기 (0) | 2015.03.25 |
| Apache Common Lang의 StringUtils 예제 (0) | 2015.03.19 |
| [자바] padding 채우기 (0) | 2015.03.19 |
| Apache commons collection 3.x의 MapUtils 예제 (그리고 주의사항) (0) | 2015.03.15 |



댓글을 달아 주세요