Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 72943 invoked from network); 3 Apr 2009 16:16:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 16:16:38 -0000 Received: (qmail 91452 invoked by uid 500); 3 Apr 2009 16:16:36 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 91389 invoked by uid 500); 3 Apr 2009 16:16:36 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 91355 invoked by uid 99); 3 Apr 2009 16:16:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 16:16:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ajay25kumar@gmail.com designates 209.85.198.232 as permitted sender) Received: from [209.85.198.232] (HELO rv-out-0506.google.com) (209.85.198.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 16:16:28 +0000 Received: by rv-out-0506.google.com with SMTP id b25so1169308rvf.39 for ; Fri, 03 Apr 2009 09:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=SYArYW58gSp4NYY0m6s7GHlY77uPU6gim/1CluEE3cU=; b=oGnLem+0cbNFx1rQq2ay7VyY2pwuhQkqxPuFtld1NEKMJPVOzYZazMY+QA9qp+cZm9 cdLTrjqRoE5wGMcsLAkFL2F30qBtmhMJBS9Klixu+1sOurbrm3sOk+JRtSybyd7EQW7v jgSYaBZ+Mrjo/etBnoPg2h0tCRu2Z5LkSePLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=FVWAlRIRVY9Z0kNISePHaKImdXDGdq7MgusAYN38RrtkW3cagAvr0JeQYL5cTj24eu /JqIbkyXNdRQfOFilg0J7pZo7EboiIlTpuunSkIEGh11wMIE89ItRJgmwMiJ/0VJug1b +N/9tRpRmnsm9o6XO1Ae9jwVAgBdYi65X28r8= MIME-Version: 1.0 Received: by 10.140.170.21 with SMTP id s21mr619800rve.205.1238775366361; Fri, 03 Apr 2009 09:16:06 -0700 (PDT) In-Reply-To: <8667b1bd0904030028x2654bfa5v1898d156277e3ba1@mail.gmail.com> References: <421544010903252145x649cf613ke26960302bab2341@mail.gmail.com> <421544010903270919xf0ee048x51f271630fcc840b@mail.gmail.com> <8667b1bd0904030028x2654bfa5v1898d156277e3ba1@mail.gmail.com> Date: Fri, 3 Apr 2009 11:16:06 -0500 Message-ID: <421544010904030916x7cc2bdb3h13cf1a5abe19ea58@mail.gmail.com> Subject: Re: Copy-paste the repository instead of Upload From: Ajay Kumar To: users@archiva.apache.org Content-Type: multipart/alternative; boundary=000e0cd29648ab238a0466a8ddda X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd29648ab238a0466a8ddda Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks a lot Deng for the insight. I will try to incorporate the way you suggested. Regards, Ajay On Fri, Apr 3, 2009 at 2:28 AM, Deng Ching wrote: > Hi Arjay, > > The ideal scenario is that Archiva should be the one to retrieve the > artifacts from the repository on-demand (proxying). You can configure it's > behavior on how it gets artifacts from the remote repositories. (See > http://archiva.apache.org/docs/1.2/adminguide/proxy-connectors.html for > more > details about this) > > You can also copy and paste the artifacts to the Archiva repository in the > file system, but make sure that you leave out the metadata files :) You > would also need to update the last modified date of all the artifacts in > your repository so that they would be processed during the repository > scanning. This can easily be done by executing the following command in the > base directory where the Archiva repository resides: > > find [REPOSITORY_DIRECTORY_NAME] | xargs touch (I'm not sure what the > counter part of this command in Windows) > > Execute the repository scanner after you've updated the last modified date > of the artifacts.. > * > *HTH, > Deng > > On Sat, Mar 28, 2009 at 12:19 AM, Ajay Kumar > wrote: > > > Can some one please confirm if this (Copy paste) is something which will > > work..or is there any issue with copy paste jar files ? > > > > On Wed, Mar 25, 2009 at 11:45 PM, Ajay Kumar > > wrote: > > > > > Hi All, > > > > > > I downloaded the Archiva 1.2. I can see that its a great tool for > > managing > > > the maven depency. So far, I have been using maven in offline mode > and > > > used to keep my jars in a *$user.dir/.m2/repository* directory. Please > > > note that internet connection is not available in our dev environment. > > > > > > I have quesition. - > > > Can I just copy all my jar files and paste in the > > *\data\repositories\internal > > > ?* > > > ** > > > Individually installing the jar files will be pain. Is there a drawback > > to > > > this method of copy paste ? > > > Is there a better approach that you can suggest considering I don't > have > > > internet connection available in that environment. > > > > > > Thanks for your help. > > > Ajay Kumar > > > > > > --000e0cd29648ab238a0466a8ddda--