{"action":"created","issue":{"url":"https://api.github.com/repos/rgladwell/m2e-android/issues/311","labels_url":"https://api.github.com/repos/rgladwell/m2e-android/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/rgladwell/m2e-android/issues/311/comments","events_url":"https://api.github.com/repos/rgladwell/m2e-android/issues/311/events","html_url":"https://github.com/rgladwell/m2e-android/issues/311","id":53841271,"number":311,"title":"Add repository references to content.xml","user":{"login":"ArloL","id":195367,"avatar_url":"https://avatars.githubusercontent.com/u/195367?v=3","gravatar_id":"","url":"https://api.github.com/users/ArloL","html_url":"https://github.com/ArloL","followers_url":"https://api.github.com/users/ArloL/followers","following_url":"https://api.github.com/users/ArloL/following{/other_user}","gists_url":"https://api.github.com/users/ArloL/gists{/gist_id}","starred_url":"https://api.github.com/users/ArloL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArloL/subscriptions","organizations_url":"https://api.github.com/users/ArloL/orgs","repos_url":"https://api.github.com/users/ArloL/repos","events_url":"https://api.github.com/users/ArloL/events{/privacy}","received_events_url":"https://api.github.com/users/ArloL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-09T07:31:47Z","updated_at":"2015-01-12T11:17:24Z","closed_at":null,"body":"I just tested installing m2e-android via this site `http://rgladwell.github.io/m2e-android/updates/m2e-android/` in a fresh Eclipse Luna (using Install Software). As \"expected\" it cannot find ADT.\r\n\r\nNow compare this with installing m2e-code-quality via this site `http://m2e-code-quality.github.io/m2e-code-quality/site/latest/`. You will notice that it automatically picks up the other repositories (e.g. findbugs, checkstyle or pmd) even though it's not a composite site.\r\n\r\nThis is due to the following tag in the `content.jar/content.xml`\r\n~~~\r\n<references size='8'>\r\n    <repository uri='http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site' url='http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site' type='0' options='1'/>\r\n    <repository uri='http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site' url='http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site' type='1' options='1'/>\r\n    <repository uri='http://findbugs.cs.umd.edu/eclipse' url='http://findbugs.cs.umd.edu/eclipse' type='1' options='1'/>\r\n    <repository uri='http://findbugs.cs.umd.edu/eclipse' url='http://findbugs.cs.umd.edu/eclipse' type='0' options='1'/>\r\n    <repository uri='http://m2e-code-quality.github.io/m2e-code-quality/site/latest/' url='http://m2e-code-quality.github.io/m2e-code-quality/site/latest/' type='0' options='0'/>\r\n    <repository uri='http://eclipse-cs.sf.net/update' url='http://eclipse-cs.sf.net/update' type='1' options='1'/>\r\n    <repository uri='http://eclipse-cs.sf.net/update' url='http://eclipse-cs.sf.net/update' type='0' options='1'/>\r\n    <repository uri='http://m2e-code-quality.github.io/m2e-code-quality/site/latest/' url='http://m2e-code-quality.github.io/m2e-code-quality/site/latest/' type='1' options='0'/>\r\n  </references>\r\n~~~\r\n\r\nAdding these references is also explained in [this blog post](http://divby0.blogspot.de/2011/02/simplifying-p2-process-part-3-associate.html).\r\n\r\nI believe that this is a cleaner way to add the required repository instead of using a composite site.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/rgladwell/m2e-android/issues/comments/69556311","html_url":"https://github.com/rgladwell/m2e-android/issues/311#issuecomment-69556311","issue_url":"https://api.github.com/repos/rgladwell/m2e-android/issues/311","id":69556311,"user":{"login":"rgladwell","id":209292,"avatar_url":"https://avatars.githubusercontent.com/u/209292?v=3","gravatar_id":"","url":"https://api.github.com/users/rgladwell","html_url":"https://github.com/rgladwell","followers_url":"https://api.github.com/users/rgladwell/followers","following_url":"https://api.github.com/users/rgladwell/following{/other_user}","gists_url":"https://api.github.com/users/rgladwell/gists{/gist_id}","starred_url":"https://api.github.com/users/rgladwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgladwell/subscriptions","organizations_url":"https://api.github.com/users/rgladwell/orgs","repos_url":"https://api.github.com/users/rgladwell/repos","events_url":"https://api.github.com/users/rgladwell/events{/privacy}","received_events_url":"https://api.github.com/users/rgladwell/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T11:17:24Z","updated_at":"2015-01-12T11:17:24Z","body":"@ArloL sweet, although why do we need to repeat the Eclipse update site URL twice?"}}