{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12085","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12085/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12085/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12085/events","html_url":"https://github.com/elastic/elasticsearch/pull/12085","id":93549877,"number":12085,"title":"Calculate artifact checksums in maven","user":{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?v=3","gravatar_id":"","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/build","name":"build","color":"5319e7"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-07T14:55:02Z","updated_at":"2015-07-07T16:22:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12085","html_url":"https://github.com/elastic/elasticsearch/pull/12085","diff_url":"https://github.com/elastic/elasticsearch/pull/12085.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12085.patch"},"body":"Today we calculate the checksums in a python scritp to do the release.\r\nWe can also do this way simpler in maven using an ant task."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/119259543","html_url":"https://github.com/elastic/elasticsearch/pull/12085#issuecomment-119259543","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12085","id":119259543,"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},"created_at":"2015-07-07T16:22:58Z","updated_at":"2015-07-07T16:22:58Z","body":"If we change in `/pom.xml`:\r\n\r\n```xml\r\n                <plugin>\r\n                    <groupId>org.apache.maven.plugins</groupId>\r\n                    <artifactId>maven-install-plugin</artifactId>\r\n                    <version>2.5.2</version>\r\n                    <configuration>\r\n                        <createChecksum>true</createChecksum>\r\n                    </configuration>\r\n                </plugin>\r\n```\r\n\r\nI think we are done.\r\n\r\nIf you do it and then run `mvn install`, your `.m2` dir will have:\r\n\r\n```\r\n-rw-r--r--  1 dpilato  staff     57019  7 jul 16:55 elasticsearch-2.0.0-SNAPSHOT.pom\r\n-rw-r--r--  1 dpilato  staff    615374  7 jul 18:19 elasticsearch-2.0.0-SNAPSHOT-tests.jar\r\n-rw-r--r--  1 dpilato  staff   9009779  7 jul 18:19 elasticsearch-2.0.0-SNAPSHOT.jar\r\n-rw-r--r--  1 dpilato  staff   5164015  7 jul 18:19 elasticsearch-2.0.0-SNAPSHOT-sources.jar\r\n-rw-r--r--  1 dpilato  staff   9118928  7 jul 18:19 elasticsearch-2.0.0-SNAPSHOT-test-sources.jar\r\n-rw-r--r--  1 dpilato  staff  13247908  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-shaded.jar\r\n-rw-r--r--  1 dpilato  staff  28638178  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.tar.gz\r\n-rw-r--r--  1 dpilato  staff  28643294  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.zip\r\n-rw-r--r--  1 dpilato  staff  28522768  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.deb\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.jar.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.jar.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-tests.jar.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-tests.jar.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-test-sources.jar.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-test-sources.jar.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-sources.jar.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-sources.jar.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-shaded.jar.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT-shaded.jar.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 maven-metadata-local.xml.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 maven-metadata-local.xml.md5\r\n-rw-r--r--  1 dpilato  staff      2033  7 jul 18:20 maven-metadata-local.xml\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.zip.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.zip.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.tar.gz.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.tar.gz.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.pom.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.pom.md5\r\n-rw-r--r--  1 dpilato  staff        40  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.deb.sha1\r\n-rw-r--r--  1 dpilato  staff        32  7 jul 18:20 elasticsearch-2.0.0-SNAPSHOT.deb.md5\r\n```\r\n\r\nIs it what we we are looking for? "}}