Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Also some info could be printed to the user (host, username)

      Will deploy to 1 repository(ies): default
      Deploying to repository: default
      com.jcraft.jsch.JSchException: Auth fail
      at com.jcraft.jsch.Session.connect(Unknown Source)
      at org.apache.maven.deploy.deployers.GenericSshDeployer.init(GenericSshDeployer.java:166)
      at org.apache.maven.deploy.deployers.ScpDeployer.init(ScpDeployer.java:103)
      at org.apache.maven.deploy.DeployTool.deploy(DeployTool.java:129)
      at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultArtifactDeployer.java:385)
      at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:123)
      at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121)
      at org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java:144)
      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.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
      at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:87)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:616)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:616)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      at org.apache.maven.cli.App.doMain(App.java:486)
      at org.apache.maven.cli.App.main(App.java:1215)
      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 com.werken.forehead.Forehead.run(Forehead.java:551)
      at com.werken.forehead.Forehead.main(Forehead.java:581)
      Failed to deploy to: default Reason: Cannot connect. Reason: Auth fail

      BUILD FAILED
      File...... C:\Documents and Settings\carlos\.maven\cache\maven-scm-plugin-1.4\plugin.jelly
      Element... maven:maven
      Line...... 158
      Column.... 9
      Unable to obtain goal [plugin:repository-deploy] – C:\Documents and Settings\carlos\.maven\cache\maven-artifact-plugin-1.3\plugin.jelly:94:13: <artifa
      itories
      Total time: 5 minutes 11 seconds
      Finished at: Sat Jul 10 16:04:49 CEST 2004

        Activity

        Hide
        Brett Porter added a comment -

        I've gotten rid of one exception - will commit later.
        The other seems to come from inside jsch so there isn't much we can do at this point. Will investigate more closely in the 1.1 timeframe.

        Show
        Brett Porter added a comment - I've gotten rid of one exception - will commit later. The other seems to come from inside jsch so there isn't much we can do at this point. Will investigate more closely in the 1.1 timeframe.

          People

          • Assignee:
            Brett Porter
            Reporter:
            Carlos Sanchez
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: