{"action":"closed","number":12642,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642","id":41574179,"html_url":"https://github.com/elastic/elasticsearch/pull/12642","diff_url":"https://github.com/elastic/elasticsearch/pull/12642.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12642.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12642","number":12642,"state":"closed","locked":false,"title":"[build] mvn install renames artifacts when copying","user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"body":"This PR:\r\n\r\n* renames all distribution artifacts to `elasticsearch` so maven plugins will pick up the correct finalName without needing any hack.\r\n* changes the groupId for every single distribution module as we can't have more than one module using the same groupId:artifactId\r\n* does not attach anymore empty jar files for tar/zip/... modules as they don't contain any `src/main/java` stuff.\r\n\r\nWhen you build it, you end up with:\r\n\r\n```\r\n$ tree ~/.m2/repository/org/elasticsearch/distribution\r\ndistribution\r\n├── deb\r\n│   └── elasticsearch\r\n│       ├── 2.0.0-beta1-SNAPSHOT\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.deb\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.deb.md5\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.deb.sha1\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│       │   └── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n├── elasticsearch-distribution\r\n│   ├── 2.0.0-beta1-SNAPSHOT\r\n│   │   ├── elasticsearch-distribution-2.0.0-beta1-SNAPSHOT.pom\r\n│   │   ├── elasticsearch-distribution-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│   │   └── elasticsearch-distribution-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n├── fully-loaded\r\n│   └── elasticsearch\r\n│       ├── 2.0.0-beta1-SNAPSHOT\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│       │   └── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n├── rpm\r\n│   └── elasticsearch\r\n│       ├── 2.0.0-beta1-SNAPSHOT\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.rpm\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.rpm.md5\r\n│       │   └── elasticsearch-2.0.0-beta1-SNAPSHOT.rpm.sha1\r\n├── shaded\r\n│   └── elasticsearch\r\n│       ├── 2.0.0-beta1-SNAPSHOT\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.jar\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.jar.md5\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.jar.sha1\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│       │   └── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n├── tar\r\n│   └── elasticsearch\r\n│       ├── 2.0.0-beta1-SNAPSHOT\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.tar.gz\r\n│       │   ├── elasticsearch-2.0.0-beta1-SNAPSHOT.tar.gz.md5\r\n│       │   └── elasticsearch-2.0.0-beta1-SNAPSHOT.tar.gz.sha1\r\n└── zip\r\n    └── elasticsearch\r\n        └── 2.0.0-beta1-SNAPSHOT\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.md5\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.pom.sha1\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.zip\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.zip.md5\r\n            ├── elasticsearch-2.0.0-beta1-SNAPSHOT.zip.sha1\r\n```\r\n\r\nCloses #12536","created_at":"2015-08-04T14:15:01Z","updated_at":"2015-08-04T14:26:39Z","closed_at":"2015-08-04T14:26:38Z","merged_at":"2015-08-04T14:26:38Z","merge_commit_sha":"dd8bbf2289cdac1e111d5631d0250f7bba1f9141","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12642/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/abb43c3cc69b893b94aec3ff0ac99ff4deb0d552","head":{"label":"elastic:maven/distribution-groupid","ref":"maven/distribution-groupid","sha":"abb43c3cc69b893b94aec3ff0ac99ff4deb0d552","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","created_at":"2010-02-08T13:20:56Z","updated_at":"2015-08-04T12:15:52Z","pushed_at":"2015-08-04T14:26:38Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":1918461,"stargazers_count":12205,"watchers_count":12205,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3913,"mirror_url":null,"open_issues_count":1180,"forks":3913,"open_issues":1180,"watchers":12205,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"8e250d6072380bba5a32c5f65391219ac64c2aae","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","created_at":"2010-02-08T13:20:56Z","updated_at":"2015-08-04T12:15:52Z","pushed_at":"2015-08-04T14:26:38Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":1918461,"stargazers_count":12205,"watchers_count":12205,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3913,"mirror_url":null,"open_issues_count":1180,"forks":3913,"open_issues":1180,"watchers":12205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/12642"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/12642"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/12642/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/12642/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/abb43c3cc69b893b94aec3ff0ac99ff4deb0d552"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":57,"deletions":31,"changed_files":11}}