Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C4F610DF1 for ; Sun, 13 Oct 2013 09:17:38 +0000 (UTC) Received: (qmail 26034 invoked by uid 500); 13 Oct 2013 09:17:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 25891 invoked by uid 500); 13 Oct 2013 09:17:24 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 25867 invoked by uid 99); 13 Oct 2013 09:17:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 09:17:19 +0000 X-ASF-Spam-Status: No, hits=0.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 1983-01-06@gmx.net designates 212.227.17.20 as permitted sender) Received: from [212.227.17.20] (HELO mout.gmx.net) (212.227.17.20) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 09:17:12 +0000 Received: from [192.168.1.4] ([93.219.73.142]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MWgND-1VFXJ91keR-00Xqa8 for ; Sun, 13 Oct 2013 11:16:52 +0200 Message-ID: <525A6508.3000504@gmx.net> Date: Sun, 13 Oct 2013 11:16:56 +0200 From: Michael-O <1983-01-06@gmx.net> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Maven Users List Subject: Re: Deploying third-pary jar via scp References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uIXWDHfPufZ2v0g8gN6qJeOkfSsugiXP+Ron+A8AfCsrhJmDdG7 +c+NdhLsLYq204qia0AvYEAd3gxbOc7b8qu9lKCrAUl0ySIPQp0UgWW8fD0LTSP6zzu5Hhl VEpxG7oViisY+Ek1U29WtuAFDvtRfDVBSBbHGYoDFNhgwWCkMS85TOjUyG2GmNcxDCjfI1d /v8EP4CdjUC3w+RSZrFoQ== X-Virus-Checked: Checked by ClamAV on apache.org Am 2013-10-12 22:29, schrieb Kevin Krumwiede: > I think I've solved my earlier question about my poms. Now I need to > deploy a third-party jar to my remote repo. I tried this command: > > $ mvn deploy:deploy-file -DgroupId=de.kuxfamily -DartifactId=glasslib > -Dversion=1.0 -Dpackaging=jar -Dfile=glasslib.jar > -DrepositoryId=chalcodes -Durl=scpexe://chalcodes.com/maven > > It says there is no connector available. I installed some jars in my > ~/.m2/lib: wagon-ssh-2.5.jar, wagon-ssh-common-2.5.jar, and > wagon-ssh-external-2.5.jar. I also tried changing the protocol to > scp. No dice. > > Should I write a pom to deploy this artifact? Can I deploy it as part > of an existing project, and have it be available at compile time? Hi Kevin, first of all, there is no ~/.m2/lib, Maven solely relies on plugins and its dependencies. This isn't Ant. As far as I can remember, Maven 3 has one two default Wagon providers: File and HTTP. You need to declare additional dependencies [1]. Unfortunately, I do not know how to declare this dependency when you solely perform a deploy:deploy-file. Anyway, is there a reason why you don't use a repo manager like Nexus? Michael --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org