Stephen Connolly | 1 Sep 2008 10:00
Picon
Gravatar

https://dav.codehaus.org/.... from behind a http proxy?

I event tried with 2.1.0-M1-RC12, no luck!

BTW,

Maven version: 2.1.0-M1-RC12
Java version: 1.6.0_05
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-92.1.10.el5" arch: "amd64" family: "unix"

mvn site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
WAGON_VERSION: 1.0-beta-2

I thought that we have moved to 1.0-beta-4? Or is there some way I can force the use of 1.0-beta-4 (in case it works webdav site deployment behind a http proxy)

On Mon, Sep 1, 2008 at 8:54 AM, Stephen Connolly <stephen.alan.connolly <at> gmail.com> wrote:
I have the proxy settings in my settings.xml

I have http_proxy environment variable set

I have my username and password in settings.xml

Is this just broken from behind a http proxy, or is there some more magic?

Maven 2.0.9:

[INFO] [site:deploy]
https://dav.codehaus.org/mojo/versions-maven-plugin - Session: Opened 
https://dav.codehaus.org/mojo/versions-maven-plugin - Session: Disconnecting 
https://dav.codehaus.org/mojo/versions-maven-plugin - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error uploading site

Embedded error: Failed to create destination WebDAV collection (directory): /mojo/versions-maven-plugin/.
Connection timed out
[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.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        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:203)
        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: Failed to create destination WebDAV collection (directory): /mojo/versions-maven-plugin/.
        at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:270)
        at org.apache.maven.wagon.providers.webdav.WebDavWagon.putDirectory(WebDavWagon.java:555)
        at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:187)
        ... 18 more
Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:353)
        at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
        at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:93)
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:652)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:628)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
        at org.apache.webdav.lib.WebdavResource.mkcolMethod(WebdavResource.java:4106)
        at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:264)
        ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 16 seconds
[INFO] Finished at: Mon Sep 01 08:51:38 IST 2008
[INFO] Final Memory: 18M/289M
[INFO] ------------------------------------------------------------------------


Benjamin Bentmann | 1 Sep 2008 10:12

https://dav.codehaus.org/.... from behind a http proxy?

Stephen Connolly wrote:

> WAGON_VERSION: 1.0-beta-2
>
> I thought that we have moved to 1.0-beta-4?

AFAIK, one can still override the Wagon version bundled with the core
which the Mojo Parent does.

> Or is there some way I can force the use of 1.0-beta-4

Try using an <extension> in your POM.

Benjamin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Stephen Connolly | 1 Sep 2008 11:13
Picon
Gravatar

https://dav.codehaus.org/.... from behind a http proxy?

Ahhh mojo-parent version 18 might be doing this!

On Mon, Sep 1, 2008 at 9:12 AM, Benjamin Bentmann <benjamin.bentmann <at> udo.edu> wrote:
Stephen Connolly wrote:

> WAGON_VERSION: 1.0-beta-2
>
> I thought that we have moved to 1.0-beta-4?

AFAIK, one can still override the Wagon version bundled with the core
which the Mojo Parent does.

> Or is there some way I can force the use of 1.0-beta-4

Try using an <extension> in your POM.


Benjamin



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Stephen Connolly | 1 Sep 2008 11:19
Picon
Gravatar

https://dav.codehaus.org/.... from behind a http proxy?

Yep mojo-parent is forcing webdav 1.0-beta-2 on me.... but 1.0-beta-4 does not seem to work from behind a http proxy either

On Mon, Sep 1, 2008 at 10:13 AM, Stephen Connolly <stephen.alan.connolly <at> gmail.com> wrote:
Ahhh mojo-parent version 18 might be doing this!


On Mon, Sep 1, 2008 at 9:12 AM, Benjamin Bentmann <benjamin.bentmann <at> udo.edu> wrote:
Stephen Connolly wrote:

> WAGON_VERSION: 1.0-beta-2
>
> I thought that we have moved to 1.0-beta-4?

AFAIK, one can still override the Wagon version bundled with the core
which the Mojo Parent does.

> Or is there some way I can force the use of 1.0-beta-4

Try using an <extension> in your POM.


Benjamin



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





Gmane