Hi Vimal

If using Ubuntu, try the following from the machine with the maven
repository.

*rsync -av /home/dspace/.m2/
dspace@hostname-of-remote-machine:/home/dspace/.m2/*

This assumes that there is a dspace user on both machines.
The "rsync" command is a very powerful tool for syncing contents between
Ubuntu servers.
There is plenty of "rsync" help on the web.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 13 May 2015 at 19:37, Luiz dos Santos <luiz...@gmail.com> wrote:

> Hi Vimal,
>
>     Just copy then is not ok, you could even have more than one m2 per
> machine, you just need setup it properly in maven settings.xml file.
>
>
> <!-- localRepository
>   | The path to the local repository maven will use to store artifacts.
>   |
>   | Default: ~/.m2/repository
>   -->
>  <localRepository>/path/to/local/repo</localRepository>
>
>
> On Wed, May 13, 2015 at 12:44 PM, Vimal Kumar V. <vimal0...@gmail.com>
> wrote:
>
>> Dear Friends,
>>
>> mvn -U package download lot of packages to $HOME/.m2 folder.
>> I found that those packages downloaded in "repository" folder.
>> Its a nice idea if we could copy repository folder to install dspace in
>> another system without Internet.
>> I could copy repository folder in USB drive, but could not copy into
>> $HOME/.m2 folder into system going to install dspace.
>> Pls help me to find a command to move contents in repository folder to
>> $HOME/.m2 folder of new system.
>>
>> Regards,
>>
>> --
>> Vimal Kumar V.
>> Technical Assistant
>> Mahatma Gandhi University Library
>> Kottayam, Kerala- 686 560
>> Web: http://www.vimalkumar.info
>> Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
>> http://moovandan.blogspot.in
>>
>> ---------------------------------------------------------------------------
>> "I forget what I was taught. I only remember what I have learnt"
>> -Patrick White
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to