maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juven Xu <juvens...@gmail.com>
Subject Re: [Maven中文#1103] maven 2.2.1 to 3.0.1 can't deploy jar to repository.
Date Mon, 13 Dec 2010 08:41:28 GMT
you need to add wagon extension in maven 3:

  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh</artifactId>
         <version>1.0-beta-7</version>
      </extension>
    </extensions>
  </build>

see:
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-TransportProtocols%2528Wagons%2529

2010/12/13 Cody Zhang <codyzhang.work@gmail.com>

> Hi,All
>     from maven 2.2.1 to 3.0.1 can't deploy jar to repository.Can someone
> help me?
> [INFO]
> [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ maven-iwlsvn
>  ---
> [INFO] ------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------
> [INFO] Total time: 6.361s
> [INFO] Finished at: Mon Dec 13 15:49:49 CST 2010
> [INFO] Final Memory: 6M/11M
> [INFO] ------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plug
> deploy (default-deploy) on project maven-iwlsvn-plugin: Failed to deploy
> ts/metadata: No connector available to access repository mycom-repo
> (scp://192.168.0.41/var/www/html/maven2) of type default using the availa
> tories WagonRepositoryConnectorFactory -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, ple
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExe
> xception
>
>     Best Regards,
>         --Cody.Zhang
>
> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的“Maven中文”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 maven-zh@googlegroups.com。
> 要取消订阅此网上论坛,请发送电子邮件至 maven-zh+unsubscribe@googlegroups.com<maven-zh%2Bunsubscribe@googlegroups.com>
> 。
> 若有更多问题,请通过 http://groups.google.com/group/maven-zh?hl=zh-CN 访问此网上论坛。
>



-- 
- Juven Xu
- http://www.juvenxu.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message