[{"data":1,"prerenderedAt":277},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2008\u002F02\u002F10\u002Fdeploying-jars-to-third-party-maven-repository-via-webdav\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":263,"description":213,"embedImage":264,"extension":265,"image":264,"intro":264,"meta":266,"navigation":267,"path":268,"seo":269,"series":264,"sitemap":270,"stem":271,"tags":272,"__hash__":276},"content\u002F2008\u002F02\u002F10\u002Fdeploying-jars-to-third-party-maven-repository-via-webdav.md","Deploying jars to third party maven repository via WebDAV",{"type":208,"value":209,"toc":260},"minimark",[210,214,225,228,231,237,251,254],[211,212,213],"p",{},"Normally you deploy to a third party repository with a command similar to:",[215,216,221],"pre",{"className":217,"code":219,"language":220},[218],"language-text","mvn deploy:deploy-file -Dfile=\u002Fpath\u002Fto\u002Ffile -DrepositoryId=repositoryId\n-Durl=wagon:protocol:\u002F\u002Fpath\u002Fto\u002Frepo -DgroupId=groupId -DartifactId=artifactId\n-Dversion=version -Dpackaging=packageType\n","text",[222,223,219],"code",{"__ignoreMap":224},"",[211,226,227],{},"But - to deploy via webdav needs a snapshot wagon.",[211,229,230],{},"To do this - create a temporary pom in the directory you are in (create a scratch dir or similar). This should contain:",[215,232,235],{"className":233,"code":234,"language":220},[218],"\u003Cproject>\n   \u003CmodelVersion>4.0.0\u003C\u002FmodelVersion>\n   \u003CgroupId>com.example\u003C\u002FgroupId>\n   \u003CartifactId>webdav-deploy\u003C\u002FartifactId>\n   \u003Cpackaging>pom\u003C\u002Fpackaging>\n   \u003Cversion>1\u003C\u002Fversion>\n   \u003Cname>Webdav Deployment POM\u003C\u002Fname>\n\n   \u003Cbuild>\n      \u003Cextensions>\n         \u003Cextension>\n            \u003CgroupId>org.apache.maven.wagon\u003C\u002FgroupId>\n            \u003CartifactId>wagon-webdav\u003C\u002FartifactId>\n            \u003Cversion>1.0-beta-2\u003C\u002Fversion>\n         \u003C\u002Fextension>\n      \u003C\u002Fextensions>\n   \u003C\u002Fbuild>\n\u003C\u002Fproject>\n",[222,236,234],{"__ignoreMap":224},[211,238,239,240,250],{},"(thanks to ",[241,242,249],"a",{"href":243,"rel":244,"target":248},"http:\u002F\u002Farchiva.apache.org\u002Fdocs\u002F1.0.1\u002Fuserguide\u002Fdeploy.html",[245,246,247],"nofollow","noopener","noreferer","_blank","the maven archiva docs"," for this pom).",[211,252,253],{},"Now - in that directory you can now run something similar to",[215,255,258],{"className":256,"code":257,"language":220},[218],"mvn deploy:deploy-file -Dfile=\u002Fpath\u002Fto\u002Ffile -DrepositoryId=repositoryId\n-Durl=dav:protocol:\u002F\u002Fpath\u002Fto\u002Frepo -DgroupId=groupId -DartifactId=artifactId\n-Dversion=version -Dpackaging=packageType\n",[222,259,257],{"__ignoreMap":224},{"title":224,"searchDepth":261,"depth":261,"links":262},2,[],"2008-02-10 16:21:43 +0100",null,"md",{},true,"\u002F2008\u002F02\u002F10\u002Fdeploying-jars-to-third-party-maven-repository-via-webdav",{"title":206,"description":213},{"loc":268},"2008\u002F02\u002F10\u002Fdeploying-jars-to-third-party-maven-repository-via-webdav",[273,274,275],"java","maven","webdav","3O5qEcYsAVxWRXBZCFNvaMXsNb4K9HIVAEcPmiYa3_g",1775293015810]