[{"data":1,"prerenderedAt":307},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2008\u002F05\u002F27\u002Fusing-maven2-scm-and-release-plugins-with-mercurial-hg\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":27,"date":289,"description":290,"embedImage":291,"extension":292,"image":291,"intro":291,"meta":293,"navigation":294,"path":295,"seo":296,"series":291,"sitemap":297,"stem":298,"tags":299,"__hash__":306},"content\u002F2008\u002F05\u002F27\u002Fusing-maven2-scm-and-release-plugins-with-mercurial-hg.md","Using maven2 scm and release plugins with mercurial\u002Fhg",{"type":208,"value":209,"toc":286},"minimark",[210,219,222,233,236,239,245,258,261],[211,212,213,214,218],"p",{},"Mercurial - like some other distributed version control systems works such that each developer has a full value repository - there is no real ",[215,216,217],"em",{},"master"," other than by convention in a team.",[211,220,221],{},"To set up your maven project so that the scm configuration points to a developers local repo:",[223,224,229],"pre",{"className":225,"code":227,"language":228},[226],"language-text","\u003Cscm>\n    \u003Cconnection>scm:hg:file:\u002F\u002F${basedir}\u003C\u002Fconnection>\n    \u003CdeveloperConnection>scm:hg:file:\u002F\u002F${basedir}\u003C\u002FdeveloperConnection>\n\u003C\u002Fscm>\n","text",[230,231,227],"code",{"__ignoreMap":232},"",[211,234,235],{},"Note that you do not need configuration for the release plugin (svn users would normally configure URL to the tag path here for example).",[211,237,238],{},"However, this will cause issues in other areas. For example - what will happen when you add your pom to a CI (continuum\u002Fhudson etc) and it tries to check out? It won't find the repository.",[211,240,241],{},[242,243,244],"strong",{},"Shared\u002Fremote repo",[211,246,247,248,257],{},"Just point the scm tag to the repo scm:hg:",[249,250,251],"a",{"href":251,"rel":252,"target":256},"http:\u002F\u002Frepo",[253,254,255],"nofollow","noopener","noreferer","_blank",".",[211,259,260],{},"More info:",[262,263,264,272,279],"ul",{},[265,266,267],"li",{},[249,268,271],{"href":269,"rel":270,"target":256},"http:\u002F\u002Fmaven.apache.org\u002Fscm\u002F",[253,254,255],"Maven SCM Home",[265,273,274],{},[249,275,278],{"href":276,"rel":277,"target":256},"http:\u002F\u002Fmaven.apache.org\u002Fplugins\u002Fmaven-release-plugin\u002F",[253,254,255],"Maven Release Plugin",[265,280,281],{},[249,282,285],{"href":283,"rel":284,"target":256},"http:\u002F\u002Fmercurial.selenic.com\u002Fwiki\u002F",[253,254,255],"Mercurial Wiki",{"title":232,"searchDepth":287,"depth":287,"links":288},2,[],"2008-05-27 11:27:10 +0200","Mercurial - like some other distributed version control systems works such that each developer has a full value repository - there is no real master other than by convention in a team.",null,"md",{},true,"\u002F2008\u002F05\u002F27\u002Fusing-maven2-scm-and-release-plugins-with-mercurial-hg",{"title":206,"description":290},{"loc":295},"2008\u002F05\u002F27\u002Fusing-maven2-scm-and-release-plugins-with-mercurial-hg",[300,301,302,303,304,305],"maven","release-plugin","scm-plugin","mercurial","hg","tutorial","-gMkTx4-yY3TzL2hGuiV8UZJVeQqkWaU2BY-EKKTLJU",1775293014800]