{"action":"opened","issue":{"url":"https://api.github.com/repos/wvengen/proguard-maven-plugin/issues/67","repository_url":"https://api.github.com/repos/wvengen/proguard-maven-plugin","labels_url":"https://api.github.com/repos/wvengen/proguard-maven-plugin/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/wvengen/proguard-maven-plugin/issues/67/comments","events_url":"https://api.github.com/repos/wvengen/proguard-maven-plugin/issues/67/events","html_url":"https://github.com/wvengen/proguard-maven-plugin/issues/67","id":304171518,"number":67,"title":"Bug: Assembly inclusions is not fully working","user":{"login":"Chuckame","id":16419143,"avatar_url":"https://avatars0.githubusercontent.com/u/16419143?v=4","gravatar_id":"","url":"https://api.github.com/users/Chuckame","html_url":"https://github.com/Chuckame","followers_url":"https://api.github.com/users/Chuckame/followers","following_url":"https://api.github.com/users/Chuckame/following{/other_user}","gists_url":"https://api.github.com/users/Chuckame/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuckame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuckame/subscriptions","organizations_url":"https://api.github.com/users/Chuckame/orgs","repos_url":"https://api.github.com/users/Chuckame/repos","events_url":"https://api.github.com/users/Chuckame/events{/privacy}","received_events_url":"https://api.github.com/users/Chuckame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-11T16:22:24Z","updated_at":"2018-03-11T16:22:24Z","closed_at":null,"author_association":"NONE","body":"When we have multiple artifactId with the same artifactId, only the first found artifactId match.\r\nThis example will be collect only `lib-one` dependency :\r\n```xml\r\n<dependency>\r\n   <groupId>my.group.id</groupId>\r\n   <artifactId>lib-one</artifactId>\r\n</dependency>\r\n<dependency>\r\n   <groupId>my.group.id</groupId>\r\n   <artifactId>lib-two</artifactId>\r\n</dependency>\r\n...\r\n<plugin>\r\n  <artifactId>proguard-maven-plugin</artifactId>\r\n  <assembly>\r\n    <inclusions>\r\n      <groupId>my.group.id</groupId>\r\n      <artifactId>*</artifactId>\r\n    </inclusions>\r\n  </assembly>\r\n</plugin>\r\n```\r\n\r\nBecause of ProGuardMojo#getDependency : https://github.com/wvengen/proguard-maven-plugin/blob/f0ec275312f039978fa0f46f3d2b497f66ad4101/src/main/java/com/github/wvengen/maven/proguard/ProGuardMojo.java#L849\r\nThis method only returns the first matched artifact."}}
{"actor":{"display_login":"Chuckame"}}