Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup a shared ivy repository

Tags:

repository

ivy

I am setting up an ant build system on a project with dependency resolution being managed by ivy. I have it up and running with the file system being used for the local and shared repository currently. My ultimate goal would be that when developers are fixing bugs or creating new functionality, they would only be able to put artifacts into their local repository. When they belive their code is ready to be used by the rest of the team, it would be promoted to the proper branch in SVN and the group in charge of doing official builds would compile and publish the new artifacts.

So I guess my questions are how can you control who can publish to a repository? Does ivy just rely on filesystem permissions?

Also, I would eventually like to make my shared repository available via http. I think I could point apache to the file system repository directories for retrieving artifacts, but how do you setup publishing to an http repository?

like image 221
jmkelm08 Avatar asked Mar 23 '12 12:03

jmkelm08


1 Answers

I would suggest that you setup a repository manager to manage your project's build artifacts.

The best choices are one of the following:

  • nexus
  • artifactory
  • archiva

Publishing to a Maven repository means that your artifacts can be consumed by projects using other build technologies. All modern build systems support Maven (Including ivy, see the ibiblio resolver).

like image 189
Mark O'Connor Avatar answered Sep 27 '22 18:09

Mark O'Connor