I'm the process of setting up a new repository and I want to understand whether I should use 2 repositories, release and snapshots or just one for both. I know maven has the central repo and then one for snapshots, but is this really required? Th following are questions I hope others can help me answer:
1. Can I limit the number of snapshot versions? We use the Pulse build server and it is configured to kick off a rebuild whenever a dev checks in new code. This causes us to build continuously for approx. 14 hours through out the day. Naturally this causes a lot of artifacts named foo-0.4.7-20070118.041533-4.jar to be built and deployed. How can I control this? We really only care about the latest jar not the previous 50 versions. I would like to configure maven to keep only the most recent snapshot version and delete/never create the rest. 2. If I can do question 1, then it should be safe to include the snapshot version and the release version in the same repo, right? Is there some gotcha with keeping the snapshots with the released versions that I'm missing? Wb
