{"action":"closed","number":902,"pull_request":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902","id":210998332,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTk4MzMy","html_url":"https://github.com/OpenAPITools/openapi-generator/pull/902","diff_url":"https://github.com/OpenAPITools/openapi-generator/pull/902.diff","patch_url":"https://github.com/OpenAPITools/openapi-generator/pull/902.patch","issue_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/902","number":902,"state":"closed","locked":false,"title":"[CI] Change the way gradle uploadArchives works","user":{"login":"jmini","id":1222165,"node_id":"MDQ6VXNlcjEyMjIxNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"body":"As described in #411 the deployment of the `openapi-generator-gradle-plugin` artefact is always an issue during the release.\r\n\r\nThis PR changes the way the `openapi-generator-gradle-plugin` is deployed (`uploadArchives`)\r\n\r\n**PREVIOUS WORKFLOW:**\r\n\r\n1. Call `mvn clean deploy` on the maven root pom, this do not use the regular deploy plugin for each modules, but is using `nexus-staging-maven-plugin` that put each artefacts under `<repo>/target/nexus-staging/deferred/`. As final step of the build, this folder gets uploaded.\r\n2. Call `.gradlew uploadArchives` that uploads the `openapi-generator-gradle-plugin` to the distant maven repository.\r\n\r\n\r\nRelated PR where this `deferred` folder is explained : #366 \r\n\r\n\r\n**NEW WORKFLOW**\r\n\r\n1. Call `mvn clean install` to build all the maven modules and to install them in the local maven repository.\r\n2. The `uploadArchives` gradle task is modified to publish the gradle plugin into `<repo>/target/nexus-staging/deferred/`.\r\n3. Call `mvn deploy` to publish each artefacts to the `deferred` folder. The final step will synchronise all artefacts present in this folder (in particular also the gradle plugin created at step 2).","created_at":"2018-08-27T03:46:51Z","updated_at":"2018-08-27T07:06:55Z","closed_at":"2018-08-27T07:06:55Z","merged_at":"2018-08-27T07:06:55Z","merge_commit_sha":"e3bd47921cc459704d322c6a7f9b78675c3db835","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902/commits","review_comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902/comments","review_comment_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/902/comments","statuses_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/statuses/000fc080bdb2d02b7f8854cb7675916aa724c612","head":{"label":"jmini:gradle_push","ref":"gradle_push","sha":"000fc080bdb2d02b7f8854cb7675916aa724c612","user":{"login":"jmini","id":1222165,"node_id":"MDQ6VXNlcjEyMjIxNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"repo":{"id":133144687,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNDQ2ODc=","name":"openapi-generator","full_name":"jmini/openapi-generator","owner":{"login":"jmini","id":1222165,"node_id":"MDQ6VXNlcjEyMjIxNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmini/openapi-generator","description":null,"fork":true,"url":"https://api.github.com/repos/jmini/openapi-generator","forks_url":"https://api.github.com/repos/jmini/openapi-generator/forks","keys_url":"https://api.github.com/repos/jmini/openapi-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmini/openapi-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmini/openapi-generator/teams","hooks_url":"https://api.github.com/repos/jmini/openapi-generator/hooks","issue_events_url":"https://api.github.com/repos/jmini/openapi-generator/issues/events{/number}","events_url":"https://api.github.com/repos/jmini/openapi-generator/events","assignees_url":"https://api.github.com/repos/jmini/openapi-generator/assignees{/user}","branches_url":"https://api.github.com/repos/jmini/openapi-generator/branches{/branch}","tags_url":"https://api.github.com/repos/jmini/openapi-generator/tags","blobs_url":"https://api.github.com/repos/jmini/openapi-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmini/openapi-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmini/openapi-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmini/openapi-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmini/openapi-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/jmini/openapi-generator/languages","stargazers_url":"https://api.github.com/repos/jmini/openapi-generator/stargazers","contributors_url":"https://api.github.com/repos/jmini/openapi-generator/contributors","subscribers_url":"https://api.github.com/repos/jmini/openapi-generator/subscribers","subscription_url":"https://api.github.com/repos/jmini/openapi-generator/subscription","commits_url":"https://api.github.com/repos/jmini/openapi-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmini/openapi-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmini/openapi-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmini/openapi-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmini/openapi-generator/contents/{+path}","compare_url":"https://api.github.com/repos/jmini/openapi-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmini/openapi-generator/merges","archive_url":"https://api.github.com/repos/jmini/openapi-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmini/openapi-generator/downloads","issues_url":"https://api.github.com/repos/jmini/openapi-generator/issues{/number}","pulls_url":"https://api.github.com/repos/jmini/openapi-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/jmini/openapi-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/jmini/openapi-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmini/openapi-generator/labels{/name}","releases_url":"https://api.github.com/repos/jmini/openapi-generator/releases{/id}","deployments_url":"https://api.github.com/repos/jmini/openapi-generator/deployments","created_at":"2018-05-12T12:37:13Z","updated_at":"2018-05-12T12:37:24Z","pushed_at":"2018-08-27T03:46:19Z","git_url":"git://github.com/jmini/openapi-generator.git","ssh_url":"git@github.com:jmini/openapi-generator.git","clone_url":"https://github.com/jmini/openapi-generator.git","svn_url":"https://github.com/jmini/openapi-generator","homepage":null,"size":56841,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenAPITools:master","ref":"master","sha":"15cec0ae09c0db94095797aa7147160a3fe7eba3","user":{"login":"OpenAPITools","id":37325267,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI1MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/37325267?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenAPITools","html_url":"https://github.com/OpenAPITools","followers_url":"https://api.github.com/users/OpenAPITools/followers","following_url":"https://api.github.com/users/OpenAPITools/following{/other_user}","gists_url":"https://api.github.com/users/OpenAPITools/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAPITools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAPITools/subscriptions","organizations_url":"https://api.github.com/users/OpenAPITools/orgs","repos_url":"https://api.github.com/users/OpenAPITools/repos","events_url":"https://api.github.com/users/OpenAPITools/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAPITools/received_events","type":"Organization","site_admin":false},"repo":{"id":133134007,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxMzQwMDc=","name":"openapi-generator","full_name":"OpenAPITools/openapi-generator","owner":{"login":"OpenAPITools","id":37325267,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzI1MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/37325267?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenAPITools","html_url":"https://github.com/OpenAPITools","followers_url":"https://api.github.com/users/OpenAPITools/followers","following_url":"https://api.github.com/users/OpenAPITools/following{/other_user}","gists_url":"https://api.github.com/users/OpenAPITools/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAPITools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAPITools/subscriptions","organizations_url":"https://api.github.com/users/OpenAPITools/orgs","repos_url":"https://api.github.com/users/OpenAPITools/repos","events_url":"https://api.github.com/users/OpenAPITools/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAPITools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenAPITools/openapi-generator","description":"OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)","fork":false,"url":"https://api.github.com/repos/OpenAPITools/openapi-generator","forks_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/forks","keys_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/teams","hooks_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/hooks","issue_events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/events{/number}","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/events","assignees_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/assignees{/user}","branches_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/branches{/branch}","tags_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/tags","blobs_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/languages","stargazers_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/stargazers","contributors_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/contributors","subscribers_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/subscribers","subscription_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/subscription","commits_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/contents/{+path}","compare_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/merges","archive_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/downloads","issues_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues{/number}","pulls_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/labels{/name}","releases_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/releases{/id}","deployments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/deployments","created_at":"2018-05-12T09:57:56Z","updated_at":"2018-08-27T06:34:42Z","pushed_at":"2018-08-27T07:06:54Z","git_url":"git://github.com/OpenAPITools/openapi-generator.git","ssh_url":"git@github.com:OpenAPITools/openapi-generator.git","clone_url":"https://github.com/OpenAPITools/openapi-generator.git","svn_url":"https://github.com/OpenAPITools/openapi-generator","homepage":"https://openapi-generator.tech","size":57568,"stargazers_count":677,"watchers_count":677,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"archived":false,"open_issues_count":264,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":180,"open_issues":264,"watchers":677,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902"},"html":{"href":"https://github.com/OpenAPITools/openapi-generator/pull/902"},"issue":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/902"},"comments":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/902/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/pulls/902/commits"},"statuses":{"href":"https://api.github.com/repos/OpenAPITools/openapi-generator/statuses/000fc080bdb2d02b7f8854cb7675916aa724c612"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jmini","id":1222165,"node_id":"MDQ6VXNlcjEyMjIxNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":13,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"jmini"}}