title: phantomjs-maven-plugin : error Could not find a suitable constructor
body: <p>I am trying to run the <strong>com.github.klieber.phantomjs-maven-plugin</strong> alone before trying to run it with <strong>com.github.searls.jasmine-maven-plugin</strong>.</p>
  
  <p>The final goal is to be able to run Javascripts tests in maven then in Jenkins.</p>
  
  <p>But I always have the same error : </p>
  
  <pre><code>    [ERROR] Failed to execute goal com.github.klieber:phantomjs-maven-plugin:0.7:install (default) on project my-jasmine-project: Execution default of goal com.gith
      ub.klieber:phantomjs-maven-plugin:0.7:install failed: Unable to load the mojo 'install' (or one of its required components) from the plugin 'com.github.klieber:
      phantomjs-maven-plugin:0.7': com.google.inject.ProvisionException: Guice provision errors:
      [ERROR]
      [ERROR] 1) 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.
      [ERROR] at com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo.class(Unknown
      Source)
      [ERROR] while locating com.github.klieber.phantomjs.mojo.InstallPhantomJsMojo
      [ERROR] at ClassRealm[plugin&gt;com.github.klieber:phantomjs-maven-plugin:0.7, parent: sun.misc.Launcher$AppClassLoader@f4a24a]
      [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=com.github.klieber:phantomjs-maven-plugin:0.7:install)
      [ERROR]
      [ERROR] 1 error
      [ERROR] role: org.apache.maven.plugin.Mojo
      [ERROR] roleHint: com.github.klieber:phantomjs-maven-plugin:0.7:install
  </code></pre>
  
  <p>I created a maven project with </p>
  
  <pre><code>    mvn archetype:generate  -DarchetypeGroupId=com.github.searls
      -DarchetypeArtifactId=jasmine-archetype
      -DarchetypeVersion=RELEASE
      -DjasminePluginVersion=2.1
      -DgroupId=com.acme
      -DartifactId=my-jasmine-project
      -Dversion=0.0.1-SNAPSHOT
  </code></pre>
  
  <p>and here is the pom where I try to only install Phantom JS</p>
  
  <pre><code>  &lt;build&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;com.github.klieber&lt;/groupId&gt;
          &lt;artifactId&gt;phantomjs-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;0.7&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;goals&gt;
                &lt;goal&gt;install&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;version&gt;1.9.7&lt;/version&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  </code></pre>
  
  <p><strong>Could you tell me what I am doing wrong ?</strong></p>
  
  <p>Thanks in advance,</p>