maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arik Kfir <arikk...@gmail.com>
Subject ssh deployment on linux using maven 1.1-beta-1 (from CVS HEAD)
Date Mon, 05 Sep 2005 21:40:07 GMT
Hi all,

I have a project which worked great on 1.0.2, and I've been trying to
move it to 1.1-beta-1.

The build itself works excellent, but the deployment (via ssh+private
key) fails.

The exception I get is:
==[ output start ] ======================================================
[arik@bzq-179-147-142 util]$ maven jar:deploy
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2-SNAPSHOT

build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to /home/arik/projects/crm/util/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:

jar:jar:

jar:deploy:
    [echo] Deploying...
Will deploy to 1 repository(ies): corleon
Deploying to repository: corleon
Identity: java.lang.ArrayIndexOutOfBoundsException: 589
Failed to deploy to: corleon Reason:
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: java.lang.ArrayIndexOutOfBoundsException: 589
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: java.lang.ArrayIndexOutOfBoundsException: 589
        at org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:164)
        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:123)
        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:90)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles(DefaultArtifactDeployer.java:362)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultArtifactDeployer.java:310)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy(DefaultArtifactDeployer.java:117)
        at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:88)
        at org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java:130)
        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.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:180)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        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 com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: com.jcraft.jsch.JSchException:
java.lang.ArrayIndexOutOfBoundsException: 589
        at com.jcraft.jsch.Identity.<init>(Unknown Source)
        at com.jcraft.jsch.JSch.addIdentity(Unknown Source)
        at org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:121)
        ... 31 more

BUILD FAILED
File...... /home/arik/.maven/cache/maven-artifact-plugin-1.6.1-SNAPSHOT/plugin.jelly
Element... artifact:artifact-deploy
Line...... 101
Column.... 9
Unable to deploy to any repositories
Total time   : 3 seconds
Finished at  : Tuesday, September 6, 2005 12:30:00 AM IDT
==[ output end ] ======================================================

Any ideas what goes wrong?

Thanks,
  Arik Kfir.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message