I am facing one issue. I need to build a maven java spring application inside one VM. That VM is completely isolated and have no internet connectivity. Now to support build process , i places the repository folder from external sources(where this java application was building and executing perfectly) containing all required dependencies by this application , inside .m2 folder. So it looks like below
My VM
|- .m2
|- reposirory , settings.xml
But problem is on giving command build process is failing, as its trying to download existing dependencies. Where exactly i am missing