Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-211

Can't deploy site using site:deploy due to a ProxyHTTP error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0-beta-5
    • 2.0-beta-7
    • site:deploy
    • None
    • linux ubuntu dapper drake
    • Patch

    Description

      When I execute the site deployment (with version that comes with maven 2.0.5) "mvn site:deploy " I got an error see log en debug mode below. This used to work correctly with maven version 2.04 (so maybe site plugin version 2.0-beta-4 :

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error uploading site

      Embedded error: Cannot connect. Reason: ProxyHTTP: java.io.IOException: proxy
      error: Forbidden
      [INFO] ------------------------------------------------------------------------
      [DEBUG] Trace
      org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      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:324)
      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:184)
      at
      org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      ... 16 more
      Caused by: org.apache.maven.wagon.authentication.AuthenticationException:
      Cannot connect. Reason: ProxyHTTP: java.io.IOException: proxy error:
      Forbidden
      at
      org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:186)
      at
      org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
      at
      org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:149)
      ... 18 more
      Caused by: com.jcraft.jsch.JSchException: ProxyHTTP: java.io.IOException:
      proxy error: Forbidden
      at com.jcraft.jsch.ProxyHTTP.connect(Unknown Source)
      at com.jcraft.jsch.Session.connect(Unknown Source)
      at com.jcraft.jsch.Session.connect(Unknown Source)
      at
      org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:158)
      ... 20 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3 seconds
      [INFO] Finished at: Wed Feb 21 12:00:41 CET 2007
      [INFO] Final Memory: 3M/7M
      [INFO] ------------------------------------------------------------------------

      Attachments

        1. MSITE-211.patch
          8 kB
          Cyrille Le Clerc

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              becool26 Elid OR
              Votes:
              22 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: