{"action":"created","issue":{"url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/34","labels_url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/34/comments","events_url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/34/events","html_url":"https://github.com/klieber/phantomjs-maven-plugin/issues/34","id":81958013,"number":34,"title":"Error injecting: com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo","user":{"login":"krysalead","id":5586175,"avatar_url":"https://avatars.githubusercontent.com/u/5586175?v=3","gravatar_id":"","url":"https://api.github.com/users/krysalead","html_url":"https://github.com/krysalead","followers_url":"https://api.github.com/users/krysalead/followers","following_url":"https://api.github.com/users/krysalead/following{/other_user}","gists_url":"https://api.github.com/users/krysalead/gists{/gist_id}","starred_url":"https://api.github.com/users/krysalead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krysalead/subscriptions","organizations_url":"https://api.github.com/users/krysalead/orgs","repos_url":"https://api.github.com/users/krysalead/repos","events_url":"https://api.github.com/users/krysalead/events{/privacy}","received_events_url":"https://api.github.com/users/krysalead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-28T14:37:51Z","updated_at":"2015-06-05T20:21:24Z","closed_at":null,"body":"Hi,\r\n\r\nFirst of all, thanks for this plugin, it helps a lot !\r\nI am using the version 0.7 (same with 0.6) of your plugin, using \r\n\r\nApache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)\r\nMaven home: d:\\java\\apache-maven-3.0.4\r\nJava version: 1.6.0_26, vendor: Sun Microsystems Inc.\r\nJava home: d:\\java\\jdk1.6.0_26\\jre\r\nDefault locale: en_IE, platform encoding: Cp1252\r\nOS name: \"windows 7\", version: \"6.1\", arch: \"x86\", family: \"windows\"\r\n\r\nThe following exception is thrown.\r\n\r\n28-May-2015 16:30:19 org.sonatype.guice.bean.reflect.Logs$JULSink warn\r\nWARNING: Error injecting: com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo\r\ncom.google.inject.ConfigurationException: Guice configuration errors:\r\n\r\n1) Could not find a suitable constructor in com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.\r\n  at com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo.class(Unknown Source)\r\n  while locating com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo\r\n\r\n1 error\r\n        at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:991)\r\n        at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950)\r\n        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)\r\n        at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)\r\n        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)\r\n\r\nIf you need anything else to help"},"comment":{"url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/comments/109429321","html_url":"https://github.com/klieber/phantomjs-maven-plugin/issues/34#issuecomment-109429321","issue_url":"https://api.github.com/repos/klieber/phantomjs-maven-plugin/issues/34","id":109429321,"user":{"login":"jhovell","id":1376570,"avatar_url":"https://avatars.githubusercontent.com/u/1376570?v=3","gravatar_id":"","url":"https://api.github.com/users/jhovell","html_url":"https://github.com/jhovell","followers_url":"https://api.github.com/users/jhovell/followers","following_url":"https://api.github.com/users/jhovell/following{/other_user}","gists_url":"https://api.github.com/users/jhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/jhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhovell/subscriptions","organizations_url":"https://api.github.com/users/jhovell/orgs","repos_url":"https://api.github.com/users/jhovell/repos","events_url":"https://api.github.com/users/jhovell/events{/privacy}","received_events_url":"https://api.github.com/users/jhovell/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T20:21:24Z","updated_at":"2015-06-05T20:21:24Z","body":"From Linux (where I get the error)\r\nmvn --version\r\n\r\nApache Maven 3.0.4\r\nMaven home: /usr/share/maven\r\nJava version: 1.8.0_45, vendor: Oracle Corporation\r\nJava home: /usr/lib/jvm/java-8-oracle/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"linux\", version: \"3.2.0-77-virtual\", arch: \"amd64\", family: \"unix\"\r\n\r\nMaybe the problem is with maven 3.0.4 / 3.0.x? "}}