It seems you have pegged the webdav provider to 1.0-beta-2.
I'd suggest removing that build extension, or replacing it with:
g: org.apache.maven.wagon
a: wagon-webdav-jackrabbit
v: 1.0-beta-6
Cheers,
Brett
On 25/09/2009, at 7:48 PM, Marc Lustig wrote:
I tried using Mvn 2.2.1 and got the same error from the wagon plugin:
[INFO] [site:deploy {execution: default-deploy}]
WAGON_VERSION: 1.0-beta-2
http://ci1.xxx/test - Session: Opened
Uploading: ./css/maven-base.css to http://ci1.xxx/test
# Transfer error: org.apache.commons.httpclient.HttpException:
Unbuffered
entity enclosing request can not be repeated.
http://ci1.xxx/test - Session: Disconnecting
http://ci1.xxx/test - Session: Disconnected
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error uploading site
Embedded error: PUT request for: ./css/maven-base.css to maven-
base.css
failed
Unbuffered entity enclosing request can not be repeated.
----
I also tried using -X but got no more output to indicate the root
cause.
brettporter wrote:
This is probably related to the authentication re-submissions that
John worked on. Is it any better in Maven 2.2.1?
- Brett
On 23/09/2009, at 10:19 PM, Marc Lustig wrote:
Hi,
we have configured our httpd to use digest-authentication for dav
write-operations.
In the pom, we have configured the site distribution
<site>
<id>maven-site</id>
<url>dav:http://server/test</url>
</site>
In settings, we have configured the credentials as a server-tag
<server>
<id>maven-site</id>
<username>username</username>
<password>pw</password>
</server>
When we run maven 2.1 site-deploy, we get the following error:
[INFO] [site:deploy]
http://ci1.muc.allianz/test - Session: Opened
Uploading: ./css/maven-base.css to http://ci1.muc.allianz/test
# Transfer error: org.apache.commons.httpclient.HttpException:
Unbuffered
entity enclosing request can not be repeated.
http://ci1.muc.allianz/test - Session: Disconnecting
http://ci1.muc.allianz/test - Session: Disconnected
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error uploading site
Embedded error: PUT request for: ./css/maven-base.css to maven-
base.css
failed
Unbuffered entity enclosing request can not be repeated.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
uploading site
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
uploading
site
at
org.apache.maven.plugins.site.SiteDeployMojo.execute
(SiteDeployMojo.java:200)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by: org.apache.maven.wagon.TransferFailedException: PUT
request for:
./css/maven-base.css to maven-base.css failed
at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put
(WebDavWagon.java:326)
at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory
(WebDavWagon.java:555)
at
org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory
(WebDavWagon.java:549)
at
org.apache.maven.plugins.site.SiteDeployMojo.execute
(SiteDeployMojo.java:184)
... 18 more
Caused by: org.apache.commons.httpclient.HttpException: Unbuffered
entity
enclosing request can not be repeated.
Is this problem related to the wagon-plugin?
Is the wagon-plugin not compatible with digest auth ?
--
View this message in context:
http://www.nabble.com/site-deploy-using-DAV-with-digest-auth-tp25531105p25531105.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
--
View this message in context:
http://www.nabble.com/site-deploy-using-DAV-with-digest-auth-tp25531105p25609314.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org