On Thu, 2005-10-20 at 15:00 +0200, Wim Deblauwe wrote: > Hi, > > currently we use Maven 1 and have our own repository on a windows share. > Whenever a new dependency is needed, I copy it manually from ibiblio to our > share. Our proxy requires autentication, and passwords change often, so it > is easy to get locked out because you forgot to change your password in your > build.properties. > It there a better way to do this (in maven 2 perhaps)?
A low tech way (for m1 or m2) is to have a POM with all the external dependencies that you use listed. Set the local repository to point at the directory that acts as the shared remote repository and run the project. That will download everything you use into a repository that is then accessible to your team. We don't have any management tools at the moment to make managing a corporate repo easier other then the use of maven-proxy: http://maven-proxy.codehaus.org/ > I would like to be able to specify my proxy settings on my machine, and have > maven copy the needed dependency from ibiblio to my remote repository, so it > is available for the whole team. After that I remove the proxy settings > again to avoid the lockout, and maven uses our own repository happely. You could do that with the low tech solution above provided you can run the fake build from the machine that has access to ibiblio and in turn can be accessed by your team once the artifacts are on that machine. So you provide the bridge to ibiblio. The POM would be a good way to track your external dependencies anyway. > regards, > > Wim -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org Our achievements speak for themselves. What we have to keep track of are our failures, discouragements and doubts. We tend to forget the past difficulties, the many false starts, and the painful groping. We see our past achievements as the end result of a clean forward thrust, and our present difficulties as signs of decline and decay. -- Eric Hoffer, Reflections on the Human Condition --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]