-
1. Re: Error in Deploying the project
italost Sep 17, 2008 9:32 AM (in response to saurabh_garg05)Hi saurabh.
The maven contains a central cache repository in your machine.
When you do 'mvn install', the maven download the necessary dependencies to this local cahce repository.
Those dependencies will be added to the project classpath.
When you change the machine, the local cache repository is different and may not contains the dependencies.
The best way is be connected to internet.
You can try to copy the Win repository to Unix repository.
The local cache repository in Windows is locaed at "Documents and Settings/<your-user>/.m2/repository".
Just copy it to the same folder at "<user-home>/.m2/repository" in Unix.
So, you can run "mvn install -o". (The -o option forced it to run in offline mode)
I hope it helps.
Regards.
Italo Stefani
Edited by: italost on Sep 17, 2008 9:30 AM