Using Maven without my own repository

Tag: maven Author: gh81684415 Date: 2010-10-27

How would you collaborate on a Maven project with another developer, without setting up a repository on a dedicated server?

Best Answer

There is another option: use a file-based repository stored in your version control system and install your few 3rd party jars into it.


This is what I needed, great.

Other Answer1

You have two options:

  • run a repository manager, e.g. Nexus on one of the developer's machines and all developers could use that repository
  • everyone will have to rebuild required dependencies from the source code taken from version control system


That doesn't sound too sweet. Isn't there another way to resolve those few 3rd party jars that aren't uploaded to the main repository?