{"action":"created","issue":{"url":"https://api.github.com/repos/apache/maven/issues/70","labels_url":"https://api.github.com/repos/apache/maven/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/apache/maven/issues/70/comments","events_url":"https://api.github.com/repos/apache/maven/issues/70/events","html_url":"https://github.com/apache/maven/pull/70","id":111729452,"number":70,"title":"MNG-3092: Adds version range result filter behaviour","user":{"login":"barthel","id":1170328,"avatar_url":"https://avatars.githubusercontent.com/u/1170328?v=3","gravatar_id":"","url":"https://api.github.com/users/barthel","html_url":"https://github.com/barthel","followers_url":"https://api.github.com/users/barthel/followers","following_url":"https://api.github.com/users/barthel/following{/other_user}","gists_url":"https://api.github.com/users/barthel/gists{/gist_id}","starred_url":"https://api.github.com/users/barthel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barthel/subscriptions","organizations_url":"https://api.github.com/users/barthel/orgs","repos_url":"https://api.github.com/users/barthel/repos","events_url":"https://api.github.com/users/barthel/events{/privacy}","received_events_url":"https://api.github.com/users/barthel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-10-15T23:43:49Z","updated_at":"2015-11-25T22:12:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/maven/pulls/70","html_url":"https://github.com/apache/maven/pull/70","diff_url":"https://github.com/apache/maven/pull/70.diff","patch_url":"https://github.com/apache/maven/pull/70.patch"},"body":"The discussion on issue [MNG-3092](https://issues.apache.org/jira/browse/MNG-3092) shows the seriously needs of different kinds of version range resolving in Maven.\r\n\r\nI know about the risk on changing the resolving mechanism in Maven.\r\nI always had the backward compatibility in mind, if I have something changed.\r\nI added some basic tests for the default version range resolver before I've started with the refactoring.\r\n\r\nThe idea behind is the ```DependencySelector``` suggested by @jvanzyl in [comment](https://issues.apache.org/jira/browse/MNG-3092?focusedCommentId=14417976&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14417976):\r\n> So allow a pluggable DependencySelector to Aether is the answer here. But we need to find a way to expose it.\r\n\r\nBut without compromise the dependency resolving algorithm itself.\r\n\r\nThis pull request contains the basic tests and a **less invasive** solution based on a filter that works on resolved version range results.\r\n\r\nThe actual version range resolving algorithm **wasn't changed** and the internal used default filter implementation don't filter anything.\r\n\r\nThe goal:\r\nProvide a hook for Maven extensions/plugins to change the list of resolved version range results as required.\r\n\r\nThese changes are only placed in _maven-aether-provider_."},"comment":{"url":"https://api.github.com/repos/apache/maven/issues/comments/159743197","html_url":"https://github.com/apache/maven/pull/70#issuecomment-159743197","issue_url":"https://api.github.com/repos/apache/maven/issues/70","id":159743197,"user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars.githubusercontent.com/u/573017?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T22:12:02Z","updated_at":"2015-11-25T22:12:02Z","body":"@barthel While I am not a Git expert. I extract a patch/stash fo the work. Branch master, apply stash and commit again. [This](http://stackoverflow.com/q/16358418/696632) is probably worth reading."}}