Hi to all, I have small doubt. In my office I don't have internet access except outlook for web mail. In my room I have the net connection to my laptop. So I configured there and here in office maven.
Initially I run the command 'mvn install' in my laptop (which is having net connection). So it downloaded some plugins with structure i.e. ./m2/repository/.. . I copied that total structure to my office system. There I am trying to run 'mvn compile' or 'mvn test'. But here it is trying to connect the remote repository. Why it is connection to remote repository once again even though it downloaded already some of the plugins. 1. How to avoid this? 2. What are the other configurations I have to do? 3. How to connect my local repository? 4. If it is related to settings.xml can anybody send me the basic settings.xml which is configured to connect local repository. And mention me which settings file as I saw there are two settings files. 5. After doing some configurations is it necessary to put the settings.xml in classpath? 6. And my last doubt is while we executing 'mvn install' phase whether it will download the plugins related to compile and testing etc plugins? Please don't think these are very simple questions. As a beginner i am unable to move forward without getting the answers to these questions? Advanced thanks. Thanks & Regards Sammaiah Nagapuri P We have a responsibility to the environment Before printing this e-mail or any other document, let's ask ourselves whether we need a hard copy DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
