문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
nexus [2019/02/23 10:43] kwon37xi |
nexus [2019/06/12 14:25] kwon37xi |
||
---|---|---|---|
줄 50: | 줄 50: | ||
* [[http:// | * [[http:// | ||
* [[network: | * [[network: | ||
+ | * [[https:// | ||
+ | * **LATEST** 버전 체크 API 가 인덱스 갱신이 느린지 정상 작동하지 않음. | ||
+ | * 차라리 https:// | ||
+ | <code sh> | ||
+ | # maven-metadata.xml URL을 group/ | ||
+ | wget -O - -o /dev/null https:// | ||
+ | # 혹은 curl 로 | ||
+ | curl -s https:// | ||
+ | |||
+ | last_version=$(wget -O - -o /dev/null http:// | ||
+ | sort --version-sort -r| head -n 1) | ||
+ | </ | ||
<code sh> | <code sh> | ||
줄 56: | 줄 68: | ||
# 최신버전. r=리포지토리ID, | # 최신버전. r=리포지토리ID, | ||
- | http -a admin: | + | http -a admin: |
# curl | # curl | ||
- | curl -u admin: | + | curl -u "admin: |
</ | </ | ||