diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-01 16:26:35 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-01 16:26:46 +0100 |
commit | 312e3bd4cda4abfe595fd07202dbcf5817ba1410 (patch) | |
tree | 938dbae4ecd9a9c31b67671384aa421df2c55aa8 /server/sonar-web/pom.xml | |
parent | 8487959c0fb4806da3a1c3474e520378b4cc302c (diff) | |
download | sonarqube-312e3bd4cda4abfe595fd07202dbcf5817ba1410.tar.gz sonarqube-312e3bd4cda4abfe595fd07202dbcf5817ba1410.zip |
Disable execution of JS tests if -DskipTests
Diffstat (limited to 'server/sonar-web/pom.xml')
-rw-r--r-- | server/sonar-web/pom.xml | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml index 8f72108bf80..4cc8a62f8ad 100644 --- a/server/sonar-web/pom.xml +++ b/server/sonar-web/pom.xml @@ -12,7 +12,7 @@ <name>SonarQube :: Web</name> <properties> - <gruntTask>default</gruntTask> + <gruntTask>test build</gruntTask> <!-- self-analysis --> <sonar.sources>src/main/js</sonar.sources> @@ -188,33 +188,15 @@ <profiles> <profile> - <id>js-tests</id> + <id>skipJsTests</id> <activation> <property> - <name>skipWebTests</name> - <value>false</value> + <name>skipTests</name> </property> </activation> - <build> - <plugins> - <plugin> - <groupId>com.github.eirslett</groupId> - <artifactId>frontend-maven-plugin</artifactId> - <executions> - <execution> - <id>javascript tests</id> - <phase>test</phase> - <goals> - <goal>grunt</goal> - </goals> - <configuration> - <arguments>test</arguments> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <properties> + <gruntTask>build</gruntTask> + </properties> </profile> <profile> <id>release</id> |