Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] filtering artifacts

Is VersionFilter supposed to be called for single-version dependencies?

It does not appear to be called. Which means DependencySelector has to
parse dependency versions to determine if it can make yes/no decision or
has to defer to VersionFilter.

--
Regards,
Igor

On 2014-09-11, 10:52, Benjamin Bentmann wrote:
Igor Fedorenko wrote:

For example, lets say there is a dependency junit:junit:[4.0,5) and the
white-list includes junit:junit:4.10 and junit:junit:4.11. Both
DependencySelector and DependencyTraverser are supposed to answer yes or
no for junit:junit:[4.0,5), while I really need to consider versions
4.10 and 4.11.

In this case, you also want a VersionFilter [0].


Benjamin


[0]
http://download.eclipse.org/aether/aether-core/1.0.0/apidocs/org/eclipse/aether/collection/VersionFilter.html

_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users


Back to the top