diff options
-rw-r--r-- | server/sonar-web/pom.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml index 857e044aa93..5203f26cf38 100644 --- a/server/sonar-web/pom.xml +++ b/server/sonar-web/pom.xml @@ -16,6 +16,7 @@ <sonar.sources>src/main/js,src/main/less</sonar.sources> <sonar.exclusions>src/main/js/libs/third-party/**/*,src/main/js/libs/require.js</sonar.exclusions> <sonar.javascript.lcov.reportPath>target/js-coverage/lcov.info</sonar.javascript.lcov.reportPath> + <grunt.arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</grunt.arguments> </properties> <build> @@ -130,7 +131,7 @@ <goal>grunt</goal> </goals> <configuration> - <arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</arguments> + <arguments>${grunt.arguments}</arguments> </configuration> </execution> </executions> @@ -201,6 +202,12 @@ </dependency> </dependencies> </profile> + <profile> + <id>dev</id> + <properties> + <grunt.arguments>maven-quick-build</grunt.arguments> + </properties> + </profile> </profiles> </project> |