ãã®èšäºã¯äœã«ã€ããŠã§ããïŒ
ãã®èšäºã®å
容ã¯æ¬¡ã®ãšããã§ãã
- ãªãªãŒã¹ãšã¯äœã§ããïŒ
- ãªãªãŒã¹ã¯ã©ã®ããã«çªå·ä»ããããŸããïŒ
- ãªãªãŒã¹ãããšãã«ãã©ã³ããå¿
èŠãªã®ã¯ãªãã§ããïŒ
- ãªãªãŒã¹ãåãªãjarïŒwarãearãzipãªã©ïŒã ãã§ã¯ãªãã®ã¯ãªãã§ããïŒ
- maven-release-pluginãšã¯äœã§ããïŒ
- releaseïŒbranchã䜿çšããŠãã©ã³ããäœæããŸãã
- releaseã䜿çšãããªãªãŒã¹ã®æºåïŒprepareã
- releaseïŒperformã䜿çšããŠãªãªãŒã¹ããªãªãŒã¹ããŸãã
ãã®èšäºãèªãã§ç解ããã«ã¯ãMavenããã©ãã·ã¥ã¢ããããããšããå§ãããŸãã ãã®æè¡ãç解ããªããšãå€ãã®çšèªãç解ã§ããªãå ŽåããããŸãã
æåã®ããã€ãã®ã»ã¯ã·ã§ã³ã§ã¯ããªãªãŒã¹ã®äžè¬çãªæŠå¿µãšçªå·ä»ãã«ã€ããŠèª¬æããŸãã ååãªçµéšãããå Žåã¯ãã¹ãããããŠãã ããïŒ
ãªãªãŒã¹ãšã¯äœã§ããïŒ
ç§èªèº«ã«ãšã£ãŠ
ããªãªãŒã¹ãšã¯ç¹å®ã®æ©èœã»ãããä¿®æ£ããããšã§ãã æ©èœãçµ±åãããšãããã®ããŒãžã§ã³ã®è£œåã«ã¯ãæ°ããããã¥ã¡ã³ãã®äœæãæã§ããŒãžããããããŸãã¯ãã±ãããå®å®ã«çºå°ããæ©èœãå«ãŸããŸãããšèšããŸããããªãã®ãªãªãŒã¹ãã§ããããšãšã§ããªãããšã¯ããšã©ãŒãããªãã®ã·ã¹ãã ã«äŸµå
¥ããå Žæãªã©ãèšããŸãã
å°ããªãããžã§ã¯ãã®äŸãèããŠã¿ãŸãããã åžã®åç©åãåç©ã®ç¶æ
ãç£èŠããã·ã¹ãã ã®éçºãåœãããšæ³åããŠãã ãããåç©ãäœãã§ããã±ãŒãžã飌è²ä¿ãåç©ã®äžè©±ãããŸãã ãŸããåç©ãäžè©±ãããå¿
èŠãããããšãSMSã§ç®¡ç人ã«ç¥ãããå¿
èŠããããŸãã
ãããžã§ã¯ããWebåãã«è¡ããã次ã®æ§é ãæã€ããã«ããŸãã
zoo
|---zoo-web
|---zoo-sensor-server
ç§ãã¡ã®ãªãªãŒã¹ã¯æŠäºã§ãããWebãµãŒããŒã«å±éããåç©ã®ããé³¥å°å±ã®ã»ã³ãµãŒããã¡ãã»ãŒãžãåä¿¡ããå°ããªãµãŒããŒã§å§çž®ããŸãã
ãªãªãŒã¹çªå·
ããœãããŠã§ã¢ã®å€æŽã远跡ããããã«ãå€æ°ã®ãœãããŠã§ã¢ããŒãžã§ã³çªå·ä»ãã¹ããŒã ãäœæãããŸããããš
ãŠã£ãããã£ã¢ã¯èªã£ãŠããŸãã
ãããŠãããã¯æ¬åœã«ããã§ãã ã»ãšãã©ã®ãããžã§ã¯ããäŒæ¥ã補åãããã³åã
ã®éçºè
ã¯ãç¬èªã®ããŒãžã§ã³ç®¡çæ¹æ³ã䜿çšããŸãã
Mavenã¯ãå€ããå°ãªããäžè¬çã«åãå
¥ããããŠãã
xyzçªå·ä»ãã¹ããŒã ã䜿çšããããšãææ¡ããŠããŸãã
- x-ã¡ã€ã³ãªãªãŒã¹æ©èœã®æ°
- y-è¿œå ã®ãªãªãŒã¹æ©èœã®æ°
- z-ãã°ä¿®æ£çªå·
ããšãã°ã1.3.23ã0.7.7ãããã³1.4.112ã åç©åã«äœ¿çšããŸãã
äžæ¹ãåç©åã§
ããã§ãåç©åã®ç®¡çã«åæããæ¬æ Œçãªè£œåãçºå£²ããåã«ã3ã€ã®äžéããŒãžã§ã³ãæäŸããããšã«ããŸããã æåã®ãã®ã«ã¯ãé³¥å°å±ã®ã»ã³ãµãŒããæ
å ±ãåéãããµãŒããŒã®å®è£
ãå«ãŸããŸãã WebããŒãã¯éåžžã«ã·ã³ãã«ã§ãæºåãããŠããªã圢åŒã§ã¡ããªãã¯ã衚瀺ããŸãã 2çªç®ã®ãã®ã«ã¯ãé³¥å°å±ã䞊ã¹æ¿ããªãã·ã§ã³ãªã©ã«é¢ããæ
å ±ãå«ãå
šç»é¢ãå«ãŸããŸãã 3çªç®-SMSãä»ããŠå¿
èŠãªã¢ã¯ã·ã§ã³ã«ã€ããŠåŸæ¥å¡ã«éç¥ããæ©èœãå«ãŸããŸãã ãããŠããã¹ãŠãåéããã¯ã©ã€ã¢ã³ãããã¹ãŠãæ°ã«å
¥ã£ãå Žåã«ã®ã¿ãæçµãªãªãŒã¹ããªãªãŒã¹ããŸãã
0.y.0
åäžéããŒãžã§ã³ã«ããããåå
0.1.0ã0.2.0ã0.3.0ãä»ããŸãã
ã¡ã€ã³ãªãªãŒã¹ã¯ãŸã ãªãªãŒã¹ãããŠããªããããæåã®æ°åã¯0ã§ããããã¯äžéçµæã«ãããŸããã
2æ¡ç®ã¯é
éçªå·ãšåãã§ãã 3çªç®ã¯0ã§ããããã¯ãã¢ã»ã³ããªã®æç¹ã§ãã°ã¯ãªããšèããŠããããã§ãã
3æ¡ç®ã0ã®å Žåãå€ãã®å Žå
ã0.1ã0.2ã0.3ãæžã蟌ãŸããŸããã
ã¢ã«ãã¡ãããŒã¿ããã®ä»ã®RC
ã¯ã©ã€ã¢ã³ãã«ãªãªãŒã¹ãæäŸããåã«ãäžéã§ãã£ãŠãã圌ã¯QAããã»ã¹ãçµãå¿
èŠããããŸãã ãã¹ããªãªãŒã¹ã®ãªãªãŒã¹æ¹æ³ãç°ãªãå ŽåããããŸãããç§ã®ãããžã§ã¯ãã§ã¯ãªãªãŒã¹åè£ã®æŠå¿µã䜿çšããããšããŠããŸãã
xyãªãªãŒã¹ããªãªãŒã¹ããåã«ããªãªãŒã¹ãå®å®ããŠãããUATãŸãã¯Productionã§æºåãã§ããŠããããšãQAããéç¥ããããŸã§ãxy-RC1ãxy-RC2ãªã©ããã«ãããŸãã
ãã®åŸãæåŸã®RCãåŸ
æã®ãªãªãŒã¹ã«ãªããŸãã
0.1.x
ã³ãŒãã«ãšã©ãŒããããŸãã ãããŠããŠãŒã¶ãŒã¯åãã§ããããèŠã€ããŸãã ãµããŒãã®ããã»ã¹ã§ã¯ãæ°ãããã°ãéå§ãããããããç·šéããä¿®æ£ãå ããããŒãžã§ã³ãæäŸããå¿
èŠããããŸãã ãã®ããã«ããã°ä¿®æ£ãªãªãŒã¹ãåéãããŸãã
ããšãã°ãããŒãžã§ã³0.1.0ããªãªãŒã¹ããŸããããå®éã®äœæ¥äžã«æž©åºŠã»ã³ãµãŒããŒã¿ãæ£ããåŠçãããªãããšãå€æããŸããã ãªãªãŒã¹0.1.1ããªãªãŒã¹ãããè¿·æãªèª€è§£ãä¿®æ£ãããŸããã
æçµãªãªãŒã¹ä»¥é
äžé£ã®äžéé
ä¿¡ã®åŸã1.0-RCãæ§ç¯ããQAããã»ã¹ãå®äºããŠã1.0ãæ§ç¯ããŸãã ãã®åŸã顧客ãå€éã«èªåçã«ã»ã«ãéãæ©èœãå¿
èŠãšããå Žåãåç©ãæ¯ããããã«ã1.1ãäœæããŠçµã¿ç«ãŠãŸãã
æ°ååã®ãã°ãèŠã€ããã1.1.47ããªãªãŒã¹ããŸãã
圌ãçªç¶ããã£ãšãããã«ããã£ãšãã£ãããæžãçŽããããã°ããããã2.0ã2.1.45ãªã©ãå¿
èŠã«ãªãã§ãããã
ãªãªãŒã¹ãã©ã³ã
ãããã£ãŠããªãªãŒã¹ã¯æ©èœã®çµ±åã§ãã ã€ãŸããé³¥å°å±ã®ã»ã³ãµãŒããããŒã¿ãåéããããã®ãµãŒããŒãäœæããŸããã ã·ã³ãã«ãªWebã€ã³ã¿ãŒãã§ã€ã¹ãäœæããŸããã ãã¹ãŠããã¹ãããŠåç©åã«æž¡ããã»ã³ãµãŒãé
眮ãããŸããã çŸãããã¬ã³ããªãŒãªã€ã³ã¿ãŒãã§ã€ã¹ã®äœæãéå§ããŸãã ãããŠãã¡ãããããã«å¯ŸåŠããŸãã
ããã€ãã®è³ªåããããŸãïŒ
- æ°ãããã¬ã³ããªãŒãªã€ã³ã¿ãŒãã§ã€ã¹ã³ãŒãã¯ã©ãã«æžãã¹ãã§ããïŒ
- åç©åã§çªç¶æ
å ±ãèŠã€ãã£ãå Žåãã»ã³ãµãŒããã®æ
å ±ãåŠçããéã®ãšã©ãŒãã©ãã§ä¿®æ£ããŸããïŒ
ãã©ã³ã¯ã§ã¯ããã¡ããããšã©ãŒãä¿®æ£ããå¿
èŠããããŸãã ããããæ°ããããŒãžã§ã³ãæ°æ¥ã§ãŸãšããŠåç©åã«æž¡ãããšã¯ã§ããŸããã çŸããã€ã³ã¿ãŒãã§ã€ã¹ã®ããã«ãã¹ãŠãæŽçããŸããã
ãããã£ãŠãéåžžãåºæ¬æ©èœãŸãã¯è¿œå æ©èœãåãããªãªãŒã¹ã®ãªãªãŒã¹ã«ã¯ã
VCS ïŒãã©ã³ãïŒã§ã®ãã©ã³ãã®äœæã䌎ããŸãã ãã®ãã©ã³ãã«ã¯ãçŸåšã®è£œåããŒãžã§ã³ã®ã¯ã©ã€ã¢ã³ãã§èŠã€ãã£ããã°ã®ä¿®æ£ãå«ãŸããŸãã ãã©ã³ã¯ã§ã¯ãäœã§ãã§ããŸãã åæã«ããã°ä¿®æ£ã®ã¿ãå«ãå®å®ããã³ãŒããåžžã«ãããŸãã
éåžžããã®ãããªãã©ã³ãã¯
<ãããžã§ã¯ãå> -0.1.xãšåŒã°ã
ãŸããã€ãŸã ããã®ããŒãžã§ã³ã®ä¿®æ£ãã°ãå«ããªãªãŒã¹0.1ããã®ãã©ã³ãã§ãã
ãªãªãŒã¹ãæŠäºã®çµã¿ç«ãŠä»¥äžã®ãã®ã§ããçç±
æçµè£œåã¯ããã ã®æŠäºã§ã¯ãããŸããã 補åã«ã¯ã©ã€ããµã€ã¯ã«ããããŸãã ä»ã®è£œåã§äœ¿çšã§ããå¿
èŠããããŸãã ãµãŒããŒåç©åã§ã®ç«çœã®çµæããã¹ãŠã®ã¢ã»ã³ããªã倱ãããå ŽåããªãªãŒã¹ãåæ§ç¯ã§ããŸãã
ãªãªãŒã¹ã¯2ã€ã®ã¿ã¹ã¯ãå®è¡ããå¿
èŠããããŸãã
- åéããã補åã®å¯çšæ§ã®ç¢ºä¿ãšç¢ºä¿ã
- åã¢ã»ã³ããªãŸãã¯ãã®ãªãªãŒã¹ããã®æ°ãããã©ã³ãã®éå§ã®å Žåã®ããªãªãŒã¹ã®ãœãŒã¹ã³ãŒãã®çµ±åã
ãããã£ãŠãåç©åã®çµã¿ç«ãŠãããæŠäºãšzipãã©ãã«ããããèŠã€ããå¿
èŠãããã
VCSã¬ãã«ã§ã³ãŒãã®ãã®ç¹å®ã®ç¶æ
ããªãªãŒã¹ã«å¯Ÿå¿ããŠããããšãèŠããŠããå¿
èŠããããŸãã
ã³ãŒãã®ç¶æ
ãèŠããŠãããŠãã ãã
ããã«ã¯ã¿ã°ã䜿çšãããŸãã ããŒãžã§ã³ç®¡çã·ã¹ãã ã®ã¿ã°ãããã¯ããªããžã§ã³ã«å²ãåœãŠãããååã§ãã ã«ã¹ã¿ã ã«ãã¯ã®å Žåãã¿ã°ã¯åããœãŒã¹ãã©ã«ããŒã§ããããã®ç¶æ
ã¯ã¿ã°ãäœæãããæç¹ã§åºå®ãããŠããŸãã ãŸããã¿ã°ããã©ã³ããšããŠäœ¿çšããªãã§ãã ããã
çµã¿ç«ãŠã補åãåºãã
çµã¿ç«ãŠããã補åãä¿åããŠã¢ã¯ã»ã¹ã§ããããã«ããããã«ãå€éšãµãŒããŒã§ããŒã«ã䜿çšããããšãã§ããŸãã Mavenã¯ãç£æ¥éçºã«ãªããžããªã®æŠå¿µããããããŸãã ã¢ãŒãã£ãã¡ã¯ãã¯ãªããžããªã«ä¿åãããŸãããªããžããªããã¢ãŒãã£ãã¡ã¯ããååŸã§ããŸãã ãªããžããªã¯ãã°ã«ãŒããååãããã³ããŒãžã§ã³ããšã«ææç©ãæ§é åããŸãã
ãã¹ãŠäžç·ã«
ããå¿
èŠããããŸãïŒ
- ãããåºæ¬æ©èœãŸãã¯è¿œå æ©èœã®ãªãªãŒã¹ã§ããå Žåã¯ããã°ãä¿®æ£ããããã®ãã©ã³ããäœæããŸãã
- ãªãªãŒã¹æã®ã³ãŒãã®ç¶æ
ãèšæ¶ããã¿ã°ãäœæããŸãã
- 補åããã«ããããããªãã¯ã¢ã¯ã»ã¹ã®ããã«å
±æããŸãã
maven-release-plugin
maven-release-pluginã¯ãããŒãžã§ã³ç®¡çã·ã¹ãã ãšãªããžããªéã®å¯Ÿè©±ããŒã«ã§ãããããã€ãã®ã³ãã³ãã§ãªãªãŒã¹ã§ããŸãã ãã©ã°ã€ã³ã¯ãéå§ããçµäºãŸã§ã®ãªãªãŒã¹ããã»ã¹å
šäœãå®è¡ããŸãã
ãã©ã°ã€ã³æ§æ
ãã©ã°ã€ã³ãæ©èœããã«ã¯ããããžã§ã¯ãã®ã¡ã€ã³ã¢ãžã¥ãŒã«ã®pom.xmlã«æ¬¡ã®æ
å ±ãå¿
èŠã§ãã
ããŒãžã§ã³ç®¡çæ
å ±
ãŸãããããžã§ã¯ãã®ãœãŒã¹ã³ãŒããä¿åãããŠããå Žæã瀺ãå¿
èŠããããŸãã ãããè¡ãã«ã¯ãæšæºã®Mavenã¿ã°ã䜿çšããŸãã
<scm> <connection>scm:svn:http://svn.zoo.com/zoo/trunk</connection> </scm>
scmïŒsvnïŒhttpã¯ã
scmãããã³ã«ã䜿çšããŠã
httpïŒãã¹ã«æ²¿ã£ãŠ
svnãªããžããªãšå¯Ÿè©±ããŸãã
SCMã¯ãããŒãžã§ã³ç®¡çã·ã¹ãã ãæäœããããã®Mavenãããã³ã«ã§ãã
Mercurialã䜿çšããŠåç©åãäœæããå Žåã以äžãäœæããå¿
èŠããããŸãã
<scm> <connection>scm:hg:http://svn.zoo.com/zoo/trunk</connection> </scm>
ãã«ãèšå®
ãªãªãŒã¹ã®ãã©ã¡ãŒã¿ãŒãèšå®ããããã«ãã»ã¯ã·ã§ã³ãžã®ãã©ã°ã€ã³æ¥ç¶ã䜿çšãããŸãã
<ãã«ã> <ãã©ã°ã€ã³>ã
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <tagBase>svn://svn.zoo.com/zoo/tags</tagBase> <branchBase>svn://svn.zoo.com/zoo/branches</branchBase> <preparationGoals>clean install</preparationGoals> <goals>deploy</goals> <autoVersionSubmodules>true</autoVersionSubmodules> </configuration> </plugin>
æ§æïŒ
- tagBase-ã¿ã°ãä¿åããããªããžããªå
ã®ãã©ã«ããžã®ãã¹ã
- branchBase-ãã©ã³ããä¿åããããªããžããªå
ã®ãã©ã«ããžã®ãã¹ã
- PreparationGoals-ã¿ã°ãäœæããåã«ããªãªãŒã¹ã®æºåã§å®è¡ããã¿ã¹ã¯ã ããã¯éåžžãæšæºã®ãã«ããµã€ã¯ã«ã§ãã
- ç®æš -ãªãªãŒã¹èªäœã§å®è¡ããå¿
èŠãããã¿ã¹ã¯ã éåžžããããã¯çµ±åãã¹ãããã³å
±éãªããžããªãžã®å±éã§ãã
- autoVersionSubmodulesã¯ããããžã§ã¯ãå
ã®ãã¹ãŠã®ã¢ãžã¥ãŒã«ã®æ°ããããŒãžã§ã³ãäžåºŠã«æå®ã§ãã䟿å©ãªèšå®ã§ãã
ãã©ã°ã€ã³ã¯ãããžã§ã¯ãããŒãžã§ã³ã䜿çšããŸãã
<version>0.1-SNAPSHOT</version>
äžè¬çãªèŠä»¶
ãªãªãŒã¹ãäœæããã«ã¯ã
VCSã®ã¯ã©ã€ã¢ã³ããã·ã¹ãã ã«ã€ã³ã¹ããŒã«ããå¿
èŠããããŸãã ã³ã³ãœãŒã«ããã¢ã¯ã»ã¹å¯èœã§ãPATHïŒsvnãhgãgitïŒã«ããå¿
èŠããããŸãã
ãŸããã³ãŒãã«ããŒã«ã«ãªå€æŽãããå Žåããã©ã°ã€ã³ã§ã¯ãªãªãŒã¹ãäœæã§ããŸããã ãããŠåœç¶ã§ãïŒ
ãªãªãŒã¹ãäœæããã«ã¯ããã©ã°ã€ã³ã«ããŒãžã§ã³ç®¡çã·ã¹ãã ãžã®æžã蟌ã¿ã¢ã¯ã»ã¹ãå¿
èŠã§ãã ãã·ã³ã®èªèšŒãã£ãã·ã¥ã«å¿
èŠãªæ
å ±ãããããšã確èªãããã-Duser = <vcs-user> -Dpassword = <vcs-password>ã䜿çšããŸãã
zoo-0.1ãªãªãŒã¹ãäœæãã
åç©åã®æåã®é
ä¿¡ã®ãªãªãŒã¹ãåéããŸãã ããŒãžã§ã³0.1-RC3-SNAPSHOTã®ãã©ã³ã¯ããããŸãã QAããŒã ã¯ãRC2ã§ååã«ãªãªãŒã¹ã§ããããšãéç¥ããŸããã
ãªãªãŒã¹çšãã©ã³ãã®äœæ-ãªãªãŒã¹ïŒãã©ã³ã
ãã®é
ç®ãå®äºããå¿
èŠãããã®ã¯ãåºæ¬æ©èœãŸãã¯è¿œå æ©èœãåãããªãªãŒã¹ããã«ãããå Žåã®ã¿ã§ãã ãã°ä¿®æ£ãªãªãŒã¹zoo-0.1.2ãåéããŠããå Žåããã®ãã€ã³ãã¯ã¹ãããããŸãã
ãªãªãŒã¹åè£ãåéããå Žåããã®ã¹ããããã¹ãããããŸãã
ãã©ã³ããäœæããã«ã¯ã次ãè¡ãå¿
èŠããããŸãã
mvn release:branch -DbranchName=zoo-0.1.x
å®è¡æã«ãMavenã¯ãã©ã³ã¯ã®æ¬¡ã®ããŒãžã§ã³ãå°ããŸããããã©ã«ãã§ã¯0.2-SNAPSHOTãæäŸããŸãã
What is the new working copy version for "Zoo"? (com.zoo:zoo) 0.2-SNAPSHOT:
ãªãªãŒã¹ã®æºå-ãªãªãŒã¹ïŒæºå
maven-release-pluginã«é¢ãããã¬ãªãªãŒã¹ãã§ãŒãºã«ã¯ããããžã§ã¯ãã®æ€èšŒïŒã³ã³ãã€ã«ããã¹ããã¢ã»ã³ããªïŒããã³
VCSã§ã®ã¿ã°äœæãå«ãŸããŸãã ã¿ã°ã¯ãæ§æäžã«æå®ããããã©ã«ããŒã«äœæãããŸãã
ãªããžããªããéžæããåŸãäœæãããã©ã³ããããªãªãŒã¹ããŸãã åã®ã¹ãããã§ããã©ã³ã¯ã¯æ°ããç掻ãå§ããç§ãã¡ã¯åœŒã«è§ŠããªããªããŸããã
ãã°ä¿®æ£ãªãªãŒã¹ãåéããå Žåãäœãéžæããå¿
èŠã¯ãããŸããã ãã§ã«ãã°ä¿®æ£ã®ããã«ãã©ã³ãã«ããŸãã
ãªãªãŒã¹åè£ãåéããŠããå Žåããã©ã³ã¯ãããã®ãã§ãŒãºãå®è¡ããŠããŸãã
次ã®ã³ãã³ããå®è¡ããŸãã
mvn release:prepare
Mavenã¯ãåéããããŒãžã§ã³çªå·ãã¿ã°ã®ååãããã³æ¬¡ã®ããŒãžã§ã³çªå·ãåžžã«èŠæ±ããŸãã
ããã¯æåã®å°æ¥ã®ãã°ä¿®æ£ãªãªãŒã¹ã§ãããããæåŸã®è³ªåã«ã¯0.1.1-SNAPSHOTãšçããŸãã
ãªãªãŒã¹ãªãªãŒã¹-ãªãªãŒã¹ïŒå®è¡
ãªãªãŒã¹å®è¡ãã§ãŒãºã«ã¯ãã¿ã°ãããœãŒã¹ã³ãŒãããã§ãã¯ããŠãã«ãããããšãå«ãŸããŸãïŒéåžžãå±éãã§ãŒãºã®åïŒã ã¯ããããã§ãã圌ãã¯ã¿ã°ãããœãŒã¹ã³ãŒãããã§ãã¯ã¢ãŠãããŸãã äœæ¥ã³ããŒã®ãœãŒã¹ã³ãŒããæ¢ã«ããã®ã«ããªããããå¿
èŠãªã®ã§ããïŒ Mavenã¯ããã®ã¢ã»ã³ããªãã¿ã°ãæåã§éžæããããšã§å®è¡ã§ãããã®ãšåäžã§ããããšã確èªãããããã§ãã
ãªãªãŒã¹ãå®äºããã«ã¯ã以äžãå®äºããå¿
èŠããããŸãã
mvn release:perform
ä»åã¯äœãèããããå¿
èŠãªããšãäœã§ãããŸãã çµæã¯ãäžè¬çãªã¢ãŒãã£ãã¡ã¯ããªããžããªã«æçš¿ããããªãªãŒã¹ã«ãªããŸãã
äœããããŸããããªãã£ãå Žåã
ãã©ã°ã€ã³ã®äœ¿çšäžã«äœããå£ããå Žåã次ã®3ã€ã®ãªãã·ã§ã³ããããŸãã
- ããšãã°ãããŒãžã§ã³ç®¡çã·ã¹ãã ãåãããµãŒããŒãå©çšã§ããªãã£ããªã©ãå€éšèŠå ã«ãããããçºçããå Žåã¯ãã¿ã¹ã¯ãå床å®è¡ããŸãã ãã©ã°ã€ã³ã¯æåŸã«æåããã¢ã¯ã·ã§ã³ãèšæ¶ããç¶è¡ããããšããŸãã
- ã¢ã»ã³ããªãšã©ãŒäžã«ãã©ã°ã€ã³ãçºçããå Žåãããšãã°ãçµ±åãã¹ãã«åæ Œããªãã£ãå Žåã releaseïŒrollbackã䜿çšããŸãããã®ã³ãã³ãã¯ããã¹ãŠã®ããŒãžã§ã³å€æŽãããŒã«ããã¯ããããŒãžã§ã³ç®¡çã·ã¹ãã ãã倱æããã¿ã°ãåé€ããŸã
- ããŒã«ããã¯ãããã®ãäœããªããšç¢ºä¿¡ããŠããŠãããäžåºŠããçŽãããå Žåã¯ã releaseã䜿çšããŠãã ããïŒclean