You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2008/06/27 10:46:26 UTC
[jira] Commented: (MSITE-341) 'nonProxyHosts' element is not
handled when we deploy a site
[ http://jira.codehaus.org/browse/MSITE-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139759#action_139759 ]
Dennis Lundberg commented on MSITE-341:
---------------------------------------
Sounds like a duplicate of MSITE-211
> 'nonProxyHosts' element is not handled when we deploy a site
> ------------------------------------------------------------
>
> Key: MSITE-341
> URL: http://jira.codehaus.org/browse/MSITE-341
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Affects Versions: 2.0-beta-6
> Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux"
> Reporter: Vincent Ricard
>
> I've a proxy set in my settings.xml file like that:
> <proxy>
> <active>true</active>
> <protocol>http</protocol>
> <host>proxy.domain.tld</host>
> <port>3128</port>
> <username></username>
> <password></password>
> <nonProxyHosts>deploy-server.domain.tld</nonProxyHosts>
> </proxy>
> When i run 'mvn site:deploy' i get this stack trace:
> java.lang.ArrayIndexOutOfBoundsException: 2
> at com.jcraft.jsch.Util.toBase64(Unknown Source)
> 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)
> at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
> at org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:177)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> 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:585)
> 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)
> Because the 'nonProxyHosts' element is not used. When i comment my whole 'proxy' block, all is fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira