Created
November 26, 2010 14:18
-
-
Save dmt/716765 to your computer and use it in GitHub Desktop.
jasmine pom profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>jasmine</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>searls</groupId> | |
<artifactId>jasmine-maven-plugin</artifactId> | |
<version>1.0.1-TC-SNAPSHOT</version> | |
<!-- The following includes com.jquery:jquery in the generated | |
runner html page. This does require deploying jquery yourself, though --> | |
<extensions>true</extensions> | |
<dependencies> | |
<dependency> | |
<groupId>com.jquery</groupId> | |
<artifactId>jquery</artifactId> | |
<type>js</type> | |
<version>1.4.4</version> | |
</dependency> | |
</dependencies> | |
<executions> | |
<execution> | |
<goals> | |
<goal>generateManualRunner</goal> | |
<goal>resources</goal> | |
<goal>testResources</goal> | |
<goal>test</goal> | |
</goals> | |
<configuration> | |
<jsSrcDir>${project.basedir}/src/main/webapp/static</jsSrcDir> | |
<jsTestSrcDir>${project.basedir}/src/test/javascript/jasmine</jsTestSrcDir> | |
<include>*_spec.js</include> | |
<preloadSources> | |
<!-- some base lib --> | |
<source>js/TC.js</source> | |
</preloadSources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment