You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Slater <ma...@analogsoftware.com> on 2005/02/01 00:42:58 UTC

maven-webdav-plugin-0.1 available

I haven't been able to find any maven plugins that will upload the site 
documents to a WebDAV repository. So, this morning, I finally did it 
myself. The result is posted in:

http://jira.codehaus.org/browse/MPSITE-17

The jar file is attached to the issue request.

It depends on jakarta-slide 2.1 jars that, as of this morning, were not 
yet uploaded in ibiblio.org. You can download them manually from the 
http://jakarta.apache.org/slide/ website (the jar files in the 
distribution will have to be renamed when you install them in your 
maven jar repository as I tried to follow their past naming scheme in 
http://ibiblio.org/maven/slide/jars/).

To make it work, I have the following configuration:

--- project.xml ---
     <siteAddress>http://<!-- your site here --></siteAddress>
     <siteDirectory><!-- Value is blank for root directory 
'/'.--></siteDirectory>

-- ~/build.properties --
dav.user=someuser
dav.password=somepass

I placed the username and password in build.properties to avoid 
hard-coding my username and (especially!) my password in the 
project.properties file. I do not know if the plugin will work on 
repositories that do not require usernames and/or passwords to enable 
write permissions.

While I can't provide support for it... but I can say that it works for 
me. YMMV.

Hopefully someone will take the plugin and add to it, maybe have full 
WebDAV task support in Maven. Or, if there's already functionality like 
this someplace else in Maven, please let me know as I was unable to 
find it.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org