On Mon, Oct 13, 2008 at 8:10 AM, rohan chauhan <[EMAIL PROTECTED]> wrote:
> I m working in maven for long time but till date i'm the only one in my > project. > Now things goes like this: > We are total for developers. we want that my PC should be server > for Maven. So that all others developer check in my repository first and if > jar is not available then jar is download to my pc and then developers access > it. we all are in our intranet only. ... > Can any one give me what i need to do? You can use mirrors in settings.xml to make sure that developers in your organization only pull artifacts from your internal repositories. http://maven.apache.org/guides/mini/guide-mirror-settings.html It's not clear what "my repository" is above, but be aware that sharing your personal *local* repository will not work. You need to establish an internal "remote" repository. Take a look at the various repository managers (Archiva, Nexus, Artifactory). (But if that looks too complex to start, keep in mind Maven can deal perfectly well with a file:// url. If you check the archives you should find some scripts that can convert local repository metadata to the remote repo format.) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
