Working with Maven snapshots [message #750165] |
Tue, 25 October 2011 17:05 |
Chris Barnes Messages: 1 Registered: October 2011 |
Junior Member |
|
|
My team is working on a new Virgo project, and we're wondering if there's any way to configure Virgo so that it'll place nice with Maven snapshots. For a production system, the user guide's recommended strategy of just configuring the Maven repository as an external repository in Virgo seems perfectly sensible. However, it seems to fall apart a bit in development environments; unless every developer regularly builds every snapshot, they may not be getting the latest code. In a large, modular project with many component bundles, this is not very feasible.
Maven provides this notion of an "update policy," which lets you specify an expiration date of sorts: it will go back to the central Maven snapshots repository after the specified time to look for a newer snapshot. What I would like to do is provide some way to tell Virgo to ignore an artifact in the repository if it's older than a given threshold; we could then pair that with something like setting up a hosted repository on our central Maven repo that would serve up the latest snapshots.
Is something like this possible currently? If not, it'd be a very nice new feature that would make Maven-powered development easier. Are any other folks working on a Virgo project with Maven, and if so how are you dealing with snapshots?
Thanks!
|
|
|
|
Powered by
FUDForum. Page generated in 0.01612 seconds