{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/lean-cli/issues/106","repository_url":"https://api.github.com/repos/leancloud/lean-cli","labels_url":"https://api.github.com/repos/leancloud/lean-cli/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/lean-cli/issues/106/comments","events_url":"https://api.github.com/repos/leancloud/lean-cli/issues/106/events","html_url":"https://github.com/leancloud/lean-cli/issues/106","id":177575079,"number":106,"title":"使用lean deploy部署java war 时，发生异常","user":{"login":"DavyLin","id":1484179,"avatar_url":"https://avatars.githubusercontent.com/u/1484179?v=3","gravatar_id":"","url":"https://api.github.com/users/DavyLin","html_url":"https://github.com/DavyLin","followers_url":"https://api.github.com/users/DavyLin/followers","following_url":"https://api.github.com/users/DavyLin/following{/other_user}","gists_url":"https://api.github.com/users/DavyLin/gists{/gist_id}","starred_url":"https://api.github.com/users/DavyLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavyLin/subscriptions","organizations_url":"https://api.github.com/users/DavyLin/orgs","repos_url":"https://api.github.com/users/DavyLin/repos","events_url":"https://api.github.com/users/DavyLin/events{/privacy}","received_events_url":"https://api.github.com/users/DavyLin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2016-09-17T13:11:36Z","updated_at":"2016-09-20T02:36:34Z","closed_at":null,"body":"➜  /Volumes/HDD/work/ideaprojects/leancloud/record  >lean deploy\r\n> 获取应用信息 [SUCCESS]\r\n> 准备部署至目标应用：**** (*********)\r\n> 获取应用分组信息 [SUCCESS]\r\n> 准备部署应用到预备环境\r\n> 检测到 Java 运行时\r\n> 压缩项目文件 ... [SUCCESS]\r\n> 上传应用文件 30.13 MB / 35.27 MB [=============================>-----]  85.41% 1m49s\r\npanic: invalid character '<' looking for beginning of value [recovered]\r\n\tpanic: invalid character '<' looking for beginning of value\r\n\r\ngoroutine 1 [running]:\r\npanic(0x3c8800, 0xc4203ba5a0)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/panic.go:500 +0x1a1\r\ngithub.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli.HandleAction.func1(0xc420a63880)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli/app.go:478 +0x247\r\npanic(0x3c8800, 0xc4203ba5a0)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/panic.go:458 +0x243\r\ngithub.com/leancloud/lean-cli/lean/api.NewErrorFromBody(0xc420122f00, 0x2d3, 0x2d3, 0xc421374900)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/api/error.go:30 +0x163\r\ngithub.com/leancloud/lean-cli/lean/api.UploadFile(0xc42007b320, 0x21, 0xc4202eb260, 0x53, 0x895a, 0x9600, 0x4)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/api/file.go:62 +0x653\r\nmain.uploadProject(0xc42007b320, 0x21, 0x43c15c, 0x1, 0xc42016d360, 0x65407, 0x616f60)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/deploy_action.go:89 +0x28a\r\nmain.deployFromLocal(0xc42007b320, 0x21, 0xc4204063b8, 0x7, 0x0, 0x0)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/deploy_action.go:98 +0x6c\r\nmain.deployAction(0xc4200c2640, 0x0, 0x0)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/deploy_action.go:166 +0x2a8\r\nreflect.Value.call(0x3bdba0, 0x47cd18, 0x13, 0x43c8fd, 0x4, 0xc420a63840, 0x1, 0x1, 0x77738, 0x430da0, ...)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/reflect/value.go:434 +0x5c8\r\nreflect.Value.Call(0x3bdba0, 0x47cd18, 0x13, 0xc420a63840, 0x1, 0x1, 0x643940, 0xc42004d890, 0x80166)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/reflect/value.go:302 +0xa4\r\ngithub.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli.HandleAction(0x3bdba0, 0x47cd18, 0xc4200c2640, 0x0, 0x0)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli/app.go:487 +0x1e0\r\ngithub.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli.Command.Run(0x43d5f8, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x448b31, 0x21, 0x0, ...)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli/command.go:186 +0xc2b\r\ngithub.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli.(*App).Run(0xc420126000, 0xc420090060, 0x2, 0x2, 0x0, 0x0)\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/vendor/github.com/codegangsta/cli/app.go:240 +0x611\r\nmain.main()\r\n\t/private/tmp/lean-cli-20160908-55187-x0qc2a/lean-cli-0.2.1/src/github.com/leancloud/lean-cli/lean/main.go:134 +0x587"},"comment":{"url":"https://api.github.com/repos/leancloud/lean-cli/issues/comments/248185848","html_url":"https://github.com/leancloud/lean-cli/issues/106#issuecomment-248185848","issue_url":"https://api.github.com/repos/leancloud/lean-cli/issues/106","id":248185848,"user":{"login":"jwfing","id":985038,"avatar_url":"https://avatars.githubusercontent.com/u/985038?v=3","gravatar_id":"","url":"https://api.github.com/users/jwfing","html_url":"https://github.com/jwfing","followers_url":"https://api.github.com/users/jwfing/followers","following_url":"https://api.github.com/users/jwfing/following{/other_user}","gists_url":"https://api.github.com/users/jwfing/gists{/gist_id}","starred_url":"https://api.github.com/users/jwfing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwfing/subscriptions","organizations_url":"https://api.github.com/users/jwfing/orgs","repos_url":"https://api.github.com/users/jwfing/repos","events_url":"https://api.github.com/users/jwfing/events{/privacy}","received_events_url":"https://api.github.com/users/jwfing/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T02:36:34Z","updated_at":"2016-09-20T02:36:34Z","body":"现在是不是 maven 源被固定死了？从昨天下午开始，项目 deploy 时一直报无法解决依赖。。。\r\n1, pom.xml\r\n\r\n```\r\n    <repository>\r\n      <id>org.jenkins-ci</id>\r\n      <name>jenkins-ci</name>\r\n      <url>http://repo.jenkins-ci.org/public</url>\r\n    </repository>\r\n```\r\n\r\n2, lean deploy 的时候一直报：\r\n\r\n```\r\n> 部署失败：[ERROR] Failed to execute goal on project gitrac: Could not resolve dependencies for project cn.leancloud.gitrac:gitrac:war:0.0.1-SNAPSHOT: Failed to collect dependencies at org.kohsuke:github-api:jar:1.77 -> com.infradna.tool:bridge-method-annotation:jar:1.14 -> org.jenkins-ci:annotation-indexer:jar:1.4: Failed to read artifact descriptor for org.jenkins-ci:annotation-indexer:jar:1.4: Could not find artifact org.jenkins-ci:jenkins:pom:1.26 in leancloud (http://mvn.leancloud.cn/nexus/content/groups/public/)\r\n```\r\n\r\n3, 本地 mvn compile 时会显示如下信息：\r\n\r\n```\r\nDownloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom\r\nDownloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom (2 KB at 0.8 KB/sec)\r\nDownloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/jenkins/1.26/jenkins-1.26.pom\r\nDownloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/jenkins/1.26/jenkins-1.26.pom (27 KB at 24.9 KB/sec)\r\n```"}}
{"actor":{"display_login":"jwfing"}}