å ±æã©ã¤ãã©ãªã管çããããã« Sonatype ã® Nexus Repository Manager OSS ã使ç¨ãã ( ãã®ï¼ï¼ )( 1.0-RELEASE 㧠Nexus ã«ã¢ãããã¼ããã )
æ¦è¦
- ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å
容ã§ãã
- ksbysample-library-simpleutils ã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³çªå·ã 1.0-RELEASE ã«å¤æ´ã㦠Nexus ã«ã¢ãããã¼ãããã
åç §ãããµã¤ãã»æ¸ç±
ç®æ¬¡
- ksbysample-library-simpleutils ã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³çªå·ã 1.0-RELEASE ã«å¤æ´ã㦠Nexus ã«ç»é²ãã
- Nexus ã®ç®¡çç»é¢ã§ç»é²ç¶æ³ã確èªãã
- ksbysample-webapp-demo ããã¸ã§ã¯ããã 1.0-RELEASE ã® ksbysample-library-simpleutils ã©ã¤ãã©ãªãå¼ã³åºãã¦ã¿ã
- 次åã¯ããã
æé
ksbysample-library-simpleutils ã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³çªå·ã 1.0-RELEASE ã«å¤æ´ã㦠Nexus ã«ç»é²ãã
-
ksbysample-library-simpleutils ããã¸ã§ã¯ããéãã¾ãã
-
build.gradle ã ãªã³ã¯å ã®å 容 ã«å¤æ´ãã¾ãã
Gradle projects View ã®å·¦ä¸ã«ãããRefresh all Gradle projectsããã¿ã³ãã¯ãªãã¯ã㦠build.gradle ãåæ ãã¾ãã
Gradle projects View ã® uploadArchives ã¿ã¹ã¯ãããã«ã¯ãªãã¯ãã¦ç»é²ãã¾ãã
Nexus ã®ç®¡çç»é¢ã§ç»é²ç¶æ³ã確èªãã
Nexus ã®ç®¡çç»é¢ã§ç»é¢å·¦å´ã®ããªã¼ãããBrowseã-ãComponentsããé¸æããç»é¢å³å´ã® repository ä¸è¦§ãããmaven-releasesããé¸æãã¾ãã
Version ã 1.0-RELEASE ã§ç»é²ããã¦ãã¾ãããæ«å°¾ã
-RELEASE
ã®æ㯠maven-releases repository ã«ç»é²ãããããã§ããã¾ã build.gradle ã«è¨è¼ãããã¼ã¸ã§ã³çªå·ã®ã¾ã¾ç»é²ããã¦ãããtimestamp ã¯ä»ãã¾ããã§ããã詳細ãã¼ã¸ã§ã¯ä»¥ä¸ã®ããã«è¡¨ç¤ºããã¾ãã
ksbysample-webapp-demo ããã¸ã§ã¯ããã 1.0-RELEASE ã® ksbysample-library-simpleutils ã©ã¤ãã©ãªãå¼ã³åºãã¦ã¿ã
ksbysample-webapp-demo ããã¸ã§ã¯ããéãã¾ãã
build.gradle ã ãªã³ã¯å ã®å 容 ã«å¤æ´ãã¾ãã
Gradle projects View ã®å·¦ä¸ã«ãããRefresh all Gradle projectsããã¿ã³ãã¯ãªãã¯ã㦠build.gradle ãåæ ãã¾ãã
Project View ã® External Libraries ãè¦ã㨠ksbysample-library-simpleutils-1.0-RELEASE.jar ããã¦ã³ãã¼ãããã¦ãããã¨ã確èªã§ãã¾ãã
bootRun ã§èµ·åã㦠http://localhost:8080/sample/ ã«ã¢ã¯ã»ã¹ããã¨æ£å¸¸ã«åä½ãã¦ãããã¨ã確èªã§ãã¾ãã
Ctrl+F2 ãæ¼ã㦠Tomcat ãåæ¢ãã¾ãã
feature/1-issue ãã©ã³ãã develop, master ãã©ã³ãã¸ãã¼ã¸ãã¦åé¤ãã¾ãã
次åã¯ããã
- Nexus ã® nexus-3.0.1-01-win64.exe ããã¦ã³ãã¼ãå¯è½ã«ãªã£ã¦ãã¾ããã®ã§ããã¼ã¸ã§ã³ã¢ãããã¾ãã
- org.apache.commons:commons-lang3 çã®ä»ã®ã©ã¤ãã©ãªã«ä¾åããã©ã¤ãã©ãªãä½æãã¦ã¿ã¾ããNexus ç»é²æã«ä»¥ä¸ã®ãã¨ã試ãã¦ã¿ã¾ãã
- sources ã javadoc ã®ã¢ãããã¼ã
- Apache Maven Project - POM Reference ( https://maven.apache.org/pom.html ) ã®
<!-- More Project Information -->
ã«è¨è¼ããã¦ãã description çã®æ å ±ã®è¿½å
ã½ã¼ã¹ã³ã¼ã
ksbysample-library-simpleutils/build.gradle
group 'ksbysample.library' version '1.0-RELEASE' apply plugin: 'java' apply plugin: 'groovy' apply plugin: 'maven'
version '1.0-SNAPSHOT'
âversion '1.0-RELEASE'
ã«å¤æ´ãã¾ãã
ksbysample-webapp-demo/build.gradle
dependencies { compile('org.springframework.boot:spring-boot-starter-web') testCompile('org.springframework.boot:spring-boot-starter-test') compile('ksbysample.library:ksbysample-library-simpleutils:1.0-SNAPSHOT') }
- ksbysample.library:ksbysample-library-simpleutils ã®ãã¼ã¸ã§ã³çªå·ã
1.0-SNAPSHOT
â1.0-RELEASE
ã«å¤æ´ãã¾ãã
å±¥æ´
2016/07/27
åççºè¡ã