Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 92631 invoked from network); 2 Nov 2005 16:22:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Nov 2005 16:22:13 -0000 Received: (qmail 56726 invoked by uid 500); 2 Nov 2005 16:22:04 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 56674 invoked by uid 500); 2 Nov 2005 16:22:04 -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 56658 invoked by uid 99); 2 Nov 2005 16:22:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 08:22:04 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of luca.rasconi@gmail.com designates 64.233.182.204 as permitted sender) Received: from [64.233.182.204] (HELO nproxy.gmail.com) (64.233.182.204) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 08:21:59 -0800 Received: by nproxy.gmail.com with SMTP id p77so39395nfc for ; Wed, 02 Nov 2005 08:21:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:x-mimeole:thread-index:message-id; b=ZTzcOs8OKg/A7ymyLiJApW5AWi+wDfDxkk7WwKPcRAO73dYB/nxbvikv8mgkGqsVluLWT2NPr6xTq0aVmdZoEmMFGaXqor8Wfyu388hAQ9Bb68zKY40DA8AmJvk9y4hMnyl1hFe8HQPMGlXq99whYa3orqJlfyhQAmIacnVKaG4= Received: by 10.48.236.12 with SMTP id j12mr815900nfh; Wed, 02 Nov 2005 08:21:42 -0800 (PST) Received: from wk215734 ( [212.48.13.3]) by mx.gmail.com with ESMTP id h1sm355885nfe.2005.11.02.08.21.41; Wed, 02 Nov 2005 08:21:42 -0800 (PST) From: "Luca Gmail" To: "'Maven Users List'" Subject: RE: deploying error Date: Wed, 2 Nov 2005 17:21:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <82533828A9FA7E4292F08A1D13230481236796@itomae2km04.AD.QINTRA.COM> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcXfvuNK8Gs9bWfFTK2r/cgHXjgdHQAB+kVQAAAidfAAAEifIA== Message-ID: <4368e796.3b9d3aed.5a86.442e@mx.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes Bob, but in the first mail i asked that i had an error deploying (to remote as you said and as I expected) my artifact. You answered me to = use the install pugin. Why? First install locally and the deploy remotely? In such a way? I created my artifact (a jar file). I would like to share and reuse = inside other project. How can do it? If I read doc I have ti use deploy plugin. Hope being clear :-) Tnx, Luca -----Original Message----- From: Allison, Bob [mailto:robert.allison@qwest.com]=20 Sent: mercoled=EC 2 novembre 2005 17.11 To: Maven Users List Subject: RE: deploying error There are two different repositories you deal with in Maven: -- The "local" repository is the one that is located in ${user.home}/.m2/repository by default. This is a place where artifacts needed for the build are stored, and cannot be shared between users. = When you do an "install", the artifact is placed in this repository. -- The "remote" repository is one located somewhere else, usually on a central server (whether central to your company or home or the world is = not important to this discussion). This is a place where artifacts to be = shared are stored; artifacts are downloaded from this repository to your local repository when you need them for a build. When you do a "deploy", the artifact is placed in this repository. Also note that it is quite reasonable to have a number of remote repositories. Does this help clear up the confusion? -----Original Message----- From: Luca Gmail [mailto:luca.rasconi@gmail.com]=20 Sent: Wednesday, November 02, 2005 11:05 To: 'Maven Users List' Subject: RE: deploying error But what is the meaning of deploy plugin? If I follow the maven doc I sould use the deploy plugin if I want to = deploy my artifact to the remote repository. Why you said using the install = plugin? I don't understand. It's seems all so random!!! tnx, Luca -----Original Message----- From: Yudong Wang [mailto:ydw.wang@gmail.com]=20 Sent: mercoled=EC 2 novembre 2005 16.05 To: Maven Users List Subject: Re: deploying error Or even simpler: mvn install This will install the file in your local repo as defined in your = pom.xml. Otherwise you have to provide all these parameters as Anuerin mentioned. Yudong On 11/2/05, Anuerin Diaz wrote: > > hi, > > check your command again to ensure that you are using > "install:install-file" as shown in > = http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.htm= l > . > i encountered that error a while ago and the cause was i did not type > the "-file" part of the goal. :D > > ciao! > > On 11/2/05, Luca Gmail wrote: > > Im trying to deploy my artifact to my internal repositpry. When I > exceuted > > mvn deploy I ahd this error: > > > > [INFO] The packaging for this project did not assign a file to the = build > > artifact. > > > > > -- > > "Programming, an artform that fights back" > > Anuerin G. Diaz > Registered Linux User #246176 > Friendly Linux Board @ http://mandrivausers.org/index.php > http://capsule.ramfree17.org , when you absolutely have nothing else > better to do > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org