{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/33","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/33/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/33/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/issues/33","id":63011847,"number":33,"title":"mvn install fails with \"secret key not available\" ?","user":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/core","name":"core","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"aozarov","id":8921691,"avatar_url":"https://avatars.githubusercontent.com/u/8921691?v=3","gravatar_id":"","url":"https://api.github.com/users/aozarov","html_url":"https://github.com/aozarov","followers_url":"https://api.github.com/users/aozarov/followers","following_url":"https://api.github.com/users/aozarov/following{/other_user}","gists_url":"https://api.github.com/users/aozarov/gists{/gist_id}","starred_url":"https://api.github.com/users/aozarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aozarov/subscriptions","organizations_url":"https://api.github.com/users/aozarov/orgs","repos_url":"https://api.github.com/users/aozarov/repos","events_url":"https://api.github.com/users/aozarov/events{/privacy}","received_events_url":"https://api.github.com/users/aozarov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/milestones/3","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/milestones/Core%20Stable","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/milestones/3/labels","id":973597,"number":3,"title":"Core Stable","description":"","creator":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-02-10T13:07:33Z","updated_at":"2015-03-19T16:04:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-19T15:12:38Z","updated_at":"2015-03-19T16:09:58Z","closed_at":null,"body":"What I did:\r\n\r\n```bash\r\n$ sudo apt-get install mvn2\r\n$ git clone https://github.com/GoogleCloudPlatform/gcloud-java.git\r\n$ cd gcloud-java\r\n$ mvn install\r\n```\r\n\r\nError I got:\r\n\r\n```bash\r\n[INFO] Building jar: /usr/local/google/home/jjg/gcdjavasample/gcloud-java/target/gcloud-java-0.0.3-javadoc.jar\r\n[INFO] [failsafe:integration-test {execution: default}]\r\n[INFO] [failsafe:verify {execution: default}]\r\n[INFO] Failsafe report directory: /usr/local/google/home/jjg/gcdjavasample/gcloud-java/target/failsafe-reports\r\n[INFO] [gpg:sign {execution: sign-artifacts}]\r\ngpg: no default secret key: secret key not available\r\ngpg: signing failed: secret key not available\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] BUILD ERROR\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Exit code: 2\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Trace\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Exit code: 2\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:362)\r\n\tat org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)\r\n\tat org.codehaus.classworlds.Launcher.launch(Launcher.java:255)\r\n\tat org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)\r\n\tat org.codehaus.classworlds.Launcher.main(Launcher.java:375)\r\nCaused by: org.apache.maven.plugin.MojoExecutionException: Exit code: 2\r\n\tat org.apache.maven.plugin.gpg.GpgSigner.generateSignatureForFile(GpgSigner.java:168)\r\n\tat org.apache.maven.plugin.gpg.AbstractGpgSigner.generateSignatureForArtifact(AbstractGpgSigner.java:205)\r\n\tat org.apache.maven.plugin.gpg.GpgSignAttachedMojo.execute(GpgSignAttachedMojo.java:140)\r\n\tat org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)\r\n\tat org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)\r\n\t... 17 more\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 39 seconds\r\n[INFO] Finished at: Thu Mar 19 11:10:53 EDT 2015\r\n[INFO] Final Memory: 75M/1366M\r\n[INFO] ------------------------------------------------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments/83645663","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/issues/33#issuecomment-83645663","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/33","id":83645663,"user":{"login":"aozarov","id":8921691,"avatar_url":"https://avatars.githubusercontent.com/u/8921691?v=3","gravatar_id":"","url":"https://api.github.com/users/aozarov","html_url":"https://github.com/aozarov","followers_url":"https://api.github.com/users/aozarov/followers","following_url":"https://api.github.com/users/aozarov/following{/other_user}","gists_url":"https://api.github.com/users/aozarov/gists{/gist_id}","starred_url":"https://api.github.com/users/aozarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aozarov/subscriptions","organizations_url":"https://api.github.com/users/aozarov/orgs","repos_url":"https://api.github.com/users/aozarov/repos","events_url":"https://api.github.com/users/aozarov/events{/privacy}","received_events_url":"https://api.github.com/users/aozarov/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T16:09:58Z","updated_at":"2015-03-19T16:09:58Z","body":"signing was needed for deploy and I, wrongly, assumed no one should bother\nwith mvn install (which could have been made to pass with the addition\n-Dpgp.skip-true).\nI moved the signing to the deploy phase and now install does not try sign\nthe artifact.\n\nArie | Ozarov | ozarov@google.com | 415-624-6429\n\n\nOn Thu, Mar 19, 2015 at 8:12 AM, JJ Geewax <notifications@github.com> wrote:\n\n> Assigned #33\n> <https://github.com/GoogleCloudPlatform/gcloud-java/issues/33> to @aozarov\n> <https://github.com/aozarov>.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GoogleCloudPlatform/gcloud-java/issues/33#event-259480824>\n> .\n>\n"}}