Maven 1.x Site Plugin

Support for WebDAV deployment

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

Provide a goal called site:webdavdeploy

Issue Links

Activity

Hide
Mark Slater added a comment -

This is a one-off stab at webdav site upload. It doesn't provide for much else. It relies on the jakarta-slide project.

You need to define the <siteAddress></siteAddress> and <siteDirectory></siteDirectory> in your POM. Do not put a leading '/' on the directory as it is placed there for you. In your project.properties, you need to define "dav.user=..." and "dav.password=...". The repo I'm uploading to requires them, so I can't test open repos. The repository will not be locked, and any existing files will be overwritten.

I'm hoping someone will take this and build it out to provide full webdav support for maven. I don't know enough about jelly to do that well (this took me almost 6 hours), nor do I have time to learn.

Note: as of today, Jan 31 2005, slide does not have its latest release in http://ibiblio.org/maven/slide/jars/. You will have to download their JAR files yourself to use this plugin.

Thanks to the cactus plugin, scarab plugin, the article (http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html) by Eric Pugh. Some of the commentary and other miscellany was copied from them.

Show
Mark Slater added a comment - This is a one-off stab at webdav site upload. It doesn't provide for much else. It relies on the jakarta-slide project. You need to define the <siteAddress></siteAddress> and <siteDirectory></siteDirectory> in your POM. Do not put a leading '/' on the directory as it is placed there for you. In your project.properties, you need to define "dav.user=..." and "dav.password=...". The repo I'm uploading to requires them, so I can't test open repos. The repository will not be locked, and any existing files will be overwritten. I'm hoping someone will take this and build it out to provide full webdav support for maven. I don't know enough about jelly to do that well (this took me almost 6 hours), nor do I have time to learn. Note: as of today, Jan 31 2005, slide does not have its latest release in http://ibiblio.org/maven/slide/jars/. You will have to download their JAR files yourself to use this plugin. Thanks to the cactus plugin, scarab plugin, the article (http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html) by Eric Pugh. Some of the commentary and other miscellany was copied from them.
Hide
Mark Slater added a comment -

I've attached the maven-webdav-plugin-0.1.jar that makes an attempt to provide this feature. All I can say is that it seems to work for my project.

I can't provide support for it, but it doesn't seem to be that complex (once you understand jelly, which I cannot claim to).

Mark

Show
Mark Slater added a comment - I've attached the maven-webdav-plugin-0.1.jar that makes an attempt to provide this feature. All I can say is that it seems to work for my project. I can't provide support for it, but it doesn't seem to be that complex (once you understand jelly, which I cannot claim to). Mark

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated: