Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] aether resolution going remote independent of update policy

Henning Blohm wrote:

If there is anything in the dependency chain that cannot be
resolved, it seems aether keeps trying every time, completely regardless
of the update policy.
[...]
com.jamonapi:jamon:2.4

which cannot be resolved. Instead of noting that this is a dead-end and
only check again at some later point in time, every resolution attempt
will look for some remote artifact again.

Is that the expected behavior?

Depends on your configuration of the RepositorySystemSession regarding the resolution error policy [0]. For your case, you want CACHE_NOT_FOUND.


Benjamin


[0] http://download.eclipse.org/aether/aether-core/0.9.0/apidocs/org/eclipse/aether/RepositorySystemSession.html#getResolutionErrorPolicy%28%29


Back to the top