{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/buildship/issues/655","repository_url":"https://api.github.com/repos/eclipse/buildship","labels_url":"https://api.github.com/repos/eclipse/buildship/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/buildship/issues/655/comments","events_url":"https://api.github.com/repos/eclipse/buildship/issues/655/events","html_url":"https://github.com/eclipse/buildship/issues/655","id":296626110,"number":655,"title":"Buildship doesn't download source jar of dependency ","user":{"login":"chhex","id":2443770,"avatar_url":"https://avatars1.githubusercontent.com/u/2443770?v=4","gravatar_id":"","url":"https://api.github.com/users/chhex","html_url":"https://github.com/chhex","followers_url":"https://api.github.com/users/chhex/followers","following_url":"https://api.github.com/users/chhex/following{/other_user}","gists_url":"https://api.github.com/users/chhex/gists{/gist_id}","starred_url":"https://api.github.com/users/chhex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chhex/subscriptions","organizations_url":"https://api.github.com/users/chhex/orgs","repos_url":"https://api.github.com/users/chhex/repos","events_url":"https://api.github.com/users/chhex/events{/privacy}","received_events_url":"https://api.github.com/users/chhex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-13T06:20:02Z","updated_at":"2018-02-13T10:57:46Z","closed_at":null,"author_association":"NONE","body":"If Buildship is used along side m2e with the same local maven repository , Buildship doesn't download the source code of a dependency if it has already been downloaded by m2e. m2e has the option the download the source lazy. This makes migrating from m2e to Buildship very cumbersome. As a work around is  to delete the needed dependencies in the local repository and refresh the gradle model to force again a download of all jars. On windows in order to do this i need to exit eclipse. \r\nI would be very helpful if Buildship would also be capable to download the source code of a dependency lazy."},"comment":{"url":"https://api.github.com/repos/eclipse/buildship/issues/comments/365229538","html_url":"https://github.com/eclipse/buildship/issues/655#issuecomment-365229538","issue_url":"https://api.github.com/repos/eclipse/buildship/issues/655","id":365229538,"user":{"login":"chhex","id":2443770,"avatar_url":"https://avatars1.githubusercontent.com/u/2443770?v=4","gravatar_id":"","url":"https://api.github.com/users/chhex","html_url":"https://github.com/chhex","followers_url":"https://api.github.com/users/chhex/followers","following_url":"https://api.github.com/users/chhex/following{/other_user}","gists_url":"https://api.github.com/users/chhex/gists{/gist_id}","starred_url":"https://api.github.com/users/chhex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chhex/subscriptions","organizations_url":"https://api.github.com/users/chhex/orgs","repos_url":"https://api.github.com/users/chhex/repos","events_url":"https://api.github.com/users/chhex/events{/privacy}","received_events_url":"https://api.github.com/users/chhex/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T10:57:46Z","updated_at":"2018-02-13T10:57:46Z","author_association":"NONE","body":"Exactly. With m2e, you have in the preferences the option *not* to (eagerly) to download the source jars with the binary jars:  the unchecked Download Artifact Sources option. So you have only the binary jars in the local repo - at least initially.   But m2e downloads in this case the source jars lazy , when you select in the Maven Dependencies a class File of a Dependency.  \r\nThis isn't the case with Buildship. So basically it would be nice if Buildship would implement a simliar feature: When a class file is selected in the Project and External Dependencies and the source jar isn't found,  the source jar is downloaded then (if available)"}}
{"actor":{"display_login":"chhex"}}