Skip to main content

Introducing wagon-svn

Posted by kohsuke on November 7, 2007 at 12:30 PM PST

I just published the wagon-svn project, a Maven wagon implementation that talks to a Subversion repository directly. This enables Maven2 users to deploy artifacts and push website contents to a Subversion repository in a fully automated fashion.

The main motivation for writing code is for our projects on First, the web contents of projects are controlled under Subversion/CVS, so we had no easy way to do mvn site:deploy. Wagon-svn fixes this. Second, our projects couldn't directly deploy to the maven2 repository (see the linked page for the workaround we had to do), which wagon-svn also fixes.

I've been using this in several of my projects already (such as Hudson) successfully, thanks to a few folks who served as guinea pigs — Paul Sterk and Stephen Connolly most notably.

The docs on the site explains how you need to update your POM to use this for your projects. Finally, if you find this useful, you might find my skin project useful too.

Related Topics >>


Hi ...

Hi ,

I used your plugin. It works like charm in case of upload. But It failed in case of download a set of files.

Error trace :

[INFO] ------------------------------------------------------------------------
[INFO] The wagon you are using has not implemented getFileList()
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.UnsupportedOperationException: The wagon you are using has not impleme
nted getFileList()
at org.apache.maven.wagon.AbstractWagon.getFileList(
at org.codehaus.mojo.wagon.shared.WagonDirectoryScanner.scandir(WagonDir
at org.codehaus.mojo.wagon.shared.WagonDirectoryScanner.scan(WagonDirect
at org.codehaus.mojo.wagon.shared.DefaultWagonDownload.getFileList(Defau

It clearly said , you have not implemented the this method. Do you have any plan to update the code (add the patch).

I am quite confused about the fact that you did the implementation of single file download . Could you please update me how can I download the files using your plugin.

anyhelp would be approaciated.