Dan,

I have 2.1-M2-SNAPSHOT with Mercury wagon packaged into it for http/https/dav, if you are interested - http://people.apache.org/~ogusakov/repos/staging/org/apache/maven/apache-maven/2.1.0-M2-SNAPSHOT/apache-maven-2.1.0-M2-20081003.231722-1-bin.gz

Thanks,
Oleg

Dan Tran wrote:
i am using 2.1-M2, have not tested with web deployment yet. However my
IT test show i can download a single file using a dav url

Any how, it turns how i need both xerces adn commons-collections in my
extensions.

but I now run into 2 issues:

  1 getFileList from https://dav.codehaus.org/snapshots.repository/mojo
     return "..DS_Store"

  2. getFilelist from
https://dav.codehaus.org/snapshots.repository/mojo/some/valid/path

     returns exception:

[INFO] [wagon:list {execution: list}]
[INFO] Listing https://dav.codehaus.org/snapshots.repository/mojo ...
Oct 10, 2008 8:08:03 PM org.apache.commons.httpclient.auth.AuthChallengeProcesso
r selectAuthScheme
INFO: basic authentication scheme selected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error handling resource

Embedded error: Destination path exists but is not a WebDAV collection (director
y): https://dav.codehaus.org/snapshots.repository/mojo/org/codehaus/mojo/build-h
elper-maven-plugin/1.2-SNAPSHOT


so it seems we cannot use full path to dav's URL

is this a bug in wagon webdav?

-D

On Fri, Oct 10, 2008 at 7:56 PM, Brett Porter <[EMAIL PROTECTED]> wrote:
It will need to be added to the extensions.

It really shouldn't be necessary though - what version of Maven are
you using, and does the dav deployment work normally?

- Brett

2008/10/11 Dan Tran <[EMAIL PROTECTED]>:
Ok, i added         xerces to my plugin's classpath, still no go.


still looking

-D


On Fri, Oct 10, 2008 at 7:45 PM, Brett Porter <[EMAIL PROTECTED]> wrote:
No, I think you need to add xerces, or find out why the jackrabbit
version of those classes are being used instead of the patched version
(there's also a chance that there is a new release of jackrabbit that
includes the patch now - I haven't checked).

- Brett

2008/10/11 Dan Tran <[EMAIL PROTECTED]>:
No sure how to proceed.

are you suggesting me to add jackrabt to my plugin;'s classpath?

-D

On Fri, Oct 10, 2008 at 7:23 PM, Brett Porter <[EMAIL PROTECTED]> wrote:
2008/10/11 Dan Tran <[EMAIL PROTECTED]>:
Hello,

I am currently continue on with James Dumay's wagon-maven-plugin at
MOJO's sanbox and running to issue invokes' Wagon:getFilelist() with
wagon-webdav-jackrabbit

The IT pom is at
http://svn.codehaus.org/mojo/trunk/sandbox/wagon-maven-plugin/src/it/webdav

Maybe this is a classpath ordering problem - to apply a patch from
Jackrabbit's JIRA we included a couple of Jackrabbit source files in
the wagon. If the versions from Jackrabbit are being used instead it
is fine, but you will need to include Xerces as a dependency as well.

I also try it with with wagon-webdav-beta-2, the getFilelist returns wrong data.
Yep, that bug was fixed up in beta-4.

- Brett
--
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to