title: How to integrate Jasmine with Maven
body: <p>I am trying to configure jasmine-maven-plugin.</p>
  
  <p>My project structure is as below:</p>
  
  <pre><code>Root
   | --Sub peoject-1 (Common)
   |    |--src
   |    |   |--main
   |    |   |   |--java
   |    |   |   |--resources
   |    |   |   |--webapp
   |    |   |     |--js
   |    |   |     |--&lt;Jquery library&gt; 
   |    |   |--test
   |    |       |--jasmine
   |    |         |--css
   |    |         |--js
   |    |             |--&lt;Jasmine library&gt;
   |    |             |--jasmineSpecRunner.js
   |    |--pom.xml
   |--Sub peoject-2 (JAR project)
   |    |--src
   |    |   |--main
   |    |   |   |--java
   |    |   |   |--resources
   |    |   |--test
   |    |       |--jasmine
   |    |       |--css
   |    |--pom.xml
   |--Sub peoject-3
   |    |--src
   |    |  |--main
   |    |  |    |--java
   |    |  |    |--resources
   |    |  |    |--webapp
   |    |  |         |--js
   |    |  |--test
   |    |      |--jasmine
   |    |           |--html
   |    |           |   |--moduleSpecificSpecRunner.html
   |    |           |--js
   |    |               |--moduleSpecificJasmineSpecification.js
   |    |--pom.xml
   |--pom.xml
  </code></pre>
  
  <p>I have kept all common JavaScript files inside the Common web project (i.e. jQuery library files, Jasmine library files etc.) along with the jasmineSpecRunner javascript (Jasmine engine).</p>
  
  <p>Inside the module specific specRunner javascript (moduleSpecificJasmineSpecification.js), I have included all common javascript files, module specific javascript source file and jasmineSpecRunner javascript (Jasmine engine).</p>
  
  <p>I wrote some jasmine test cases inside the test/jasmine folder and I am trying to configure jasmine-maven-plugin. Inside module specific pom file I have included the following tag:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;com.github.searls&lt;/groupId&gt;
      &lt;artifactId&gt;jasmine-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.3.1.1&lt;/version&gt;
      &lt;extensions&gt;true&lt;/extensions&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;goals&gt;
                  &lt;goal&gt;test&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;jsSrcDir&gt;${project.basedir}/src/main/webapp/js&lt;/jsSrcDir&gt;
          &lt;jsTestSrcDir&gt;${project.basedir}/src/test/jasmine/js&lt;/jsTestSrcDir&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>And inside the root pom file under  tag I have added following entry:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;com.github.searls&lt;/groupId&gt;
      &lt;artifactId&gt;jasmine-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.3.1.1&lt;/version&gt;
      &lt;extensions&gt;true&lt;/extensions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But after executing <code>mvn jasmine:bdd</code> command I am not able to view the jasmine test output in at the <code>http://localhost:8234</code> url.</p>
  
  <p>I think the configuration is not correct.</p>
  
  <p>Can anyone help me to configure the jasmine-maven-plugin for the above mentioned project structure?   Thanks!</p>