Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
<project xmlns="" xmlns:xsi=""
   <name>Webdav Deployment POM</name>



Example: mvn deploy:deploy-file -Dfile=example.jar -DpomFile=example.pom -DrepositoryId=myrepo -Durl=http://localhost:8080/archiva/repository/myrepo

You can also point Maven at an alternate pom file with -f on the command line.


Given that maven 2 doesn't currently include the wagon-webdav plug-in in its core, here's how to add it:

Code Block

svn co

add to maven-2.0.x/pom.xml