Maven - a set-up query -


given group of developers, each 1 has following requirements on respective (local)windows machines:

  1. through ides eclipse, sts etc., run spring, hibernate etc. projects
  2. quickly build, deploy , run, change if required, rebuild , redeploy(everything, preferably via ides) projects available on github

there following constraints/objectives :

  1. the individual developer machines have restricted or no internet access
  2. the developers must take required jars single location store jars required across team
  3. whenever required, developer must able pull updated jars central location onto local environment , continue run projects seamlessly
  4. within ide, build github project , run (locally)

attached image give clear idea of work environment i'm envisaging!

i have started reading maven quite overwhelmed - how should proceed?

desired set-up

as suggested sander verhagen in answer, should use repository proxy. nexus , artifactory famous one. here describe briefly steps need looking for:

  1. set nexus in machine m
  2. in nexus, setup proxy repository central (this should available out of box), , other repositories want developer access. may need add http proxy setting when configuring repo proxy.
  3. (optional, recommended) setup repository group includes public repository proxies. assuming url of proxy group http://m/nexus/groups/public
  4. in developer's machine, update ~/.m2/settings.xml, set http://m/nexus/groups/public mirror of central. if created other internal hosted repositories in nexus, may add them in settings.xml well.

that's all. can use maven normal. dependencies fetched nexus in m.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -