How to download maven plugins externally? -


after setting maven when run mvn compile maven automatically downloads plugins initial setup. using remote system , not have access download , want add these plugins externally on own. how can that?

on system has internet access:

  1. install maven
  2. clear local repository folder ~/.m2/repository
  3. copy project(s) folder(s) connected system
  4. perform build commands going perform on project(s) on remote system

copy content of connected system's local repository remote system's local repository.


Comments