You got it!
If it took random SNAPSHOTs or anything other than the latest, we all
would be in a state of chaos and never using Maven again.
Maven is used by tens of thousands of people every day.
It works in a way that makes people adopt it as the lynch pin of their
development methodology.
My personal view of SNAPSHOTs is that my team is only supposed to deploy
a SNAPSHOT to the repo if they are personally guarantying that it works
according to some spec - verbal or e-mailed - ("this version of method
xxx always returns true regardless of arguments passed" or "this version
always returns customer 'dummy1' with a balance outstanding of $99.00"
or "this version has getCustomerOrders fully functional but
getCustomerInvoices always returns 3 dummy invoices").
Deployment of SNAPSHOTs may have to be coordinated with consumers of the
artifact to be sure that they do not get surprised by their tests
suddenly returning unexpected results.
In theory
Private use of SNAPSHOTS (mvn install) are the programmers own business.
of course.
Ron
On 09/07/2012 9:28 AM, hujirong wrote:
Hi
When we use Maven with Nexus's snapshot repository, how does Maven know
which one to use? I can see we continuously create new snapshots with the
same version but a different timestamp, and Maven will already take the
latest one to download?
Thanks
Jirong
--
View this message in context:
http://maven.40175.n5.nabble.com/How-does-Maven-download-the-latest-snapshot-from-Nexus-tp5713434.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]