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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> > > 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 > > *<installationDirectoryOfArchiva>\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 > > > > > >
