diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-12-08 22:49:17 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-12-08 22:49:17 +0100 |
commit | 258092dd4ec39276567df4f990aa058180978c51 (patch) | |
tree | a87f5e42273e15d3ab64a53c16bd53f06ac15c60 /sonar-server/pom.xml | |
parent | a91e3a76c81fecae8ff628aba24a5c8050dd7828 (diff) | |
download | sonarqube-258092dd4ec39276567df4f990aa058180978c51.tar.gz sonarqube-258092dd4ec39276567df4f990aa058180978c51.zip |
First integration of Karma.js into Maven build (-Pjs)
Diffstat (limited to 'sonar-server/pom.xml')
-rw-r--r-- | sonar-server/pom.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index e05d4a24015..727c49e9c28 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -594,6 +594,32 @@ </plugins> </build> </profile> + + <profile> + <!-- experimental profile --> + <id>js</id> + <build> + <plugins> + <plugin> + <groupId>com.kelveden</groupId> + <artifactId>maven-karma-plugin</artifactId> + <version>1.5</version> + <configuration> + <configFile>${basedir}/karma.conf.js</configFile> + </configuration> + <executions> + <execution> + <id>karma</id> + <goals> + <goal>start</goal> + </goals> + <phase>process-test-classes</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> |