When I define a updatePolicy
in my maven settings, it shows that snapshot artifacts How often will it be downloaded?
If I download it all snapshots every time.
I was wondering what happens if I set it to default values daily or for a longer period of time. / P>
Does Maven still check whether a new version of the snapshot is available, if so, does it download, though this policy tells daily?
I'm looking for the right settings to avoid unnecessary downloads and do not miss a new snapshot.
I was wondering what happens if I default to it daily or any other Set in long periods.
This indicates that it may be better:
Update its policy of each repository in this project:
< Li> Always - Always check when Maven is introduced for newer versions of Snapshot
- Never - Never check new remote versions can be updated manually once.
- Daily (default) - Check on the first part of the day (local time)
- Interval: XXX - Check each XXX minute
I do not think there is anything to add (maybe check it! = Download).
Does Maven still check whether a new version snapshot is available and if so, does it download, though this policy tells daily?
Well, no, why would this happen?
I'm looking for the right settings to avoid unnecessary downloads, rather than remembering a new snapshot.
always if you want to always download an new version of Maven snapshot, if available (Maven always Will check the remote repository but only download if is the new version).
Comments
Post a Comment