å ±æã©ã¤ãã©ãªã管çããããã« Sonatype ã® Nexus Repository Manager OSS ã使ç¨ãã ( ãã®ï¼ï¼ )( Nexus ã 3.0.0-03 â 3.0.1-01 ã¸ãã¼ã¸ã§ã³ã¢ãããã )
æ¦è¦
- ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å
容ã§ãã
- Download Nexus Repository OSS ( http://www.sonatype.com/download-oss-sonatype ) ãã nexus-3.0.1-01-win64.exe ããã¦ã³ãã¼ãå¯è½ã«ãªã£ã¦ãã¾ããã®ã§ãNexus ã 3.0.0-03 â 3.0.1-01 ã¸ãã¼ã¸ã§ã³ã¢ãããã¾ãã
- 3.0.1 ã® Release Notes 㯠Nexus Repository Manager 3.0.1 Release Notes ( https://support.sonatype.com/hc/en-us/articles/221755367-Nexus-Repository-Manager-3-0-1-Release-Notes ) ã§ãã
åç §ãããµã¤ãã»æ¸ç±
ç®æ¬¡
æé
nexus-3.0.1-01-win64.exe ããã¦ã³ãã¼ããã
-
Download Nexus Repository OSS ( http://www.sonatype.com/download-oss-sonatype ) ã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ãã¾ãã
-
ãã¼ã¸å ã®ãnexus-3.0.1-01-win64.exeããªã³ã¯ãã¯ãªãã¯ã㦠nexus-3.0.1-01-win64.exe ããã¦ã³ãã¼ããã¾ãã
ã¤ã³ã¹ãã¼ã«ãã
nexus-3.0.1-01-win64.exe ãå®è¡ãã¾ãã
ãSetup - Sonatype Nexus 3.0.1-01ããã¤ã¢ãã°ã表示ããã¾ããæ¢ã«ã¤ã³ã¹ãã¼ã«æ¸ã®å ´å update ãããå¦ãã®é¸æè¢ã表示ãããããã§ãã®ã§ããYes, update the existing installationããé¸æãããç¶æ ã§ãNextããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãSelect Installation Typeãç»é¢ã表示ããã¾ããä½ãå¤æ´ããã«ãNextããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãNexus Data Directoryãç»é¢ã表示ããã¾ããååã®ã¤ã³ã¹ãã¼ã«ã§æå®ãããã£ã¬ã¯ããªã表示ããã¦ãã¾ãã®ã§ãä½ãå¤æ´ããã«ãNextããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãNexus Optionsãç»é¢ã表示ããã¾ããç¹ã«å¤æ´ã¨ãªã£ãç»é¢ã¯ãªãããã§ãã®ã§ãä½ãå¤æ´ããã«ãNextããã¿ã³ãã¯ãªãã¯ãã¾ãã
ã¨æãã¾ãããã以ä¸ã®ã¨ã©ã¼ç»é¢ã表示ããã¾ãããã©ããæ¢ã« Nexus ãèµ·åä¸ã®å ´åã«èªåã§åæ¢ãã¦ãããªãããã§ãã
ãµã¼ãã¹ç»é¢ãéãããµã¼ãã¹ä¸è¦§ãããnexusããé¸æããå¾ãç»é¢ä¸å¤®ã®ããµã¼ãã¹ã®åæ¢ããªã³ã¯ãã¯ãªãã¯ã㦠Nexus ãåæ¢ãã¾ãã
Nexus åæ¢å¾ãã¨ã©ã¼ãã¤ã¢ãã°ã®ãOKããã¿ã³ãã¯ãªãã¯ãã¦éãã¦ããå度ãNextããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãLicense Agreementãç»é¢ã表示ããã¾ãããI accept the agreementããé¸æããå¾ããInstallããã¿ã³ãã¯ãªãã¯ãã¾ãã
ãInstallingãç»é¢ã表示ããã¦ã¤ã³ã¹ãã¼ã«ãå®è¡ããã¾ãã®ã§çµäºããã¾ã§å¾ æ©ãã¾ãã
ã¤ã³ã¹ãã¼ã«ä¸ã«ä»¥ä¸ã®ãã¤ã¢ãã°ã表示ããã¾ãããè¨å®ã¯å¤æ´ãã¦ããªãã®ã§ãYesããã¿ã³ãã¯ãªãã¯ãã¾ãã
ã¤ã³ã¹ãã¼ã«ãçµäºããã¨ãCompleting the Nexus Setup Wizardãç»é¢ã表示ããã¾ãããFinishããã¿ã³ãã¯ãªãã¯ãã¾ãã
åä½ã確èªãã
管çç»é¢ãè¦ã¦ã¿ã
http://localhost:8081/ ã«ã¢ã¯ã»ã¹ã㦠repository ã component ã®ç»é¢ã表示ãã¦ã¿ã¾ãã
ç»é¢ã¯åé¡ãªã表示ãããã±ã£ã¨è¦ãæãã§ã¯ç¹ã«å¤æ´ç¹ã¯ãªãããã§ããadmin / admin123 ã§ãã°ã¤ã³ãããã¨ãã§ãã¾ããã
ksbysample-library-simpleutils ã©ã¤ãã©ãªãã¢ãããã¼ããã¦ã¿ã
ksbysample-library-simpleutils ããã¸ã§ã¯ããéãã¾ãã
Gradle projects View ã® uploadArchives ã¿ã¹ã¯ãå®è¡ã㦠1.0-RELEASE ãå度ç»é²ãããã¨ããã "BUILD FAILED" ã«ãªãã¾ããã
åºåãããã¨ã©ã¼ã¡ãã»ã¼ã¸ã®å³ã®æ¹ã« "Return code is: 400, ReasonPhrase: Repository does not allow updating assets: maven-releases." ã¨è¡¨ç¤ºããã¦ãã¾ãããmaven-releases repository ã¸ã¢ãããã¼ããã component ã® update ã¯ç¦æ¢ããã¦ããããã§ãã
build.gradle ã® version ã®æååã "1.1-RELEASE" ã«å¤æ´ãã¦ãRefresh all Gradle projectsããã¿ã³ãã¯ãªãã¯ãã¦åæ ããå¾ãå度 uploadArchives ã¿ã¹ã¯ãå®è¡ãã¾ãã
ä»åº¦ã¯ "BUILD SUCCESSFUL" ã®ã¡ãã»ã¼ã¸ãåºåããã¾ããã
Nexus ã®ç®¡çç»é¢ã§ã 1.1-RELEASE ãç»é²ããã¦ãããã¨ã確èªã§ãã¾ãã
ã¢ãããã¼ããã 1.1-RELEASE ã¯åé¤ããbuild.gradle ã® version ã®æååã "1.0-RELEASE" ã«æ»ãã¦ãRefresh all Gradle projectsããã¿ã³ãã¯ãªãã¯ãã¦åæ ãã¾ãã
ksbysample-webapp-demo ããã¸ã§ã¯ãããã©ã¤ãã©ãªããã¦ã³ãã¼ããã¦ã¿ã
ksbysample-webapp-demo ããã¸ã§ã¯ããéãã¾ãã
gradle ã® cache ãã£ã¬ã¯ã㪠( C:\Users\root.gradle\caches ) ãåé¤ãã¾ãã
IntelliJ IDEA ã®ç»é¢ã«æ»ãã¨ãExternal Libraries ã«ã¯ Java SE ã®ã©ã¤ãã©ãªã ãã表示ãããã½ã¼ã¹ãä¸é¨ã®ã¯ã©ã¹ã赤åã§è¡¨ç¤ºãããããã«ãªãã¾ããã
Gradle projects View ã®å·¦ä¸ã«ãããRefresh all Gradle projectsããã¿ã³ãã¯ãªãã¯ã㦠Nexus çµç±ã§ã©ã¤ãã©ãªããã¦ã³ãã¼ããã¾ãã
æ´æ°ã¯æ£å¸¸ã«çµäºããExternal Libraries ã«ã¯ã©ã¤ãã©ãªã®ãªã¹ãã表示ãããã½ã¼ã¹ä¸ã®èµ¤åã®ã¯ã©ã¹ã¯å ¨ã¦ãªããªãã¾ããã
ç¹ã«åé¡ãªãããã§ãã®ã§ 3.0.1-01 ã§ãã®ã¾ã¾åä½ç¢ºèªãç¶ãã¾ãã
ã½ã¼ã¹ã³ã¼ã
å±¥æ´
2016/07/30
åççºè¡ã